(2020-04-25, 11:08 AM)jamos.tan@gmail.com Wrote: I am not yet sure if this is possible, but I was wondering if I can remove the USB cable and go for a more solid connection between the pi and the arduino.
So, my question is, will the motor.ino and pypilot still work when connecting them both through txd / rxd pins? Or does it only work with USB.
I've tried it before, and have set the serial port accordingly in op, but it didn't work then. Tried looking for documentation and see that UART is mentioned, but usually I see that most people use the USB connection.
Looking for some confirmation of some working examples without USB.
Thanks in advance.
I have Tynipilot runnig without usb .... an arduino mini pro ... rx tx and common ground to the pi zero.
RX of the Pi goes direct to TX of te arduino and vice versa.
Take care that this only is ok if your arduino mini pro is 3.3 v if you use the 5v o e you might need an power diverter like explained from IRONMAN further down
Greetings
Andreas