This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
|
oak:tutorials:servo [2016/04/10 17:51] sir_buckyball created |
oak:tutorials:servo [2016/04/10 18:12] (current) sir_buckyball adding picture of the build |
||
|---|---|---|---|
| Line 8: | Line 8: | ||
| The San Francisco public transit system ([[https://www.sfmta.com/|MUNI]]) makes realtime prediction data available through [[http://www.nextbus.com/|NextBus]]. For this example, we will mount a small servo with an arrow connected to it in a box, making a prediction display suitable for the home. | The San Francisco public transit system ([[https://www.sfmta.com/|MUNI]]) makes realtime prediction data available through [[http://www.nextbus.com/|NextBus]]. For this example, we will mount a small servo with an arrow connected to it in a box, making a prediction display suitable for the home. | ||
| - | **TODO:** add pic of device | + | {{:oak:tutorials:oak_servo_build.jpg|}} |
| === Components === | === Components === | ||
| Line 25: | Line 24: | ||
| Oak P5 -> servo white | Oak P5 -> servo white | ||
| - | **TODO:** Add pic of wiring | + | {{:oak:tutorials:oak_servo_wiring.png|}} |
| NOTE: I chose to use a servo small enough to be safely powered by the 3.3v provided by the Oak. If you need a larger servo, you will need a few more components (like an [[https://en.wikipedia.org/wiki/Opto-isolator|optoisolator]] or a [[https://www.sparkfun.com/products/12009|logic-level converter]]) to allow the 3.3v Oak to control a servo which requires higher voltage. | NOTE: I chose to use a servo small enough to be safely powered by the 3.3v provided by the Oak. If you need a larger servo, you will need a few more components (like an [[https://en.wikipedia.org/wiki/Opto-isolator|optoisolator]] or a [[https://www.sparkfun.com/products/12009|logic-level converter]]) to allow the 3.3v Oak to control a servo which requires higher voltage. | ||