[RESOLVED] tty on GPIO with RPi2 - Printable Version +- OpenMarine (https://forum.openmarine.net) +-- Forum: OpenPlotter (https://forum.openmarine.net/forumdisplay.php?fid=1) +--- Forum: How do I...? (https://forum.openmarine.net/forumdisplay.php?fid=3) +--- Thread: [RESOLVED] tty on GPIO with RPi2 (/showthread.php?tid=889) |
[RESOLVED] tty on GPIO with RPi2 - bmayer - 2017-12-04 Hello Apologize me for my poor english. i use an tty-usb adaptator cutecom are installed, and can receive datas sended by an other computer. i try to made same, but with tty on GPIO (with an rs232-ttl adaptator) but minicom send me a error message : cant open. how to for use this device ? And, after, use this device for openplotter ? i have gps and instruments on 1 DB9 plugĀ :-) Thanks by advance Bernard Mayer RE: tty on GPIO with RPi2 - abarrow - 2017-12-04 I assume you are using the Raspberry Pi UARTS on GPIO 14 and GPIO 15? If you are using a RPI3, you need to first disable the Bluetooth connection, as it uses the RPI UART. You might be better off using a USB-DB9 converter. There is a good description of RPI UARTS here: https://www.raspberrypi.org/documentation/configuration/uart.md RE: tty on GPIO with RPi2 - bmayer - 2017-12-04 (2017-12-04, 06:39 PM)abarrow Wrote: I assume you are using the Raspberry Pi UARTS on GPIO 14 and GPIO 15?pins 8 and 10 (physical) , pins 15 and 16 (wPi), pins 14 and 15 (BCM) i see that by $ gpio detectall it's RPi 2 i like simple things, like my boat :-D :-) thanks abarrow ! i try all yesterday long, and, after a good nigth, (and a good job day), i have the solution. Raspbian start using this tty for his own console. its mandatory to modiffy /boot/cmdline.txt (caution, this file are made in 1 line) to suppress "console=serial0.115200" from this line Thanks to https://raspberrypi.stackexchange.com/questions/47671/why-my-program-wont-communicate-through-ttyama0-on-raspbian-jessie |