Interface for the encoder of the red fischertechnik motors
Simple Interface for the simple encoder of the red fischertechnik motors.
The interface counts both, rising and falling edges, resulting in 150 counts per revolution. The interface also provides a speed measurement updated with each edge.
Connect the green wire to GND, the red one to +3.3V and the black signal line to any of mbed numbered pins. Additionally connect the signal line via a pullup resitor to +3.3V. A 10K resistor works fine.
Revision 3:3944952c9eab, committed 2013-03-25
- Comitter:
- humlet
- Date:
- Mon Mar 25 21:47:38 2013 +0000
- Parent:
- 2:1bf9f7b6bf29
- Commit message:
- Added NeedfulThings lib dependency (hopefully)
Changed in this revision
NeedfulThings.lib | Show annotated file Show diff for this revision Revisions of this file |
diff -r 1bf9f7b6bf29 -r 3944952c9eab NeedfulThings.lib --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/NeedfulThings.lib Mon Mar 25 21:47:38 2013 +0000 @@ -0,0 +1,1 @@ +http://mbed.org/users/humlet/code/NeedfulThings/#d8249ea0b39e