Note
The Rotary Poti Bricklet is discontinued. We are selling our remaining stock. The Rotary Poti Bricklet 2.0 is the recommended replacement.
The Rotary Poti Bricklet is equipped with a 1-turn rotary potentiometer. It can be connected to a Brick, with which the position of the slider can be read out. With configurable events it is possible to react on changing positions without polling.
You can use this Bricklet for speed, volume control or similar purposes.
Property | Value |
---|---|
Rotary Potentiometer | 1-turn, 300° |
Current Consumption | 1mA |
Position | -150° to 150° (left to right) in 1° steps |
Dimensions (W x D x H) | 30 x 25 x 23mm (1.18 x 0.98 x 0.9")* |
Weight | 5g* |
* without knob
To test a Rotary Poti 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 Poti Bricklet to a Brick with a Bricklet Cable (see picture below).
If you connect the Brick to the PC over USB, you should see a new tab named "Rotary Poti Bricklet" in the Brick Viewer after a moment. Select this tab. If everything went as expected the Brick Viewer should look as depicted below.
Turn the potentiometer. You should be able to create a similar graph by turning the potentiometer from left left to right and back to left.
After this test you can go on with writing your own application. See the Programming Interface section for the API of the Rotary Poti Bricklet and examples in different programming languages.
A laser-cut case for the Rotary Poti Bricklet is available.
The assembly is easiest if you follow the following steps:
Below you can see an exploded assembly drawing of the Rotary Poti 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.
Language | API | Examples | Installation |
---|---|---|---|
C/C++ | API | Examples | Installation |
C# | API | Examples | Installation |
Delphi/Lazarus | API | Examples | Installation |
Go | API | Examples | Installation |
Java | API | Examples | Installation |
JavaScript | API | Examples | Installation |
LabVIEW | API | Examples | Installation |
Mathematica | API | Examples | Installation |
MATLAB/Octave | API | Examples | Installation |
MQTT | API | Examples | Installation |
openHAB | API | Examples | Installation |
Perl | API | Examples | Installation |
PHP | API | Examples | Installation |
Python | API | Examples | Installation |
Ruby | API | Examples | Installation |
Rust | API | Examples | Installation |
Shell | API | Examples | Installation |
Visual Basic .NET | API | Examples | Installation |
TCP/IP | API | ||
Modbus | API |