PI-36O‘rtaPremium
Raspberry Pi Pico IR Remote Control for an LED and a Relay (IR Receiver + Relay + LED)
Turn the light on with a remote! We are building a remote-controlled LED and socket with a Raspberry Pi Pico, an IR receiver and a relay. 1 toggles the relay, 2 the LED; + and − change the LED brightness in 5 steps, PLAY starts a breathing mode and 3 runs the relay on a timer. NEC codes are decoded without a library, from pulse times measured with an interrupt.
0.0(0)

The foundation for controlling a lamp or fan at home with a remote: an infrared receiver catches the remote's keys, and the Raspberry Pi Pico controls a relay and an LED. Key 1 switches the relay and key 2 the LED on and off, plus and minus change the brightness in five steps, and the play key makes the LED fade in and out as if it were breathing. Key 3 turns the relay on for eight seconds, and the power key switches everything off, or on, in one go.
Relay note: This board runs on 3.3 V. Use a relay module with an optocoupler that can be triggered by a 3.3 V signal; 5 V modules without an optocoupler may not switch off with a 3.3 V signal.
Manba kodi
Premium kontent
Bu loyihaning manba kodi, blokli ko‘rinishi va ko‘p so‘raladigan savollari Premium a’zolar uchun ochiq.
- Barcha loyiha kodlari
- Blokli ko‘rinish
- Ko‘p so‘raladigan savollar
