eTape Liquid Level Sensor
Make sure to get the food safe sensor if you're mixing liquids for people to consume.
Arduino Yun, Arduino Uno, or other microcontroller with an analog input.
If you use the Yun you can make a web page which displays the measured liquid volume.
If you use the Uno or other microcontroller you'll want to add a display, like one of these OLED graphic displays.
|Female to male hookup wires. These will connect the sensor to the Arduino.|
|Graduated cylinder or other container to hold liquids. For the 12" liquid sensor a 500ml graduated cylinder is the perfect size.
The container should be tall enough to hold the entire liquid sensor without bending, and it should have a constant size so the volume can be calculated.
Make sure to use a container which is food safe plastic or glass if measuring liquid for people to consume.
|MicroSD card for storing scripts and data on the Arduino Yun. Any card with about 10-20 megabytes of free space should work.|
The assembly of the hardware is very simple because the eTape liquid sensor is a resistive sensor, just like a photocell. Attach one of the middle two leads to ground on the Arduino. Attach the other middle lead to an analog input such as analog 0 on the Arduino. Finally attach the 560 ohm resistor that comes with the sensor between the analog 0 and 5 volt pins on the Arduino.
The outer two pins on the sensor will be unused (they're for temperature compensation in a bridge configuration).
You can see a diagram and photo of the wiring below:
Below you can see how I attached the sensor to a graduated cylinder with a binder clip. This clip works well as a temporary means of affixing the sensor. For something more permanent consider taping or gluing the top of the sensor to the container (remember only glue or tape the sensor above the MAX line!). Use a food safe adhesive such as silicone sealant if necessary.
You can also see I bent the wires in a tall loop and taped them onto the back of the cylinder as a strain relief.