Instructables

Turn any IR remote control to a wireless control ON/OFF switch

Picture of Turn any IR remote control to a wireless control ON/OFF switch
ir_waveform.JPG
prototype.JPG
While building a Toastmaster timer, I needed a switch to act as a Start/Stop switch. I first built it with a long flexible coax cable, but as time went on, it turned out to be impracticable: it could be too long and people could trip on it. So I was looking for a circuit to remotely control the timer without wire, and it almost has to be cheap and built from readily available household components. Let's see what do I have around my house which can function as a wireless device. Eureka! a bunch of  old and abandoned IR remote controls.
The idea is very simple: the IR remote control sends out a stream of 10 bits, and the simplest way so far to convert this stream to a simple pulse is using an One shot circuit to generate a simple pulse when any remote button is pushed.

 
Remove these adsRemove these ads by Signing Up

Step 1: Component list

Very short: 2 IC and 4 passive elements.

555 (8 pin)
TSOP1838 (Vishay IR receiver 38Khz)
Caps: 10uF, 1uF, 0.1uF
Resistors: 18K

Step 2: Schematic

Picture of Schematic
Schematic and a remote control

Step 3: Breadboarding

Picture of Breadboarding

Step 4: Scope shot

Picture of Scope shot
Blue trace: actual IR code
Yellow trace: output of the 555: single pulse
1-40 of 50Next »
hgrancho11 days ago

sir? can we make it as a switch to a contactor? we badly needed your reply. thanks.

bic (author)  hgrancho9 days ago

This circuit only provides you with a digital output. To operate a AC switch, you need a relay. If you don't know what I am talking about, then don't try to build such a circuit, it may be dangerous messing with 120 or 220V.

bic (author)  hgrancho9 days ago

what is a contactor?

divudi21 month ago

it is great, simple and easy to handle single appliance., great.

bic (author)  divudi221 days ago
Simplicity is the design goal here.
Thank you.
hgrancho bic11 days ago

how do we connect this circuit to an appliance? or is it safe to make it as a switch to an appliace?

hgrancho bic11 days ago

how do we connect this circuit to an appliance? or is it safe to make it as a switch to an appliace?

samighi1123 days ago

I will get the parts to make this circuit and test it. What I am confused about is if I make 10 of these (for local "lego city" we are building), how do I tell which button is pressed remotely, so I know what to trigger?

Example: a) will this trigger on with any key press of a remote for this frequency? b) is it keyed to a specific key press on a specific remote+key?

thank you

sa

bic (author)  samighi1121 days ago

The circuit will trigger on any key press. That's why the design is kept simple.

i have completed the circuit but its not working. i m confused about to which pins connecting any component to run(eg. motor,led,etc.) & which pins are connected to ground(-ve).pls tell me about these.

i know that the components one terminal should have to connect to middle pin of tip1838 but which? -ve/+ve?
And where to connect another terminal of component?

whinh pins are connected to power supply?
how to connect the capacitor of 10mF?

pls tell me about these.........................

from the front side of TSOP1838 , 1st pin from left is Signal out, 2nd middle pin is for Ground and 3rd right side pin is for +ve voltage.

Wonder if you have solved this yet...

The little triangular marks means it's connected to ground, when using battery that's usually the negative pole.
Daisy jiajia2 months ago

Lots of IR ,RF and wireless remote control receiver and transmitter,pls contact me,Skype ID:jia98851,Email: wyl@zdremote.com. http://preview.alibaba.com/product/1861573545-212930085/Sound_sensor_light_remote_control_switch_with_push_cover.html

devangs35 months ago

This would work well with the Arduino too, when there would be only a requirement of only level based changes, saves controller code :) good work man!

Mohaideen7 months ago
Hi,

