Interface for the encoder of the red fischertechnik motors

Dependencies:   NeedfulThings

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.

History

Added NeedfulThings lib dependency (hopefully) default tip

2013-03-25, by humlet [Mon, 25 Mar 2013 21:47:38 +0000] rev 3

Added NeedfulThings lib dependency (hopefully)


introduction of NeedfulThings lib

2013-03-25, by humlet [Mon, 25 Mar 2013 21:08:56 +0000] rev 2

introduction of NeedfulThings lib


works as expected ... hopefully

2013-03-20, by humlet [Wed, 20 Mar 2013 21:42:39 +0000] rev 1

works as expected ... hopefully


initial;

2013-03-14, by humlet [Thu, 14 Mar 2013 18:27:24 +0000] rev 0

initial;