embedded:adventures:rcservo
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
embedded:adventures:rcservo [2016/09/25 13:49] – [mBed RC Servomotor Control] pvela | embedded:adventures:rcservo [2024/08/20 21:38] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 4: | Line 4: | ||
Most of the modern embedded controller programming IDEs now have a library for performing this task. That makes it super easy to control servo-motors, | Most of the modern embedded controller programming IDEs now have a library for performing this task. That makes it super easy to control servo-motors, | ||
+ | |||
+ | Part of getting these servo-motors to work involves calibration. Even though they can be commanded, the problem is that each microcontroller and programming interface has its own numerical range for the command specification. | ||
+ | |||
==== Arduino RC Servomotor Control ==== | ==== Arduino RC Servomotor Control ==== | ||
Line 17: | Line 20: | ||
Controlling a servo via the mBed requires you to | Controlling a servo via the mBed requires you to | ||
* Write code like that shown below to control it via internal and/or external input - see below for example code | * Write code like that shown below to control it via internal and/or external input - see below for example code | ||
- | * Use an optoisolator chip to eliminate signal problems due to the differences in the voltage level from the mBed (3.3V) and the power supply (likely around 5.0V) - see the [embedded: | + | * Use an optoisolator chip to eliminate signal problems due to the differences in the voltage level from the mBed (3.3V) and the power supply (likely around 5.0V) - see the [[embedded: |
{{: | {{: |
embedded/adventures/rcservo.1474825776.txt.gz · Last modified: 2024/08/20 21:38 (external edit)