You are viewing an older revision! See the latest version

tweet remote control

Table of Contents

    Description

    In this project, I created a way to remotely control different devices using twitter accounts. There are a few main components to this set-up:

    • mbed's Twitter account
    • Controlling Twitter account
    • mbed's Ethernet interface
    • Devices being controlled

    The purpose is to use the controlling Twitter account to tweet at the mbed's account with a predetermined syntax that the mbed can translate into commands. This serves practical purposes where you might need to set values on internet-ready household devices (like preheating your oven while you're buying supplies for dinner or changing your thermostat while you are on vacation).

    Example

    In this example, I used a Nokia LCD screen with a breakout board from Sparkfun as the device I'm controlling. There are a few commands that I can send to the mbed:

    • background [color] -> You can use this command to set the background color of the LCD to 'blue', 'green', or 'red' (example: @mbedcontroller background green)
    • write [text] -> This writes text specified in the tweet to the LCD screen. You cannot use anything with quotation marks (") (example: @mbedcontroller write Hello World!)
    • square [length] -> This draws an empty square in the screen with a side length of the number included in the tweet. The size of the screen is 130 x 130, so a size of over 130 will cause an error. (example: @mbedcontroller square 20)

    Any other commands will cause the screen to display an error message.


    All wikipages