2021-06-25, 11:03 PM
Hi,
I am testing to control a motor controller which i got from the pypilot site. I think I am quite a noob on this one. Currently, I am using a USB connection to connect to arduino and I want to move using serial pins for the connection. I still dont know how to do this.. so that is my first question. I am aware that i probably should connect the Arduino to the raspberry in the following way:
Arduino Nano <-> Rasberry
Pin Pin
D1 (TXD) 10 RXD GPIO15
D0 (RXD) 8 TXD GPIO14
GND GND (doesn't really matter where)
Vin (2 or 4) 5v
So now the question is it correct... can someone confirm? I will try in the future but for now the USB connection is good for testing as I am still trying to get other components to work. Which brings me to the second and main question.
How do I connect the arduino nano to the motor controller provided by sean. I see there are some nice TX RX VCC and GND port. I tried connecting the to the TXD, RXD, GND, 5v on the nano (with no success of course). Reading through the motor.ino it is clear that the analog ports should be grounded as long as they are not used (i get that) and some descriptions on how to connect to H-bridged etc. I see the digital ports are described, but for me, it is still unclear how there should be connected to the TX and RX on the motor controller.
I know the solution is probably basic but for me it is learning as I go. Thanks for the effort.
Kind regards to all
I am testing to control a motor controller which i got from the pypilot site. I think I am quite a noob on this one. Currently, I am using a USB connection to connect to arduino and I want to move using serial pins for the connection. I still dont know how to do this.. so that is my first question. I am aware that i probably should connect the Arduino to the raspberry in the following way:
Arduino Nano <-> Rasberry
Pin Pin
D1 (TXD) 10 RXD GPIO15
D0 (RXD) 8 TXD GPIO14
GND GND (doesn't really matter where)
Vin (2 or 4) 5v
So now the question is it correct... can someone confirm? I will try in the future but for now the USB connection is good for testing as I am still trying to get other components to work. Which brings me to the second and main question.
How do I connect the arduino nano to the motor controller provided by sean. I see there are some nice TX RX VCC and GND port. I tried connecting the to the TXD, RXD, GND, 5v on the nano (with no success of course). Reading through the motor.ino it is clear that the analog ports should be grounded as long as they are not used (i get that) and some descriptions on how to connect to H-bridged etc. I see the digital ports are described, but for me, it is still unclear how there should be connected to the TX and RX on the motor controller.
I know the solution is probably basic but for me it is learning as I go. Thanks for the effort.
Kind regards to all