#pic16f1705
Explore tagged Tumblr posts
tymkrs · 11 years ago
Text
The Turn Me Kit + PIC16f1705
Today we'll be showing a demo video of a project our friend @wireengineer put together with a PIC16f1705 and the Turn Me Kit.  The kit is a quadrature encoder with pulldown resistors and allows you to use one with only 5 wires: + / - / Switch / A / B
So we've done an example with the Propeller before: http://tymkrs.tumblr.com/post/52528466585/tymkrs-turn-me-rotary-encoder-breakout-kit
But we wanted to show it working with a PIC, and Peter suggested we show a servo reacting to the encoder being turned.  And sure enough, the following information does just that.  When you turn the encoder left, the servo turns left until it ends.  When you turn the encoder right, the servo turns right until it ends.  And when you push the switch on the encoder down, it centers from whereever it is.
Video: https://www.youtube.com/watch?v=5soQlJ73UNU
Code: 
http://tymkrs.com/code/enc2servo.zip
Addie Style Schematic: 
Tumblr media
 Enjoy!
@atdiy/@tymkrs
0 notes