Introduction: Control Arduino With Facebook - the Easy Way

Picture of Control Arduino With Facebook - the Easy Way

Hello Friends Today I'm gonna show you how to connect your Arduino To FACEBOOK and remotely control your Arduino From anywhere in the world through your Facebook Account. Ok this is how it Works, there's a Facebook account which is connected to Arduino through a computer.

Then we send a message to that Facebook account which the arduino is connected. That message contains an instruction which is then sent to the arduino from your computer as a Serial port message.

Then the arduino works according to that message.

Step 1: Hardware Setup

Picture of Hardware Setup

Connect Arduino to 5 Leds through 470 ohm Resistors

Digital Pins 9,10,11,12,13 Will connect to those 5 LEDs

Step 2: Coding

Picture of Coding

Upload This Code to Your Arduino

Step 3: Connecting Arduino to Facebook

Picture of Connecting Arduino to Facebook

Use this Arduino + Facebook Terminal Software to connect this arduino to Facebook.

Input the username or ID of the Facebook Account which is for Arduino, next for its password. You can Find Facebook ID from "Get Facebook ID"

Third field for the other Facebook Account's ID that Sends message to this Arduino.

Next Select the COM Port of the Arduino

Keep the Baud Rate as 9600

After making sure those details are correct, Click Connect

Then The Arduino Will Connect to Facebook.

Step 4: Testing

Picture of Testing

Now we can control LEDs by Sending messages to Arduino's Facebook Account through the other Account.

Send 1

Now the first LED will turn on

Send 2

Now the Second LED will turn on

Send 3 , 4 , 5 For other LEDs too

Send 0 To turn off them all.

By following the Arduino Code, You can add more Cases for more messages to control arduino in various Ways.

Thank You , Please Comment,Share this.

Comments

DuyenL4 (author)2017-11-28

thanks for the great tutorial! Is there an arduino + facebook terminal software for Mac? :)

HamzaB54 (author)2017-10-20

I NEED APPLICATION FOR ANDROID PHONE ANYONE CAN HELP ME

HamzaB54 (author)2017-10-20

I CAN USE PHONE REPLACED PC !!!!

sekmani52 (author)2017-03-29

thank you brother for share this beautiful method to controll anything from far with simple input but you forget something to explain how the arduino can receive your message ?? the arduino need to connect via wifi but i see the arduino in this point need to connect to pc

RodanV (author)2017-01-04
ananth raj (author)2016-09-06

How can we get reply from the fb account that is connected to arduino

sipancho (author)2016-01-12

Hi, this is very nice. Where do we get the Arduino + Facebook terminal software?

About This Instructable

2,532views

12favorites

License:

Bio: My life is Not only Writing Lines of Codes, But gaining something good. I'm simple in physical world but Very complex in ICT word.
More by djsadeepa:Control Arduino With Facebook - The Easy wayArduino + PS/2 Keyboard controlled LED FlasherConnect PS/2 Keyboard to Arduino
Add instructable to: