Christopher Mendez Martinez
Published © GPL3+

AC Dimmer for Lighting and Motors W/ Raspberry Pi

We will be giving life to an old project, a AC Dimmer, lighting and motors controller. (8 Amps max, and 120vAC) w/ the Raspberry Pi

BeginnerFull instructions provided2 hours1,765
AC Dimmer for Lighting and Motors W/ Raspberry Pi

Things used in this project

Hardware components

Raspberry Pi 4 Model B
Raspberry Pi 4 Model B
×1
JLCPCB Customized PCB
JLCPCB Customized PCB
×1

Software apps and online services

Home Assistant
Home Assistant

Story

Read more

Custom parts and enclosures

Boton.stl

Tuerca.stl

Enclosure.stl

Tapa.stl

Schematics

Schematics

Code

AC dimmer block code

YAML
This goes under the initial setup of your node
output:
  - platform: ac_dimmer
    id: dimmer1
    gate_pin: D7
    zero_cross_pin:
      number: D6
      mode: INPUT
      inverted: yes

light:
  - platform: monochromatic
    output: dimmer1
    name: Dimmerized Light

Credits

Christopher Mendez Martinez
35 projects • 78 followers
Electronic Engineer and Tech YouTuber who loves automation, programming and sharing his knowledge with everyone.

Comments