OpenMarine
[SOLVED] Can't "Engaged" Arduino - Printable Version

+- OpenMarine (https://forum.openmarine.net)
+-- Forum: Pypilot (https://forum.openmarine.net/forumdisplay.php?fid=17)
+--- Forum: General discussion (https://forum.openmarine.net/forumdisplay.php?fid=18)
+--- Thread: [SOLVED] Can't "Engaged" Arduino (/showthread.php?tid=3747)

Pages: 1 2


RE: Can't "Engaged" Arduino - faak - 2021-11-03

(2021-11-03, 08:30 AM)ironman Wrote: Can't download the image yet, but I sent you an access request.

"Request Sent. You'll get an email letting you know if the file is shared with you"

Request accepted. Thank you


RE: Can't "Engaged" Arduino - ironman - 2021-11-03

Ok! Got it.

First, and this is for everyone useful to know, with your image the RX led on the arduino was constantly ON. That denotes a fault in /boot/config.txt. I compared it to mine, changed one line, then rebooted:

   #dtoverlay=gpio-fan,gpiopin=14,temp=80000
   enable_uart=1
   dtoverlay=disable-bt

The RX led was now OFF. (Note: GPIO14 = the TX signal, to which the arduino's RX is connected; if you want to use the gpio-fan overlay you'd need to use another pin)

Then, in the log I could not see a line saying servo probe, so I removed an empty file .pypilot/serial. And now it works; lights are blinking:

   servo probe ('/dev/ttyAMA0', 38400) 156.022047648
   arduino servo found ['/dev/ttyAMA0', 38400]

Note, that I ran pypilot at the prompt. This is the best way to get useful feedback.

Let me know if this works on your end as well.

Cheers,

-


RE: Can't "Engaged" Arduino - ironman - 2021-11-03

PS the overlay name pi3-disable-bt appears to have been renamed to disable-bt, but is still available for backward compatibility. They both work on my pi4. I made a few edits to the previous post to prevent ambiguity in the future.


RE: Can't "Engaged" Arduino - faak - 2021-11-03

Thank you very much!

I have followed your instructions and obtained the same results.

It is working fine. Great job!

Thanks a lot a both of you.

Cheers

Franco