(2020-11-30, 05:31 PM)ironman Wrote: Ok, as promised, I checked my claim wrt tying the pi's output directly to a nmea input. Also a little demo of the "route position bearing".
Note that I had to run opencpn as root to get access to the uart at /dev/ttyAMA0. Interested to hear how to run it as an unprivileged user.
https://youtu.be/5TtgoWs6RhU
Holy smoke it worked!!!!!!!!!!!!! You are so cool Ironman! But I’m so confused what about the inverse logic signal you were talking about?
I’ll implement this using my ESP32 on 3.3v and tx like you did. I’ll set it to pick up udp packages and print them on serial - this is amazing and I already have power there that I can use. I’ll implement OTA as well so I can make so later filtering on the esp32 if I need to optimize the routing. Any idea what baud rate the raymarine reads? Probably 9600..
Any risk of blowing the Pi or esp32?
Br, Peter
PS: many thanks for showing me the autopilot route plug-in - that will be essential for making this work well.