2020-01-12, 03:58 AM
(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.