Summary of [SPONSORED POST] INFRARED WIRELESS RELAY SWITCH
This article details a DIY infrared-based wireless switch project allowing users to control home appliances like lights or coffee makers using standard TV remotes. The system utilizes a TSOP1738 receiver and a CD4017 decade counter to toggle appliance states without manual switching, leveraging PCBGOGO for PCB manufacturing to simplify the build process.
Parts used in the Infrared Wireless Switch:
- Decade Counter CD4017
- Infrared Receiver TSOP1738
- 1N4007 Diode
- 7805 IC
- BC558 and BC548 transistors
- 100, 220k, 470 and 1k ohm resistors
- Two LEDs
- 33μF, 100μF and 0.1μF Capacitors
- Relay 5V, 100 Ω
Do you find it hard to get up from your cozy bed at night, just to turn off the lights? Do you want to operate your home appliances simply by a click of your TV remote? Home appliances include all types of electrical equipment available in your home. It does not matter whether it is a washing machine or a coffee maker. So, if you are lazy enough or maybe just love using technology, this project is for you!
We will walk you through the build process of the infrared-based wireless switch. In simple terms, it is a switch that you can operate using your TV, DVD player or any other remote. The best part of this project is that PCBGOGO, a PCB manufacturing company based in China, makes it super easy to construct it. You no longer need to go through the hard and time-consuming process of making a PCB yourself. PCBGOGO has your back! And they don’t even charge much!
Circuit Diagram
Figure 1 shows the circuit diagram of this project. The wireless switch can be simply made by using TSOP1738 infrared receiver, decade counter CD4017 and other easy to find components.
So, based on Figure 1, we will need the following components to begin making this wireless switch:
- Decade Counter CD4017
- Infrared Receiver TSOP1738
- 1N4007 Diode
- 7805 IC
- BC558 and BC548 transistors
- 100, 220k, 470 and 1k ohm resistors
- Two LEDS
- 33μF, 100μF and 0.1μF Capacitors
- Relay 5V, 100 Ω
Operation
Home remote controls such as your TV’s remote, emits infrared rays when any button is pressed. Each button produces its unique pattern of infrared waves. So, when you will press a button on your TV remote, IR rays will fall on TSOP1738 infrared receiver. Its output pin 3 will go low as it is active low and the transistor Q1 will amplify the signal to feed it to the clock input of CD4017.
Assuming that the decade counter is at reset state, output Q0 will go high and other outputs will be low. LED D2 will be glowing at this time, indicating that the appliance is in the off state. Clock signal will be generated in the decade counter as soon as it gets signal from the transistor Q1. Output Q1 will go high and LED D1 will start to glow. Transistor Q2 will also turn on and the relay will be energized. LED D1 will stop glowing at this time.
Now, to turn off the appliance, you will need to press the remote again. Q0 will again become high and LED D2 will start to glow, indicating that your appliance has been turned off. CD4017 is working as a bistable multivibrator as we have connected the output Q2 (4th pin) with Reset MR (15th pin). 16th and 8th pins are VCC and GND pins, respectively. 13th pin is the enable pin. It is connected to the ground since IC is active low.
Some other noteworthy connections are the 2nd and 1st pins of TSOP1738, they are the VCC and GND pins respectively. The 100 Ω resistor and 33μF capacitor are used to smooth the noise in power supply.
Read More: [SPONSORED POST] INFRARED WIRELESS RELAY SWITCH
- What components are required to build this wireless switch?
The project requires a Decade Counter CD4017, Infrared Receiver TSOP1738, 1N4007 Diode, 7805 IC, BC558 and BC548 transistors, various resistors, two LEDs, specific capacitors, and a 5V relay. - How does the remote control activate the switch?
Pressing a button on the TV remote emits infrared rays that hit the TSOP1738 receiver, causing its output pin to go low and amplifying the signal via transistor Q1. - Can I use any type of remote control for this project?
Yes, the switch can be operated using your TV, DVD player, or any other remote that emits infrared waves. - How does the circuit indicate the appliance is off?
When the appliance is off, the output Q0 goes high and LED D2 glows to indicate the state. - How do you turn the appliance back on using the remote?
Pressing the remote again triggers the clock signal, making output Q1 go high, which turns on transistor Q2 and energizes the relay. - What role does the CD4017 play in this circuit?
The CD4017 functions as a bistable multivibrator by connecting output Q2 to the Reset MR pin to toggle states. - Why are a 100 Ω resistor and 33μF capacitor used?
These components are used to smooth out noise in the power supply. - Is it necessary to make the PCB yourself for this project?
No, the article suggests using PCBGOGO to manufacture the PCB, avoiding the hard and time-consuming process of making one yourself.
![[SPONSORED POST] INFRARED WIRELESS RELAY SWITCH](https://pic-microcontroller.com/wp-content/uploads/2018/12/SPONSORED-POST-INFRARED-WIRELESS-RELAY-SWITCH.jpg)