Monthly Archives: March 2012

Arduino Home Automation Remote!

My Home Automation Remote!

Below you will find my latest invention! (Photos below) It’s a touch screen remote for my house!

So the parts I have used are the Ethermega 2560 from Freetronics, 315Mhz RF link kit,3.2″ TFT LCD Touch Shield & the Codec-Adaptive Wireless Relay 315MHz which I picked up from Boxtec.ch

So what does it do and how does it work?

What:

It controls the motion detection settings on my 4 Foscam IP cameras … so when I leave the house I can quickly enable motion detection on all my cameras without having to connect to each individual camera over my iPhone or computer!… what else does it do? it Switches on my lights using 315MHz and the VirtualWire Library!

How:

I use ethernet on the Ethermega with the Webclient to send HTTP GET commands to the Foscam IP cameras depending on the buttons pressed in the menu! As for the lights… I have used the learning feature of the Codec-Adaptive Wireless Relay with the VirtualWire Library.

I have already started to work on the Infrared part to control my cinema system in the living room… which I will update and share the code once I have it working! In the meantime feel free to check out the code below & a video of it in action!

Check out the vid here and source code here… schematics coming soon!

Cheers
HumpA

20120328-012057.jpg

20120328-012107.jpg

Above you see the transmitter from 315Mhz Link Kit stuck on the side of the EtherMega 2560 & 3.2″ TFT TouchScreen

20120328-012114.jpg

20120328-145955.jpg

20120328-150004.jpg

An old RF power switch which i used for the casemod.

 

20120401-120425.jpg

Above i have case-modded 315Mhz Adaptive Relay & a small 12v powersupply.

Arduino 315/433.92MHz Jammer

While playing around with my TXC1 (specsheet) & RXB1 (specsheet) to control my house lights I was interested to find out what would happen if I injected the RXB1 readout into TXC1… it ended up jamming my lights and probably all neighbors lights, garage doors and all other kinds of RF stuff in that range! :)

The RXB1 and TXC1 are sitting on an Ethermega 2560 from Freetronics.

Jammer code and schematics

Check out the video of it in action.

20120317-170832.jpg

Humpa

v1.0 RFID Dreambox playlist remote

Below is my RFID Dreambox playlist remote, this has been developed for a DM500HD but should work on any enigma2 by default or engima1 with slight modification. This is all stand alone… it does not require an additional server to work but means it’s a litte more static… each time you want to add a new playlist you must reprogram the Arduino!

Here is a video of it in action!

What’s required?

  • Playlist(s) on your Dreambox Media Player
  • Dreambox ip, user and password for telnet

How does it work?

  1. Updates the playlist /etc/enigma2/playlist.e2pls via Telnet
  2. Loads the Media Player (Web Remote commands)
  3. Starts Playing the Playlist (Web Remote commands)

Feel free to check out the Code & Schematics for a better understanding of how it works.

Picture below is of the arduino, Ethernet shield and the ID-20 RFID reader.

20120312-224117.jpg

I will be updating this in the future to be more flexible by running a webserver on the arduino to save configurations.

Few more pics on a prototype board now with LED! … when a card is read the light flashes.

20120314-125429.jpg

20120314-125441.jpg

20120314-125459.jpg

HumpA

RFID tags over TXC1 / RXB1 (433Mhz) with VirtualWire

Ever wanted to send your already unsecure RFID tag over 433Mhz with VirtualWire? now you can!

Why? no real reason just for the fun of it!

I have put the ID-20 and the TXC1 (specsheet) on an Arduino UNO R3 to send RFID tags over 433Mhz to the RXB1 (specsheet) which is sitting on an Ethermega 2560 from Freetronics.

I have modified VirtualWire.cpp so it doesn’t use the same standard pins as the Ethernet Shield so the attached version uses: vw_ptt_pin = 5; | vw_rx_pin = 6; | vw_tx_pin = 7; which you can download here

Original VirtualWire by MikeM and his site can be found here

Transmitter code and the schematics

Receiver code and the schematics

Dreambox playlist controlled via RFID!

So I have set myself a challenge! I want to control the playlists on my Dreambox with RFID cards!

Why you may ask? So my 1yo and 2yo can switch between Mickey Mouse, Peppa Pig and their other favorite shows just by swiping the correct RFID card!

Updates to come soon!

Cheers
HumpA

Arduino Thermometer

Here is my first attempt at Arduino!

After getting my hands on the Sparkfun Inventors Kit I have gone Arduino mad…

Below is a TMP36 sensor connected with an RGB LED, Piezo & the lcd-keypad-shield from Freetronics.

Depending on the button pressed the LCD will display temp in Fahrenheit or Celsius + an extra silly message!

Here is the code and the schematics… remember it was my fist attempt so be nice!

Cheers
Humpadilly

20120306-090941.jpg