Introduction: Twitter Arduino Security System

You will need:

  • An Arduino uno or similar.
  • An Arduino Ethernet Shield
  • A breadboard
  • A computer with Arduino IDE
  • An Ethernet cable connected to internet
  • Two momentary switches (can be replaced by sensor)
  • Two 1K resistors
  • A bunch of wires

Step 1: Step 1: Wirring Up

  1. Put the shield on to the Arduino
  2. Wire it up as on the image.

Step 2: Step 2: Configure the Sketch

  1. Go to Arduino tweet and get your token
  2. Open your sketch
  3. Change" token" to your personal token
  4. If needed change the ip adress so that it fits your network(Tips: "192, 186, 1, 20" is equal to "192.186.1.20")
  5. Change the text at the end of these to personalise your tweets

char msg0[] = "starting";

char msg1[] = "something moved";

char msg2[] = "door open";

Step 3: Step 3: Upload and TWEET

  1. UPLOAD the sketch
  2. OPEN your serial monitor
  3. Send tweet by pressing the switches

Step 4: TROUBLESHOOT

  • If you get error 403 THEN delete all your messages from your TWITTER account and wait a minute
  • If you get error 503 THEN re upload and it will get away
  • If you get connection failed THEN connect to an other ethernet output or change ip adress

Comments

author
bingdo72 (author)2016-01-14

This is good.
I have been searching some application references in which WIZnet solution is applied, and found your project using Ethernet Shield.
In the Ethernet Shield WIZnet's W5100 chip is embedded.
If you are O.K. I'd like to post this article in WIZnet Museum (http://wiznetmuseum.com) for others.

author
MsSweetSatisfaction (author)2015-01-20

What a neat gadget, it really is becoming so that everything is based on social media, which makes perfect sense we're on it all the time. Thanks for sharing your awesome build. Welcome to instructables!

author

thank you for your nice comment:)