2021-02-24, 09:02 AM
(2021-02-23, 06:44 PM)xfactor99 Wrote:(2021-02-23, 04:48 PM)richarddaneel Wrote: Hi Andreas and CapnKernel
OK, thanks. I have loaded motor.ino and find the following. When I power up the RPi with no nano all works fine but get error message no controller detected. When I plug in (USB) the nano I get the following error... over current, bad voltage, fault. Any ideas
Cheers
Richard
I might be a bit naive but somewhere Sean said the motor controller can be connected directly to the TX and RX pins (or, via USB). Does this mean I can connect my motor controller (pololu jrk g2 21v3 and in picture) directly to RX/TX or do I still need to go via arduino nano as TinyPilot keeps saying no motor controller detected?
Many thanks
Richard
Hi Richard,
I use a Pololu (1367) G2 24V19 to drive my autopilot with the Tinypilot.:
I reported in this thread:
https://forum.openmarine.net/showthread.php?tid=1734.
So to awnser your question short:
I still use the nano.
The file motor.ino for the nano ist compiled/uploded with the option PWM-Style=RC
The connection btw. nano and pololu is two wires nano Pin 9 (RC-PWM) to Pololu RC
and Nano GND to Pololu GND.
I don´t remember well if you need to set up the pololu with the software it comes with it.
Maybe you shoud first connect power and motor to the pololu and move it with the software
This should basicly work. If you want you can attach end limit switches (verry recomendet) and volt, current sensors .....
Save sailing
Andreas