Lego Mindstorms NXT Volume Calculator

by Chikpeas Brother in Circuits > Robots

2919 Views, 9 Favorites, 0 Comments

Lego Mindstorms NXT Volume Calculator

DSCF0470.JPG
This easy device will calculate the volume of any simple object. It's very easy to build, and lots of fun to use. If you like this, please vote. I could really use the prizes for my workshop. :)

Building

DSCF0472.JPG
DSCF0471.JPG
Add 4 black and 2 blue connectors to an L-bracket. (Pictured at bottom) Then insert one black connector into the middle of a 3-holed bracket. Connect the brackets as shown. Connect the cable from the motor to port C. The other nescessary additions are shown as notes on the picture.

Programming

binary.jpg

Use

DSCF0470.JPG
To use the calculator: Run the program, roll the wheel over the box you want to measure and press enter. Repeat for the width and heighth. The device should display the volume in gallons. If it doesn't seem to be working, or you aren't sure of a step, feel free to contact me, and I'll be happy to help. Again, if you like this please vote.

This project was inspired by the how-to from nxtprograms.com. Check out their site for lots of cool Mindstorms projects.