My Coffee Maker Has WiFi!

Taking over the Internet of Things, one coffeemaker at a time! Don’t say it wouldn’t be awesome to have your morning coffee ready before you even get up from bed!


Oh, I’ll make it straight right from the beginning: these kinds of hacks are POTENTIALLY DANGEROUS! Don’t mess around with high-voltage electrics unless you know EXACTLY what you’re doing! This is not a howto-guide anyway, so I’m not giving away any dirty details!

All righty then, let’s go through the main components of the system! We have ourselves a coffeemaker, which we are about to connect to the Great Internet of Things. Then we have a Raspberry Pi, the credit-card-sized mini-powerpack with some GPIO pins. Last off, we have a random set of transistors, relays and cables along with a couple of power sources.

The relay circuit is done with a BC-337 transistor, which is connected to the RasPi’s GPIO header. We use the transistor with one of the controllable 3.3V pins to supply our first 5V-relay with the RasPi’s 5V output pin voltage. That relay in turn drives another 24-volt relay, which eventually controls the 230V mains voltage. How’s that for a leverage!

The Raspberry Pi is packed with a WiFi dongle and a little command line utility called gpio, which is used for controlling the GPIO pins. It also has an Apache-webserver running with some simple PHP magic. The user interface is as genious as expected from a coffeemaker: a single button! When you connect your web browser to the UI and press the button, the PHP script executes a system command calling the gpio program, which turns the coffeemaker on and off accordingly. How elegant!

So, when you wake up in the morning, just bring out your phone and have that coffeemaker do what it’s supposed to!




  1. This is neat I love it!!!


    1. That RasPi sure is some great fun when you think of it!

      Liked by 1 person

  2. Are you using RasPi 1.0 or 2.0?


    1. I guess it’s model B revision 2.0. It has 512mb ram and 2xUSB.


      1. I think it would be version 1. I heard that model B version 2.0 has 4 USB ports and 1GB RAM! 🙂


      2. I agree. The fully qualified name would then be Pi 1 model B rev. 2.0. That new version must be Pi 2 then. How disturbing! 🙂


  3. […] With these tutorials around you’ll be a professional lifehacker in no time! You may check my coffeemaker hack as well while you’re at […]


Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s

%d bloggers like this: