Loginskip to content

Archive for December 30th, 2006

I2C Interfacing Part 2: Analog-to-Digital, Pressure Sensing, and 5V Power

Saturday, December 30th, 2006

A prototype I2C pressure sensor for the NXT

A pressure sensor allows you to stop a motor that operates a Lego pneumatic compressor when the pressure is high enough to actuate pneumatic cylinders and to start it when the pressure is too low. This prototype sensor uses an analog pressure sensor chip to measure pressure. The analog measurement is converted to a digital value and sent to the NXT using an I2C analog-to-digital converter chip. A slight complication is caused by the pressure sensor, which needs a 5V power supply. But thanks to I2C, the sensor is still very simple.
The full details are available here.