Note
The Hall Effect Bricklet is discontinued. We are selling our remaining stock. The Hall Effect Bricklet 2.0 is the recommended replacement.
The Hall Effect Bricklet extends Bricks and can detect the presence of magnetic fields. It counts the (dis-)appearances of magnetic fields and can for example be used to measure the speed of a wheel with attached magnet with up to 13Hz.
Example applications are:
Property | Value |
---|---|
Sensor | AH180N |
Current Consumption | 1mA |
Operation | Omnipolar (North and South pole is detected) |
Trigger Point | -35/35 Gauss |
Release Point | -25/25 Gauss |
Sampling Rate | 8Hz |
Dimensions (W x D x H) | 25 x 15 x 5mm (0.98 x 0.59 x 0.19") |
Weight | 2g |
To test a Hall Effect 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 Hall Effect 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 "Hall Effect Bricklet" in the Brick Viewer after a moment. Select this tab. If everything went as expected you can now see the detection of a magnetic field. A magnet can be used to test the Bricklet by moving it near the Bricklet.
After this test you can go on with writing your own application. See the Programming Interface section for the API of the Hall Effect Bricklet and examples in different programming languages.
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 |