You know the problem: you're sat in bed reading a good book (or on Facebook, whatever) and you want to turn the light off without getting out of bed. Maybe some remote controlled lights would be perfect? That's what I thought anyway :) My imagination then got a bit carried away, and I decided it should have different colours, red, green and blue for mood lighting, and white for reading etc. Hence this project :)

This instructable is for making lights (or pretty much anything) respond to signals from a tv remote control. To showcase this, I have made this LED mood lighting thingy, where you can choose what colour lights you want on by pressing different buttons on the remote. I have tried to make this instructable as easy to adapt as possible so you can use your remote control to er, control anything :)

The backbone of this project is the PICaxe series of programmable ICs, If you're not familiar with them there are loads of good instructables around and they are very easy to work with. You could adapt this project to make it run several motors for a robot, or an OLED screen or much, much more. The good thing about PICaxe is that the chips are so cheap you can make a project and leave the chip in, rather than for example using arduino (the chip featured in this project cost £1, and an arduino uno board costs £20)

This project is split into three main sections, the input, the control board and the download circuit. The input features an infrared receiver, the main board houses the PIC and the output connections and decodes the signal from the infrared receiver and the download circuit connects to the main board to allow you to download a program from your PC to the PICaxe chip.

This may not be the simplest as it does require you to know how to use transistors and resistors and create a reasonably simple circuit using stripboard, but anyone should be able to do it with a bit of care. So let's get started!

Step 1: Preparation

You will need quite a bit of stuff for this project, as well as a reasonable working knowledge of electronics:

Main Board Components:
PICaxe 08m chip (or larger if you want more outputs)
DIL socket with the same number of pins as your chip
Stripboard (size depends on chip and output components)
Transistors (I used bc639s for the LEDs, you may need TIP31s for motors)
Terminal Blocks (I used 7)
Resistors (300r, 100r, several of each, close values can be used instead)
5v power supply (I used 4xAA rechargable batteries to make 4.8v)
Single-core wire
Whatever output components you want :) I used a pack of these LEDs

Infrared Reciever Components:
38khz Infrared photo module (has three legs and a sort of dome thing on the front)
4.7uf capacitor
Resistors (330r, 4k7, one of each)
Single-core wire

Download Circuit Components:
3.5mm Stereo download socket 
Resistors (180r, 22k, 10k, one of each)
Single-core wire

All these components shouldn't cost more than about £5 ($8) if you know where to look :)

Tools/other stuff:
Wire cutters/strippers
Soldering stuff
Helping Hand
Saw capable of cutting stripboard (I used an x-acto)
Something to make a case out of (I used cardboard and PVA glue; you could make a nice version from wood or acrylic, maybe)
Sony TV remote (or a universal remote programmed to Sony tv codes, or this)
PICaxe download cable (USB or serial, both work with the version of the download circuit in this instructable)
Terminal-block-sized screwdriver
Drill with 3mm bit

There is some very useful info here and here in the PICaxe manuals.

About This Instructable




Bio: I'm an Engineering student making cool stuff in my spare time, mostly modelmaking and electronics - at least, it's cool if you're as ... More »
More by TurboSnail:Simple Quick Aluminium Doorstop Using DC Power Supplies (+ Recycling!) Detailing Model Buildings With LEDs and Furniture 
Add instructable to: