Infrared Remote Control Decoder & Switcher using Arduino
Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.

Infrared Remote Control Decoder & Switcher using Arduino

by sam_moshiri on Fri Jun 04, 2021 4:14 pm

Infrared remote controllers are everywhere around us. The majority of home devices are controlled using infrared remote controls. In this article/video, we learn to build a device that can decode (almost) any IR remote control and use the instructions to switch the relays (loads). So we can use this feature in a variety of applications without buying a new IR remote control and expensive hardware, such as turning ON/OFF the lights, opening/closing the curtains, ... etc. I have used an ATTiny85 microcontroller as the heart of the circuit. The device can record up to three IR codes in the EEPROM memory and switch 3 separate devices. Each relay can handle the currents up to 10A. The load switching mechanism (momentary ON/OFF, toggling, .. etc) can be programmed by the user.

I used Altium Designer 21.4.1 and the SamacSys component libraries (SamacSys Altium Plugin) to design the Schematic and PCB. I also used the Siglent SDS2102X Plus/SDS1104X-E to analyze the IR signals.

The device works stable and reacts well to the transmitted IR signals. So let’s get started and build this puppy!

YouTube: https://youtu.be/rpQ0OEZ6NcY





Article: https://www.pcbway.com/blog/technology/Infrared_Remote_Control_Decoder___Switcher_Board.html

[1]: L7805 datasheet: https://www.st.com/resource/en/datasheet/l78.pdf

[2]: TS2937CW-5.0 datasheet: http://www.taiwansemi.com/products/datasheet/TS2937_E15.pdf

[3]: VS1838 infrared receiver module datasheet: https://www.elecrow.com/download/Infrared%20receiver%20vs1838b.pdf

[4]: FDN360P datasheet: https://www.onsemi.com/pdf/datasheet/fdn360p-d.pdf

[5]: ATTiny85-20SUR datasheet: http://ww1.microchip.com/downloads/en/DeviceDoc/Atmel-2586-AVR-8-bit-Microcontroller-ATtiny25-ATtiny45-ATtiny85_Datasheet.pdf

[6]: Si2302 datasheet: https://www.vishay.com/docs/63653/si2302dds.pdf

[7]: Altium Designer electronic design CAD software: https://www.altium.com/altium-designer

[8]: SamacSys Altium plugin: https://www.samacsys.com/altium-designer-library-instructions

[9]: ATTiny85 schematic symbol, PCB footprint, 3D model: https://componentsearchengine.com/part-view/ATTINY85-20SUR/Microchip

[10]: TS2937-5.0 schematic symbol, PCB footprint, 3D model: https://componentsearchengine.com/part-view/TS2937CW-5.0%20RP/Taiwan%20Semiconductor

[11]: L7805 schematic symbol, PCB footprint, 3D model: https://componentsearchengine.com/part-view/L7805CV/STMicroelectronics

[12]: SI2302 schematic symbol, PCB footprint, 3D model: https://componentsearchengine.com/part-view/SI2302DDS-T1-GE3/Vishay

[13]: FDN360P schematic symbol, PCB footprint, 3D model: https://componentsearchengine.com/part-view/FDN360P/ON%20Semiconductor

[14]: ATTinyCore: https://github.com/SpenceKonde/ATTinyCore

[15]: IRRemote library: https://github.com/Arduino-IRremote/Arduino-IRremote

[16]: Siglent SDS2102X Plus oscilloscope: https://siglentna.com/products/digital-oscilloscope/sds2000xp-series-digital-phosphor-oscilloscope

[17]: Siglent SDS1104X-E oscilloscope: https://siglentna.com/digital-oscilloscopes/sds1000x-e-series-super-phosphor-oscilloscopes

Posts: 24
Joined: Thu Apr 25, 2019 4:27 am

Please be positive and constructive with your questions and comments.