Yahoo Groups archive

AVR-Chat

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

Thread

Light dimmer signal to digital converter?

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

Re: [AVR-Chat] Light dimmer signal to digital converter?

2007-07-16 by Ralph Hilton

On Mon, 16 Jul 2007 14:33:44 +0200 (CEST) you wrote:

>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

In practice a lot of optocouplers will function with a lot less than 20mA. In
one circuit I use an SFH601-4 at only 2mA.
--
Ralph Hilton
http://www.ralphhilton.org
C-Meter: http://www.cmeter.org
FZAOINT http://www.fzaoint.net

Re: [AVR-Chat] Light dimmer signal to digital converter?

2007-07-16 by BobGardner@aol.com

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

Drive a small incandescent 230V bulb in a black tube with a light sensitive resistor.
This will give a reading proportional to brightness, which is what you are interested in.


________________________________________________________________________
AOL now offers free email to everyone.  Find out more about what's free from AOL at AOL.com.


[Non-text portions of this message have been removed]

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.