Raspberry Pi Serial TroubleShooting
From Protoneer - Wiki
Revision as of 14:18, 22 November 2016 by F5dta
Pin 8 is TX Pin 10 is RX
- Checking that hardware serial pins are working on a Raspberry Pi.
- 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 serila port /dev/ttyAMA0
- Test it by typing. All input should be echoed 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.