[Logi.cals], a German software company focused on process, automation, and facilities planning has devised an automated wine decanting machine to demonstrate its logi.CAD 3 PLC programming tool. Sommeliers use these simple machines to handle heavy, expensive bottles of wine. [Logi.cals] added sensors and a stepper motor to a very nice looking specimen and automated the decanting process with a Raspberry Pi.
The outstanding feature of this design is the built-in redundancy. A pair of micro switches detect the presence of both a bottle and a glass. Failing these, a load cell is there to weigh the bottle, reporting naturally whether one is present. The load cell also plays a part in monitoring the liquid level in the bottle, as do capacitive sensors that register the wine flow. The design also includes strain gauges that measure the weight in the glass as well as the liquid level. To bring it full circle, they also verify that a glass is present.
[Logi.cals] used two expansion boards, the Quick2Wire interface with an I²C analogue board and the PiFace. The I²C analogue board takes information from the strain gauges over its ADC, and the Quick2Wire communicates with the load cell’s measurement amplifier over the serial connection. The PiFace handles the remaining sensors and the stepper motor, and provides high voltage protection for the Pi.
If you’re fresh out of heavy, expensive bottles of wine but have some cheap ones lying around, you could use a Pi to make them dance.