Securing Your Keurig With RFID

keurig-hacking

[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.

[youtube=http://www.youtube.com/watch?feature=player_embedded&v=jI1n5lJCzHs&w=470]

42 thoughts on “Securing Your Keurig With RFID

  1. Two problems:

    What about the guy who brings his own K-cups? Still has to pay the coffee fund?

    Also, wouldn’t it have been easier to just wire the button to a wifi webcam, so when somebody turns on the coffee maker, you have a mug shot? Facial recognition in photo organizing software works pretty well these days.

        1. Could be you have the RFID tag anyways. I’ve worked places where you need the tag to basically get anywhere, even had a place where if you forgot your tag (you could go through one way without) you would be trapped until someone let you out.

  2. While I don’t want to detract from how cool this is, I have to ask what kind of office doesn’t pay for the employee’s coffee? Even the inflated cost of K-Cups is a small price to pay for keeping the employees productive and happy.

      1. It’s crappier than that. The office isn’t supplying coffee, much less charging for it. This is a private group of guys that are sharing a coffeemaker and freeloading coworkers have forced the guy to put a lock on it.

    1. Maybe the coffee club is already organised by the staff. Could be nothing to do with their employers. I’ve worked in many offices with coffee clubs and it’s really annoying when people who aren’t in the club steal the coffee/tea/milk. Especially when they use the last of the milk. lol. This is a great system!

    2. It’s actually a research lab at a University ;-)

      There’s free coffee in the building, although it might not be made by the Keurig, and the hack was done in good fun. It’s certainly more about hacking things just to hack them, rather than solve a dire problem with people stealing K-cups.

      The attitude approaching this hack is best described as ‘quick, let’s do something fun with RFID, look around the lab and invent a problem we can solve’.

    3. I work for a notable IT company (that’s 3 letters long), my site of 1500 people has coffeee shops and machines I have to pay for. Even for hot water, kettles are also banned.

      You can understand how valued I feel as an employee

    1. Well in the case make a vending mechine for the cups rather then haveing the coffie maker do everything =) You can good coffie pay for it or use someone else old cup that taste like crap

  3. Yay! now all can share in the garbage coffee.

    I’ll just grab a K cup, pierce the top and take out the “teabag” of coffee and seep it in the cup of hot water instead. Same quality without having the be “tracked”

      1. Sadly, the refillable K-cups are patented… there’s a few models on the market, but they’re all outrageously priced at $15-$25. It’s just plastic!

        (Man… wait till 3D printing is really ubiquitous… ‘pirate k-cup’ containers, anyone?)

  4. the rfid chip should have been on the cup, so when you put your cup into the machine. the machine logs the cup owner, and it should as it was said, only have been size that was locked

  5. K-cups are incredibly wasteful. The refillable cups are basically just a kludge to turn the machine back into a regular coffee maker. It’s really quite silly.

    Don’t get me wrong, this is a decent hack, it just seems like a waste of talent, like building a teleporter then only using it to transport poop from your house to somewhere else to save on your water bill. :[

    1. I used to agree with you, that the k-cup is wasteful. After all, that’s a lot of plastic cups which are not compostable/recyclable.

      On the other hand – most of the carbon footprint of coffee can be attributed to the coffee plantations themselves, and secondly the shipping thereof. Most of a standard pot of coffee gets dumped down the drain… after sitting on a hot plate for several hours.

      So anything which lessens coffee waste, and continuous heating, makes k-cup a less evil option. Aside from the freaking patents on the k-cups themselves, and the fact that most of the coffee vendors are owned by 1 company (green mountain coffee).

  6. Absolutely GENIUS! This added brewer technology would go beautifully with the KCup Vending Machine from Multi-max… Ever heard of it? Check out their site, as I think you will find it rather interesting given your desire to control how the KCups in your office are being dispensed to employees…
    http://kcupvending.com/

Leave a Reply to MikeCancel reply

Please be kind and respectful to help make the comments section excellent. (Comment Policy)

This site uses Akismet to reduce spam. Learn how your comment data is processed.