OpenMarine

Full Version: [RESOLVED] tty on GPIO with RPi2
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
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
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/documentatio...on/uart.md
(2017-12-04, 06:39 PM)abarrow Wrote: [ -> ]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/documentatio...on/uart.md
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
Shy
Thanks to https://raspberrypi.stackexchange.com/qu...ian-jessie