Dimming of 4 channels of LED lights based on time of day.

No. of unique components: 15.

Mosfet

Connected to ESP32 IO pins 5, 12, 13, 14.

Function

Each MOSFET will PWM 12V 5A LED modules.

Components

Change mosfet to: PMV16XNR

Component Part Info Link JLCPCB
MOSFET IRLZ44NPBF-HXY 60V 60A 17mΩ 1PCSNChannel TO-220 MOSFETs ROHS link
JST 2 pin connector HDGC2001WR-S-2P
1x2P 2P PH 1 2mm 2 -25℃~+70℃ 5A Horizontal attachment SMD,P=2mm,Surface Mount,Right Angle Wire To Board Connector ROHS link
Resistor 10kOhm 0603WAF1002T5E 100mW Thick Film Resistors 75V ±100ppm/℃ ±1% 10kΩ 0603 Chip Resistor - Surface Mount ROHS link
Resistor 150Ohm 0603WAF1500T5E 100mW Thick Film Resistors 75V ±100ppm/℃ ±1% 150Ω 0603 Chip Resistor - Surface Mount ROHS link
Flyback diode MBR1060DT 60V 10A 700mV@5A TO-252 Schottky Diodes ROHS link
Capacitor 10uF GRM32ER71J106KA12L 63V 10uF X7R ±10% 1210 Multilayer Ceramic Capacitors MLCC - SMD/SMT ROHS link

Schematic

image.png

Clock

Connected to ESP32 IO pins 13, 14.

Function

To time dimming of LEDs based on time of day.

Components

Component Part Info Link JLCPCB
RTC DS3231MZ+TRL I2C SOIC-8 Real Time Clocks ROHS link
Pull down resistor 10k 0603WAF1002T5E 100mW Thick Film Resistors 75V ±100ppm/℃ ±1% 10kΩ 0603 Chip Resistor - Surface Mount ROHS link
Capacitor 100nF CL10B104KB8NNNC 50V 100nF X7R ±10% 0603 Multilayer Ceramic Capacitors MLCC - SMD/SMT ROHS link
CR2032 battery holder CR2032-BS-6-1 Battery holder CR2032 SMD Button And Strip Battery Connector ROHS link

Schematic

image.png

image.png

Rotary encoder