The Rotary Encoder Bricklet extends Bricks and is equipped with a 360° rotary encoder. It has 24 steps per rotation with a nice clicking feel. The encoder has an integrated push-button (by pressing on the knob) that can be used to select a menu item or similar.
The difference between the Rotary Poti Bricklet and the Rotary Encoder Bricklet is that the encoder has full rotation without limits.
|Number of Steps per Rotation||24 (step angle 15°)|
|Maximum Number of Steps detectable||up to 250 steps / second|
|Button Operating Force||200gf|
|Button Travel Distance||0.5mm|
|Dimensions (W x D x H)||30 x 25 x 23mm (1.18 x 0.98 x 0.9")*|
* without knob
To test a Rotary Encoder Bricklet you need to have Brick Daemon and Brick Viewer installed. Brick Daemon acts as a proxy between the USB interface of the Bricks and the API bindings. Brick Viewer connects to Brick Daemon. It helps to figure out basic information about the connected Bricks and Bricklets and allows to test them.
Connect the Rotary Encoder Bricklet to a Brick with a Bricklet Cable.
If you connect the Brick to the PC over USB, you should see a new tab named "Rotary Encoder Bricklet" in the Brick Viewer after a moment. Select this tab. If everything went as expected you can now turn the encoder and see the corresponding count.
After this test you can go on with writing your own application. See the Programming Interface section for the API of the Rotary Encoder Bricklet and examples in different programming languages.
A laser-cut case for the Rotary Encoder Bricklet is available.
The assembly is easiest if you follow the following steps:
Below you can see an exploded assembly drawing of the Rotary Encoder Bricklet case:
Hint: There is a protective film on both sides of the plates, you have to remove it before assembly.
See Programming Interface for a detailed description.
|Visual Basic .NET||API||Examples||Installation|