This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Motorcontroller and arduino
#1
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
Reply


Messages In This Thread
Motorcontroller and arduino - by SailingRiver - 2021-06-25, 11:03 PM
RE: Motorcontroller and arduino - by SailingRiver - 2021-06-26, 03:08 AM
RE: Motorcontroller and arduino - by SailingRiver - 2021-06-27, 12:33 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)