Picture of Infrared-RF 433-Bluetooth Arduino Remote
Having seen several tutorials on home automation, I thought it would be cool to take on an all in one remote control box that contained infrared protocols to turn on the tv, rf 433 protocols to control lighting and other household electronics and transmit and receive Bluetooth commands. Most importantly do it on the cheap. I use a web interface to send BT signals from a RPI (this is out of the scope of this tutorial but pretty cool stuff).   I hope you enjoy and maybe spark more ideas. Before we start I have to give several others credit as none of this is original, many thanks folks.
IR Tutorial/Library
Ken Shirriff  http://www.righto.com/2009/08/multi-protocol-infrared-remote-library.html
Bluetooth and Arduino
Mohannad Rawashdeh http://www.instructables.com/id/Arduino-AND-Bluetooth-HC-05-Connecting-easily/
RF Tutorials/Library
Suat Özgür  http://code.google.com/p/rc-switch/
Ray Wang http://rayshobby.net/?p=2427

Step 1:

Picture of

Materials used in this project and source

Arduino UNO R3 board with DIP ATmega328P, Amazon.com

Arduino Wireless Bluetooth Transceiver Module Slave 4Pin Serial + DuPont Cable, Amazon.com

Infrared Receiver, Amazon.com

Infrared LED, Old remote

433M receiver module 433MHZ Superregeneration Wireless Transmitter Module, Amazon.com

Jumper Wires, Amazon

Etekcity® 5 Pack Wireless Control Electrical Outlet Switch Socket with 1 Remote, Amazon.com

Sanyo TV with IR Remote, Already had.com

diy_bloke1 year ago

Well done, but I am not sure if I fully understand the coding. Maybe you can help me on my way. If I take the data for instance of your first button:

which you split in:

00011101010101 0000000011
You send those seperately to yr pt2262Send routine.
Now do I understand correctly that yr routine goes through these numbers digit by digit (in the loop) and then sends each digit?

#define DELAYSHORT 160
#define DELAYLONG 500

are those the standard times ? or did you also get that from yr analysis?
Why end with a '0'?

Anyway, quite nifty to just make yr own sendroutine. I hadnt even thought of that and was preparing to use the library.
Great work

Raphango1 year ago
Wow Project!
Gonna make it someday! =D