3 Simple Ways to
Share What You Make

With Instructables you can share what you make with the world — and tap into an ever-growing community of creative experts.

PhotosPhotos

Share one or more photos of a project, recipe, or whatever you've made, quickly and easily.

Step by StepStep-By-Step

Share your step-by-step photos with text instructions of what you made so others can do it too!

VideoVideo

Share your how-to video. You'll need your embed code from a video site such as YouTube.

Tweet-a-Pot: Twitter Enabled Coffee Pot

Tweet-a-Pot: Twitter Enabled Coffee Pot
Like the idea of making coffee on the fly? from your bed? While you're on the bus coming home? Then the Tweet-a-pot is for you!

Tweet-a-pot is the next in fancy twitter enabled devices. This coffee pot enables its owner to make a pot of coffee from anywhere they have cell phone reception, using twitter and an arduino board.

The tweet-a-pot is the easy implementation for remote device control! with a bit of code and some hardware, you can have your very own twitter enabled coffee pot.

Take a look at this quick video, Special thanks to Sam:

 
Remove these adsRemove these ads by Signing Up
 

Step 1Supplies

Supplies
To make your very own tweet-a-pot you will need the following

1 Power Switch Tail, this is basically a relay that is used to interface with the AC voltage
1 Arduino Board (any will do)
1 Computer running the arduino IDE and Python
1 Drip Coffee Pot
« Previous StepDownload PDFView All StepsNext Step »
52 comments
1-40 of 52next »
Apr 27, 2012. 1:42 PMrzitex says:
But can it use Hyper Text Coffee Pot Control Protocol (http://tools.ietf.org/html/rfc2324). Yea, sure you can text the coffee machine to make coffee, but HTCPCP can be controlled by EMACS. Even has a stop pouring milk functionallity.
Apr 20, 2012. 9:08 PMBrennn10 says:
Can anybody walk me through how to download the Python-Twitter library? I just downloaded Python, but I can't seem to figure out how to install the dependencies and the Python-twitter library. Thanks for your help!
Apr 1, 2012. 8:31 AMwilldex says:
Frenzy, though I understand that you don't want a dedicated computer, you may still want to look into Raspberry Pi model B, as it has an Ethernet port, is credit-card sized, can do a whole lot more than a simple Ethernet shield, and will be about $35 when comes out again.
Nov 20, 2011. 1:12 AMuberdum05 says:
Does anyone know of how to connect a visual basic application with twitter because I am writing some HA software and would like to give it web access?
Nov 20, 2011. 7:17 AMuberdum05 says:
Edit: I managed to find a DLL for visual basic and then downgraded the project to .NET 3.5 and the code worked magically!
Oct 2, 2011. 1:12 AMP1d40n3 says:
I am having a problem with the pySerial library also (if that is indeed the library you are using!). It's not send or recieving signals correctly, interpreting even simple debug messages as garabage. What version of the library did you use to get this working?
Aug 15, 2011. 10:18 AMasarr says:
im also getting syntax error when i try to run the code in python
can u reply soon please
Jan 9, 2011. 12:18 PMKarateLover21 says:
where did you get the serial module
Jun 27, 2011. 6:18 PMMitch11011 says:
Ya I am having the same problem. I tried downloading a serial module from here http://pypi.python.org/pypi/pyserial but when I run the program I get an error.


Jun 28, 2011. 5:45 AMKarateLover21 says:
yeah that module didn't work for me either.
Feb 5, 2011. 12:05 PMbeverageexpert says:
for my twitter app these are the only keys I received
# Consumer key
*****************************
# Consumer secret
***************************************
# Request token URL
http://twitter.com/oauth/request_token
# Access token URL
http://twitter.com/oauth/access_token
# Authorize URL
http://twitter.com/oauth/authorize

so what would I use for
access_token_key='accesskey', access_token_secret='accesssecret')

thanks

Jun 14, 2011. 9:58 AMpdxnat says:

I've got an instructable here detailing the process of getting your tokens. Like everything, it's simple once you know how....

http://www.instructables.com/id/Simple-Tweet-Arduino-Processing-Twitter/step4/Twitter/

Feb 9, 2011. 6:56 PMmr bkilled says:
The access_key and access_secret keys need to be generated separately and are unique to each user and twitter application.

After searching the python twitter library, I was having trouble finding how this library generates these keys. So sorry I don't think I can help you there.

But another similar python library I found for twitter called Tweepy does have lots of documentation!

And a nice example of how to get started!

check it out - http://jeffmiller.github.com/2010/05/31/twitter-from-the-command-line-in-python-using-oauth
Jun 14, 2011. 9:55 AMpdxnat says:

A terrific, well written instructable! Also a great Intro-to-Python project. I expected to see info on how to hack the coffee pot's circuits, but this project just controls the power to the pot. Clever. And obviously generic. . Controlling the power source ("PowerSwitchTail") via tweets can have many applications.

http://powerswitchtail.com/default.aspx

https://www.adafruit.com/products/268


Jun 7, 2011. 7:36 AMToolboxGuy says:
I don't even drink coffee and I think this is cool!

