Andino X1 Manual - Página 11

Procurar online ou descarregar pdf Manual para Microcontroladores Andino X1. Andino X1 15 páginas. Raspberry pi extension with integrated signal preprocessing

HowTo Setup Raspberry Pi to communicate with the Ardino

Description based on
Raspbian Stretch Lite
Minimal image based on Debian Stretch
Version: November 2018
Release date: 2018-11-13
Kernel version: 4.14
1.)
Enable UART as /dev/ttyAMA0 and /dev/serial0
sudo nano /boot/config.txt
..add this at the end of the file..
# RASPI 3 UART
enable_uart=1
# Allow the normal UART pins to work
dtoverlay=pi3-disable-bt-overlay
dtoverlay=pi3-miniuart-bt
2.)
Disable Console on serial0
sudo nano /boot/cmdline.txt
Remove "console=..."
dwc_otg.lpm_enable=0 console=serial0,115200 console=tty1 root=/dev/mmcblk0p2 rootfstype=ext4 .....
3.)
Reboot and test
sudo apt-get install minicom
sudo minicom -s
+-------------------------------------------------------------------------+
| A - Serial Device : /dev/ttyAMA0
| B - Lockfile Location : /var/lock
| C - Callin Program :
| D - Callout Program :
| E - Bps/Par/Bits : 38400 8N1
| F - Hardware Flow Control : No
| G - Software Flow Control : No
|
| Change which setting?
+--------------------------------------------------------------------------+
| Screen and keyboard
| Save setup as dfl
| Save setup as..
| Exit
| Exit from Minicom
+--------------------------------------------------------------------------+
et Hardware Flow to No, set Device to /dev/ttyAMA0, set BPS to 38400
S
Clear Systems GmbH • Schweinthal 25 • 91349 Egloffstein • Tel. (09197) 23 53 23 5 •
Stand: 07.01.2019
|
|
|
|
|
|
|
|
|
|
|
|
|
|
www.andino.systems
•Seite: 11/15