We keep seeing commercials for those Keurig coffee makers that use a plastic pod of grounds to brew just one cup of coffee. We’re pretty sure this is a fad, and absolutely sure that the extra packaging created by brewing with this method is a waste. But to each his own. [Danman1453] has two of the devices. One he bought, the other is a warranty replacement. He decided to scrap the malfunctioning unit and see if he could put it to good use. What he ended up with is the aquarium pumping system you see above.
It is conceived as tidier way to swap out the water in the fish tank. He had been using tubing to siphon the water, but found he almost always made a mess. This system uses an air pump to prime the water pump by pressurizing the tank which forces water into the lines. Once the water pump is primed he switches over to that for the rest of the work. He used an old metal tool box as an enclosure, using the cover to mount the push-buttons which route power to various components when pressed. Many of the parts were transplants from the coffee maker, but even if you sourced all of the components new this wouldn’t cost too much to put together.
[Andrew Robinson] and his co-workers are lucky enough to have a Keurig coffee maker in their office, though they have a hard time keeping track of who owes what to the community coffee fund. Since K-Cups are more expensive than bulk coffee, [Andrew] decided that they needed a better way to log everyone’s drinking habits in order to know who needs to cough up the most cash at the end of the month.
He started by tearing down the Keurig B40, making note of the various PCBs inside while identifying the best way to go about hacking the device. The coffee maker is controlled by a PIC, and rather than try to re-engineer things from the bottom up, he left the core of the machine intact and focused on the control panel instead.
He disconnected all of the unit’s buttons from the control board, routing them through an Arduino before reconnecting them to the machine. This essentially rendered the machine inoperable unless triggered by the Arduino, giving [Andrew] control over the brewing process. He wired in an RFID reader from SparkFun, then got busy coding his security/inventory system. Now, when someone wants coffee, they merely need to swipe their office access card over the machine, which enables the use of its control panel.
As you can see in the video below the system seems to work well. If we were to offer some constructive criticism, we would suggest ditching the laptop and rolling the RFID reading/verification into the Arduino instead – other than that, we think it’s great.
Continue reading “Securing your Keurig with RFID”