Seems that (at work) the engineers, capable of generating software and commanding large salaries, yet are totally incapable of making a new pot of coffee for the next person. Is it entitlement issues, inconsiderate people, or plain laziness?

Again, I don't drink coffee but I hear the fireworks of the next person's meltdown.

Is there a "Make a new pot when you take the last of the coffee or I rate limit your Internet connection to 300 baud" feature? (or wrap out their port to a dead VLAN, modify their network settings, let *all* of the spam from the Internet get into their e-mail....)

How about an Arduino driven camera that senses each time the coffee pot is lifted, taking a picture/video, as well as weighing how much is left, so we can scold the "lazy person" by sending this photo/video over e-mail?

Jan 22, 2011. 12:24 AMvirtualmix says:
Thanks for sharing this, I really like the idea.
I have a similar device at home but instead of using an Arduino I use a girlfriend.
> Send text message to GF: "Make me a coffee please."
> Go home: coffee is ready, with sugar and spoon. Coffee maker and GF are clean, ready to receive next command. AMAZING!
Jun 1, 2011. 9:06 AMapender says:
yep, all this automation, even I am interested in, is done automatically by that "good help so hard to find."
May 20, 2011. 5:04 AMkingballz says:
LMAO!! Classic!
Nov 13, 2011. 8:12 PMseanb209 says:
Wow, that is so geeky it's actually cool.

- Sean Brown, CEO
windows tablet|ipad alternatives|sylvania tablet
May 18, 2011. 11:31 PMmischka says:
LOL you lucky one!
May 18, 2011. 6:00 PMSurreyTrnsPlnt says:
HAHAHAHAHAHA Awesome!!!
Feb 8, 2011. 3:32 AMAxlTxl says:
LOL :D
At work I tweet the secretary :D

btw, inspiring instructables! ;)
May 19, 2011. 7:31 AMdunnos says:
Wow, I want one of those mugs!
May 19, 2011. 5:00 AMcarlsmart says:
Cool idea!
Apr 20, 2011. 11:02 AMsunami says:
Is it possible to do this without an arduino?
Jan 7, 2011. 5:40 AMDemonSpawn says:
why dont you make it so that theres a button to turn it off on the coffee machine witch toggles it in the code. That would make it a lot more convenient. But also keep the #driptwitstop function for if you forget to switch it off when you're there or just to lazy to walk over to turn it off. :D
Feb 13, 2011. 12:35 AMsrainsdon says:
or what about a timer to shut it down after say 2 hours or somthing
Feb 10, 2011. 10:09 PMpuchandi says:
hey im getting syntax error when i compile ths code in python. can u help me out.
Jan 16, 2011. 8:38 AMelement14 says:
Great idea! Thought you may be interested in knowing you can load this or any other Arduino project video on element14 for your chance to win a soldering iron. Details and instructions can be found here: http://www.element-14.com/community/videos/1608
Jan 6, 2011. 11:00 AMmman1506 says:
i did the same but with a fog machine and i use the twitter 4j libary with the proccesing instead of python
Jan 14, 2011. 1:17 PMrockitz101 says:
you should write an instructable for that!
Jan 7, 2011. 5:33 AMDemonSpawn says:
any chance you could share that processing code?
Jan 9, 2011. 5:29 PMmman1506 says:
here's the code

l
ink

i
t actually uses the  tweet stream libary thats here
http://mccv.github.com/processing-tweet-stream/


the main part of the tweet code is this line "TweetStream s = new TweetStream(this, "stream.twitter.com", 80, "1/statuses/filter.json?track=fogger", "mman1506", "password")"

which looks for a tweet that says fogger

then this line "void tweet(Status tweet) {" executes the code under it when it receives a applicable tweet


the only problem is the code can be unreliable so i would prefer a python version




Jan 13, 2011. 7:56 AMmaxca says:
thankkkkkk
Jan 9, 2011. 6:32 PMDeusXMachina says:
A great proof of concept, but probably a more efficient way to do this would be to use one of those tiny stand-alone web servers, rather than leaving your laptop running, a la this 'ible:

http://www.instructables.com/id/tweettree-Twitter-controlled-Christmas-tree/

Now, granted I'm a huge hypocrite because I leave an old P4 slimline box running 24/7 because I use it as my alarm clock. :-P But I want a micro-ATX to do that job.
Jan 9, 2011. 6:44 PMDeusXMachina says:
Or the Arduino Ethernet shield. I forgot they had that sucker, too XD
Jan 9, 2011. 4:33 PMixetl says:
OMFG!!! This is just amazing!!! XD
Jan 8, 2011. 8:51 AMah01 says:
One suggestion. You should implement HTCPCP (Hyper Text Coffee Pot Control Protocol) – it's special internet communication protocol for this purpose :)
Jan 9, 2011. 3:35 PMtjesse says:
i agree
1-40 of 52next »

Pro

Get More Out of Instructables

Already have an Account?

close

All Steps Viewing
View all steps of an Instructable on the same page when you're a Pro Member.

Upgrade to Pro today!
399
Followers
80
Author:frenzy
I'm the QA engineer here at instructables. I make cool projects in between testing instructables.com to make sure it works awesomely. Give me your bugs!