I want to make IR blaster. Its operation is, tv and such that devices are controlled by mobile. have any idea about this...
mpep10 months ago
Simple and effective. Well done.
indiasomu1 year ago
great idea. Thanks for the idea. You are very right using 555 IC there are some false triggers or some time due to sun light. i am so clear with the schimet trigger circuit.
i want to use your circuit to switch ON/OFF the light or fan in my room. can you help me what is the modification i have to do
danw20021 year ago
hi, is this a latching On/Off switch, or momentary? i need to just have a momentary on contact to start /stop a recorder remotely. Just need to complete the circuit every time i push the remote, this looks like it is close, just not sure if it is momentary or not ,what kind of range? i have a small canon remote from a camera that would be real nice if i could use...thanks.
bic (author)  danw20021 year ago
So long the remote button is pushed, the circuit is activated. Once you release the remote button, the circuit is deactivated. The range is quite far, it would bounce off the wall as well.
Bic
my wookie1 year ago
that's just sweet, think you could hook it up to different things through different buttons?
shawaj1 year ago
hi, i just wondered if this could be integrated in a startup/shutdown switch for a computer? how would it fair with other ir devices and remotes being used in the same area? would it respond to any ir signal?

thanks
Utsav252 years ago
Can I use this circuit for powering on my computer CPU instead of the push on-push-off button?
bic (author)  Utsav252 years ago
If you know how to design a relay driver circuit. What you need is a driver: ULN2003, and a 5V relay like the TQ2-5V. A nice feature of the ULN2003 is that it has an internal diode, and the logic is TTL.
Bic
Utsav25 bic2 years ago
Can you provide a schematic for this? I am new to electronics so it would be hard for me to design this circuit .thanks
tmcalhoun2 years ago
(removed by author or community request)
bic (author)  tmcalhoun2 years ago
What is the signal control for your musical card? Is it a logic signal? Please elaborate.
Bic
manudhiman62 years ago
I am trying to control a 3 switches to on-off state via remote. Will you please describe the receiver and the transmitter circuit.. I am not an expert so need more information.. will you please help me out!!
bic (author)  manudhiman62 years ago
The transmitter is the Remote control: any remote control, any pin.
Receiver is the integrated TSOP 1838.
Pin 3 is the logic 0-5V acting like an ON/OFF signal. This can be used on a transistor switch.
Off course if you want to control a relay, you may need a little bit more circuit.
As I understand the transmitter is just a basic IR remote control like for TV and audio. TheIR Receiver is a TSOP1838. These are available for peanuts and have ground, a plus and a signal pin.
The TSOP1838 picks up the signal from the Remoet control, regardless which button is pressed and puts that on its signal pin
The schematic is such that the 555 reacts to ant signal coming in and gives a pulse on its outpu
thanx ......thnx a lot now its working properly...............
thanx ......thnx a lot now its working properly...............
vince293 years ago
What is the function of 2N7004? Are there any substitutes?
bic (author)  vince293 years ago
The 2N7004 is just a logic level N-Mosfet, used as a driver to drive the motor since the motor pull a lot more current than an ordinary IO can provide.
Any power N-Channel mosfet with Vgs threshold of [2-4V] will do.
vince29 bic3 years ago
Thanks for your help!
I now need to buy these components and try them out.
I hope to get back to you as soon as I can
bic (author)  vince293 years ago
I found out a while later my circuit exhibited some random glitches from the IR receiver causing the 555 to fire unexpectedly. I have since designed a better circuit which does not suffer any glitch. I might may post it here.
vince29 bic3 years ago
I hope you do post it. I am sure many will benefit from it.
bic (author)  vince293 years ago
Here it is:
Instead of a 555, use a Schmidt trigger (74HC14, or 74HCT74, 74F74..) a couple of caps and resistors. Very robust. No glitches, therefore no flase triggering.
The last gates on the right with the x2 on top means 2 gates in series, so the signal is active high
P1010075.JPG
vince293 years ago
I am anxious to try this. Can you describe the receiver end? How was the toaster rigged up to receive the IR signal?
bic (author)  vince293 years ago
It is not rigged to control a toaster as in bread/toast, but as a toggle switch to control a regular timer. The output is a TTL logic level. SO I guess you can drive a relay to turn on the toaster.
vince29 bic3 years ago
Bic, Thanks for the quick response. I am a retired Civil Engineer dabbling in electronics.
My purpose is to start/stop a model type (mini) 5v DC motor remotely with an Infra Red transmitter/receiver set. I am still unfamiliar with TTL logic level. Are you saying the output pin 3 of the 555 timer can drive a relay that opens a circuit that has the motor? Can you suggest a relay?
Thanks so much!
1-40 of 50Next »