Twitter Arduino Security System

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

Teacher Notes

Teachers! Did you use this instructable in your classroom?
Add a Teacher Note to share how you incorporated it into your lesson.

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 "")
  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


  • 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

Be the First to Share


    • Magnets Challenge

      Magnets Challenge
    • Raspberry Pi Contest 2020

      Raspberry Pi Contest 2020
    • Wearables Contest

      Wearables Contest

    3 Discussions


    4 years ago

    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 ( for others.

    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!