Skip to content

Latest commit

 

History

History
27 lines (17 loc) · 1.18 KB

README.md

File metadata and controls

27 lines (17 loc) · 1.18 KB

IRrelay

Turn on a lamp with a relay and a remote control

Upgrade

  • 19/05/2021 - Memory was filled abnormally. I have inserted a gc.collect() instruction, to free up the memory at each cycle. Also, the decode_it() function has been rewritten. Now 6 readings are carried out at each cycle in order to read 3 bits.

Project

With this project I want to switch a relay on and off using a remote control that I don't use. Image

With this project https://github.com/DannyOnkies/ObtainIRcodes I was able to find out which decimal codes the remote emitted and this was useful for me in this project.

Video

In this video you can see how the program works.

IR_COMMAND.mp4

Wiring diagram

Below you can see the wiring diagram of the circuit. IR_Command_schem

An image of the components. IR_Command_bb