loading
Picture of 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 1: Supplies

Picture of 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

Step 2: Setting Up Your Computer

Picture of Setting Up Your Computer
First you need to set up your receiving computer.

To interface between the arduino and twitter, we are going to use python. There is a library that is already put together that enables us to use the twitter API. It's called python-twitter.

After you have installed python, install the python-twitter library and all its dependencies. If you run into trouble just consult the documentation over on the python-twitter website.

Next, install the Arduino IDE so you can program your arduino and talk to it via serial port.

Once those are set up and working, time to go grab your credentials from twitter.com
1-40 of 93Next »
jperdomohn1 month ago

I will try this out , cause was the first thing that came to my mind when knowing about arduino for the first time...it is great somebody else did it already!!

RobertGoldring11 months ago

great design, could a raspberry pi work as the receiving computer?

Thats what I am currently making.

I am using Raspberry Pi 2 instead of laptop and according to me it definetely would.

iamm99 AmitS173 months ago

cant u just just rapsberry Pi 2? do u need arduino here?

Hummm? Can the Arduino IDE run in Linux(Raspberry Pi). That is a good question.
AmitS17 eddierome4 months ago

There is Arduino IDE available for raspberry pi.(Raspian)

To get it use command sudo apt-get install arduino

BertugBerkay3 months ago

Is it still working ? I ve heard that twitter changed some policy or something.

ThomasL34 months ago

How do I program the part that adds water and coffee?

Made it :D

escaleraalcielo made it!7 months ago

It's working!!!

Greetings from Mexico

Captura de pantalla (12).pngCaptura de pantalla (13).pngCaptura de pantalla (14).pngCaptura de pantalla (15).pngCaptura de pantalla (16).png

well done, very impressive

To connect to the serial port i use this code instead of the suggested one because allows to search in more than one serial port :D

##set to your serial port

#to use with linux locations = ['/dev/ttyACM0', '/dev/ttyACM1', '/dev/ttyACM2']

locations = ['COM3','COM4','COM5','COM6'] #to use with windows

for device in locations:

try:

ser = serial.Serial(device, baudrate=9600, bytesize=8,

parity=serial.PARITY_NONE, stopbits=serial.STOPBITS_ONE)

print ("\nArduino found on: " + ser.portstr + " please wait...\n")

time.sleep(2)

break

except:

print "Failed to connect on", device

To register a new app you must go to the next link https://apps.twitter.com/

Because dev.twitter send you to download fabric, the new Builder from twitter

davidbarcomb8 months ago

Great idea. Thanks for sharing us

This is an amazing idea, but I was wondering that the requirement of a Laptop to be present doesn't make it as portable so what if we use a wifi shield to connect to the Arduino. I saw this in a different project that scanned twitter for particular phrases. Would we have to change the programming or will it remain the same. I am a curious Engineering Student and wanted to learn about this. Would appreciate your help.

luketyrel8 months ago

This is a really cool idea. Just wondering do you sell this device with out the coffee machine. I'm looking to buy a working version or pay a developer to create one with a simple laptop and AC switch.

Thanks

Luke

FranciscoC10 months ago

Great tutorial, how can anyone activate the Coffee by sending a tweet? Is this possible to do in this example or similar?

danmellow11 months ago

wow this can be used for something bigger may be

LadySith1 year ago
I always come back to this page. Loved the idea since I saw it. We were planning on doing it for our space but we can't find a relay switch anywhere. Is there any way we can effectively mutilate a regular power supply to work as a relay switch?
ChrisW3 LadySith11 months ago

I know it is a bit late but did you try Radio Shack? Also Jameco (online or catalog) has a really good selection of loads of different things. Good luck to you!

where did you get the serial module

Be sure to run the install command with sudo.

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.


yeah that module didn't work for me either.
HomuraRun2 years ago
I keep getting "Index Error: list index out of range". What does that mean?

This is due to you not having any tweets. Post a dummy tweet and problem solved.

I also get that error. Could you find any solutions?
jdawgaz1 year ago

I am not sure why there is an arduino at all here. This could be done more simply by just using one of the gpio pins on the rpi.

even the original powerswitch tail only draws 40ma and 3.3v dc is good enough to switch the relay: well within the rpi tolerance.

this would eliminate the need for the serial library. and all of it could be done with just the python program.

The tutorial is for Arduino, not rpi. It's very useful exercise for going Arduino training.

mist42nz1 year ago
What functionality is the Arduino providing in this circuit? It looks redundant, the output signal could be used to drive relay on the tail in a similar manner to how computer tills used to be activated by the serial port. The laptop is providing all the controller "decisions"
Hi, I'm writing a blog post about cool home automation Arduino based projects and your's is going to be there. Do you allow me to use one or two of your pictures in the post? I'm linking the reference to tweet-a-pot back to this page.
nice one
Kelly022 years ago
nice idea.
pnoytech2 years ago
Activating my arduino projects thru twitter is awesome! Thank you so much!
Nice Instructable!

There are some really good things for people to learn here. (from your instructions, especially)
very cool
ShadowJesus2 years ago
This is a fairly simple arduino project.
JensonBut2 years ago
I am fairly new to Instructables so I will have to take a look at putting it together. I definitely want to get a video up. I'll let you know when I get either up. (I tried replying but the captcha thing seems messed up)
tcerier2 years ago
Hi, I'm following this, and i'm having some issues. it would be great if someone could help me.

-first: when running, does the arduino need to be connected via a serial cable? or can one use the usb cable?

-Also, (my main problem) i recieve a serial error... what could this be?
thanks!
tcerier
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

1-40 of 93Next »