Repository navigation
PWM
Mark Sherstan edited this page Dec 20, 2019
·
2 revisions
Pulse Width Modulation or PWM is a common digital control technique.
UAV's or "Drones" use multiple motors which are controlled by Electronic Speed Controllers (ESC's). To ensure that all ESC's are calibrated to the same range of signals a calibration is required. This can easily be achieved with the written script. Open the .ino and read the pinout and modify the min and maximum range as specified in your ESC data sheet (typically 1000 and 2000 respectively.).
It is important to note the following:
- The ESC's and Arduino must all share a common ground (the ESC's cannot be powered by the Arduino).
- DISCONNECT YOUR PROPELLERS BEFORE CALIBRATING!
To find the endpoints and PWM range of a servo simply attach a servo and write values to the serial port. It is recommended to power the servos with a secondary power source with a shared ground to the Arduino.