
The handy AbsoluteIMU-ACG sensor is an add-on to Legoโs Mindstorms set, combing an acceleration sensor, 3-axis gyroscope, and compass into one compact unit consisting of a plastic octagonal shape with a Mindstorms-compatible wire coming from one side and a pair of holes sized to accommodate Legoโs cross-shaped axles, meaning that itโs a cinch to add it to a robot.
The plug connects to the Mindstorms brickโeither RCX, NXT, or EV3, according to the product page. They also feature mention in passing that the sensor works with Arduinos. Depending on what sensor youโre using and what platform will be taking in data, you may need an UART to i2c logic converter. Mindsensors is a company that makes and sells a large variety of add-on parts for Legoโs Mindstorms robotics sets, including sensors, Arduino shields, servos, cables, and so on. Yes, they do have an UART-to-i2c converter for sale.
Youโll also need the software to get data from the sensor. Mindsensors provides NXT-G and EV3 programming blocks you can download from the product page. These, along with some sample programs, give you the basic functionality upon which you can craft your own programs that take advantage of the sensor. It works very easilyโyou download the blocks and use the Mindstorms software to import them. You download the program to your EV3 brick and run it. If you have the sensor plugged into port 1, itโll display the data from the sensor on the EV3โs screen. Youโll get acceleration, tilt, as well as compass direction, returned in degrees from magnetic north. I was able to get the sensor up and running in just a couple of minutes.
Mindsensors also includes code for Robot C and NXC, a couple of โCโ-based substitute OSes that can be swapped onto the EV3/NXT/RCX brick. This way you can
One final thing I wanted to mention about the AbsoluteIMU-ACG is that, like the rest of Mindsensorsโ products, it is closed source and glued into a shell, making it necessary to theoretically damage the PCB in order to take a peek at it. Their NXShield has a layer of laminate stuck onto the top of the PCB so you canโt see the components. I realize this is for very practical reasons; you donโt want to deal with irate parents after Timmy pries off a couple of chips. That said, as a hobbyist, I would have liked to look at the PCB and it bothers me that I canโt.
ADVERTISEMENT