Yahoo Groups archive

AVR-Chat

Index last updated: 2026-04-28 22:41 UTC

Message

Light dimmer signal to digital converter?

2007-07-16 by Manne Tallmarken

Hello folks,

I have a 230 V AC power line that is connected to a light dimmer. I want
to determine how much this signal is dimmed, e.g. what the duty cycle is
(i guess the dimmer regulates the duty cycle?). 8-Bit precision is enough
(or less as well)

Any suggestions how to connect the power line to the microcontroller?

My first thought was to connect a resistor and zener diode in series and
an optocoupler over the diode, thereby making it possible to read the
value from the other side of the optocoupler, but all optocouplers seems
to need at least 20 mA through the led which would make the resistor
suffer 4.5 watts...

Regards,

Manne Tallmarken

Attachments

Move to quarantaine

This moves the raw source file on disk only. The archive index is not changed automatically, so you still need to run a manual refresh afterward.