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
update motor controller
#2
(2020-01-11, 05:19 PM)ddelorme Wrote: I have a motor controller i bought from you a couple of years ago.
I would like to update it ?
should I?
What is the best way from the current code on your git?

You might not need to update the controller if everything is working. Do you have the old style (more than a year ago) which has an ESC, or the newer one with dedicated mofsets?

You can upload via usb if the controller is not powered. You could also upload via the isolated controller like and hit the reset button on the arduino right when uploading, or apply power right when uploading. I typically type "make upload" from the pypilot/arduino/motor directory, you might need to change the avrdude command to a different port.


Quote:Also I am trying to connect a 10K potentiometer to act as a rudder sensor.

On the circuit board I see 3 pads 1 square I assume is +5V and 2 that are boxed in the silkscreen. How do i connect this to a potentiometer? please don't say "with wires;/"

Thanks

The potentiometer can connect to these 3 pins, the center one is the center tap of the potentiometer. calibrating the rudder feedback will sort out the polarity.
Reply


Messages In This Thread
update motor controller - by ddelorme - 2020-01-11, 05:19 PM
RE: update motor controller - by seandepagnier - 2020-01-12, 03:58 AM
RE: update motor controller - by ddelorme - 2020-01-12, 01:29 PM
RE: update motor controller - by ddelorme - 2020-01-12, 08:24 PM
RE: update motor controller - by seandepagnier - 2020-01-13, 02:36 AM
RE: update motor controller - by ddelorme - 2020-01-13, 02:15 PM
RE: update motor controller - by seandepagnier - 2020-01-13, 04:54 PM
RE: update motor controller - by ddelorme - 2020-01-14, 11:37 AM
RE: update motor controller - by seandepagnier - 2020-01-14, 11:50 PM
RE: update motor controller - by ddelorme - 2020-01-15, 03:53 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)