Assign fixed port name to a USB device

For example, to always refer to the same USB to serial adapter by the same port name, when you have more than one connected. This guide is based on the excellent guide here. 1 – Get a list of your USB devices Example result: 2 – Get specific attributes for the device For our example […]

Read More

UART commands and config

List serial ports GPIO serial port is /dev/ttyAMA0 USB when added usually has a USB in its name, e.g. /dev/ttyUSB0 List just USB serial ports List all ports Assigning a fixed name to a USB serial port https://www.freva.com/assign-fixed-usb-port-names-to-your-raspberry-pi/

Read More

Using the UART

If you are running Raspbian or similar then the UART will be used as a serial console.  Using a suitable cable, such as the TTL-232R-3V3-WE, you can connect it to your PC and using some simple terminal software set to 115200-8-N-1 use the command line interface to the Raspberry Pi in the same way as if you […]

Read More