Raspberry Pi Serial TroubleShooting
From Protoneer - Wiki
Revision as of 13:22, 22 November 2016 by F5dta
Pin 8 is TX Pin 10 is RX
- Checking that hardware serial pins are working and mapped to the correct device name.
- Connect a jumper between Pin 8 and 10 creating a loop-back.(Basically we are connecting the serial output pin to the serial input pin)
- Open a terminal Program like Minicom connecting to serial port.
- Test it by typing. All input should be echoed(returned) back if it is working correctly.
- Things to consider
- Raspberry Pi B+ Version 1 or 2 is default setup to use /dev/ttyAMA0
- Raspberry Pi 3's is a bit harder to check as /dev/ttyAMA0 is now connected to the Bluetooth device and the serial port is setup for /dev/ttyS0. They have also introduced new alias /dev/serial0 to simplify future changes. There are also ways to make the RPi 3 act like the other Pi's making it harder to determiner serial configurations.