5 ms·
My Keurig's electronics died and I was able to recreate them with an Arudino: http://i.imgur.com/1wWxu37.jpg http://i.imgur.com/1wWxu37.jpg With this I can cu
by mwti 12y ago
My Keurig's electronics died and I was able to recreate them with an Arudino:
http://i.imgur.com/1wWxu37.jpg http://i.imgur.com/1wWxu37.jpg
With this I can customize the temperature and use PWM on the pump to adjust pressure/flow. :D
If I had to use that 2.0 model I'd just lobotomize it right out of the box.
- landr0id 12y agoHow did you go about reverse engineering it?
- Semiapies 12y agoI'd be curious to read about that, myself.
- mwti 12y agoPretty simple, actually!! This model (B31) contains: - 12VDC air pump to push water from tank into coffee pod - 10K thermistor, stuck in the tank - 1400 Watt heating element I wired all three to the Arduino through a transistor for the pump, a resistor divider to use analogRead() and calculate temperature, and a mechanical relay. The Arduino uses 4 buttons: heating element toggle, temperature up/down, and pump engage. I didn't bother with the water sense non-sense Keurig uses (to know if water is in the tank or reservoir), so it pretty much checks temperature and if it is low engages the relay. When it's done I then hit the button to dump the water through the coffee (so it's not as automated as Keurig, but better than buying a new one). Code is here: http://pastebin.com/0fNtYcyM http://pastebin.com/0fNtYcyM The thing was a pain to disassemble too. It's one of those "oooooooohhhh that's how it's put together" products where you have completely destroyed the plastic tabs before you see the one magic screw holding it together.
- pkaye 12y agoWhat would happen if there is no water in the reservoir and you turned on the heating element?
- kevan 12y agoAssuming the thermister isn't very close to the heating element you'll be heating air for a while and the heating element might burn out.
- michaelt 12y agoOn a lot of consumer products there's a resettable thermal fuse built into the heating element. Burning down people's houses is bad for business :)
- keithpeter 12y agoI'll put my hand up for that one. Old fashioned non-automatic electric kettles had such a device that handily pushed out the kettle lead thus disconnecting the mains. I was saved from some embarrasment and redectoration by this a third of a century ago. PS: how could you detect the presence of water? Photocell? Ultrasound? Conductivity between two small contacts 20% of the way up the jug?
- swdunlop 12y agoThe old way in industrial automation is a float sensor, which is basically a reed switch with some buoyancy on the end. With substances that are corrosive, or where there's a cross contamination concern, you drop down to load cells or a rangefinder, both of which are more expensive and fussy. :)
- smcg 12y agoAt least in my Keurig: there are 2 tanks, 1 external, 1 internal. There is a float in the external tank that detects if there is enough water in the external to fill up the internal. If so, then it brews the internal tank and then fills it up from the external after the coffee is made. If there is not enough water to fill up the tank, it won't start.
- kozhevnikov 12y agoLooking through the code I got flashbacks to "Agile Principles, Patterns, and Practices" because of Robert C. Martin's "Mark IV Special Coffee Maker" [1] sample problem. [1] http://www.objectmentor.com/resources/articles/CoffeeMaker.pdf http://www.objectmentor.com/resources/articles/CoffeeMaker.p...
- deleted 12y ago[deleted]
- jbigelow76 12y agoKeurigstein! I have visions of a guy in a lab coat standing over it waiting for a French Roast cup crying out "It brews! It brews!"[1] [1] https://www.youtube.com/watch?v=8H3dFh6GA-A https://www.youtube.com/watch?v=8H3dFh6GA-A
- rancur 12y agohaha, anyone remember the linux coffee machine controller? http://www.tldp.org/HOWTO/Coffee-1.html http://www.tldp.org/HOWTO/Coffee-1.html
- striking 12y agoIf you hook up Ethernet to the Arduino, you might be able to get the first implementation of https://tools.ietf.org/html/rfc2324 https://tools.ietf.org/html/rfc2324!
- anizan 12y agoGood old days of reading RFCs. Thanks for remembering this.
- shadytrees 12y agoA Trusted Friend in Science — Aperture Laboratories