OpenMarine
no motor controller. but blinking - 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: no motor controller. but blinking (/showthread.php?tid=4947)



no motor controller. but blinking - gildas declercq - 2023-10-16

Hi all

on rpi 4. with pypilot hat and motor controller from Sean.

I already a couple of install, but I may have miss something on this one

after reading posts. 
this is what I see after running pypilot_servo
       

on the motor controller, a red led is fixed, and close to it a green led is blinking rapidly, then stop, and again.

on http://openplotter.local:8000/
I have "no motor controller" .

any idea on what and where to look for ??

thanks a lot
Gildas


RE: no motor controller. but blinking - seandepagnier - 2023-10-16

maybe the pi can talk to the motor controller but the controller is not talking back?

there are usually 4 leds on the controller, power, tx, rx, and L the actual colors may vary but are usually red, green, yellow, blue

can you determine of both tx and rx flash or only the rx?


did you ever get this hardware working before?


RE: no motor controller. but blinking - gildas declercq - 2023-11-19

Hi Sean

sorry for my (very) late reply, I may have miss the notification.

error was due to incompatibility with other hat.

I decided to go with one RPI for autopilot, just 1 GPS mouse on USB connected so the pylot can work on its own.

another pi is used to connect to seatalk NG and other stuff.

tx

" 4 leds on the controller, power, tx, rx, and L "

what is "L" ?

thank you


RE: no motor controller. but blinking - Chookfoot - 2024-06-27

seandepagniermaybe the pi can talk to the motor controller but the controller is not talking back?

there are usually 4 leds on the controller,  power, tx, rx, and L  the actual colors may vary but are usually red, green, yellow, blue

can you determine of both tx and rx flash or only the rx?


did you ever get this hardware working before?

Hi Sean,
I'm trying to get the Pypilot controller that I bought to work with RPi5 and OP4.
I have managed to get the controller connected to openplotter using UART1 GPIO0 and GPIO1.
They seem to be talking because the leds are illuminating as follows:-

Red led on (power)
the next 2 Leds blinking (when AP is engaged they blink faster when I move the IMU)
the 4th led comes on when AP is engaged.

Motor is not moving and I am not getting any voltage from the motor connection like I was when using RPi4 and OP3.
Motor is fine when connected directly to 12VDC.
Any ideas?
Thanks.


RE: no motor controller. but blinking - seandepagnier - 2024-06-27

Did it work before with the same motor controller??


RE: no motor controller. but blinking - Chookfoot - 2024-06-28

(2024-06-27, 05:57 PM)seandepagnier Wrote: Did it work before with the same motor controller??

Yes, it was working on RPi4 OP3


RE: no motor controller. but blinking - Chookfoot - 2024-06-28

OK.. So I just reassembled a Pi4 with OP3 and in the process I found a bad wire going to the motor...
Sorry for my stupidity.
I'll re assemble Pi5 OP4 and expect it to all be OK. Edit: After fixing the connection it seems to be working with Pi5 OP4.
Thanks for your patience with me/us.
Appreciated!


RE: no motor controller. but blinking - seandepagnier - 2024-06-30

no problem! I am glad you found it.