samedi 9 février 2013

Controlling the ESC: Arduino and potentiometer


Regarding the main motor control, I have to control the ESC. This one can be controlled as a servo, this the servo.h library.
Note that the ESC needs to be initialized. The boot sequence depends of the ESC brand and model. In my case, I need to send the value 100 during 1 second.
Also, as the ESC is already powered by the battery, I wont use the 5v pin of the Arduino.


Therefore we can use the same code.

Assembly:



Video:



Aucun commentaire:

Enregistrer un commentaire