With configurable events it is possible to react on changing distances without polling. Typical applications can be found in robotics, usage as light barrier alternative and so on.
The Distance US Bricklet 2.0 has a 7 pole Bricklet connector and is connected to a Brick with a 7p-10p Bricklet cable.
|Sensor||MaxSonar HRLV MB1013|
|Current Consumption||50mW (10mA at 5V)|
|Distance||30cm - 500cm|
|Update Rate||2Hz / 10Hz (configurable)|
|Dimensions (W x D x H)||35 x 35 x 20mm (1.38 x 1.38 x 0.78")|
To test a Distance US Bricklet 2.0 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 Distance US Bricklet 2.0 to a Brick with a Bricklet Cable.
If you connect the Brick to the PC over USB, you should see a new tab named "Distance US Bricklet 2.0" in the Brick Viewer after a moment. Select this tab. If everything went as expected you can now see the measured distance.
After this test you can go on with writing your own application. See the Programming Interface section for the API of the Distance US Bricklet 2.0 and examples in different programming languages.
The Distance US Bricklet 2.0 uses the MB1013 sensor from MaxBotix.
You can find the beam pattern (2d-representation of measured distances with different angles) below:
A laser-cut case for the Distance US Bricklet 2.0 is available.
The assembly is easiest if you follow the following steps:
Below you can see an exploded assembly drawing of the Distance US Bricklet 2.0 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|