Searching \ for '[PIC:] Sample circuits for 240V Lamp dimmer?' in subject line. ()
Make payments with PayPal - it's fast, free and secure! Help us get a faster server
FAQ page: www.piclist.com/techref/microchip/devices.htm?key=pic
Search entire site for: 'Sample circuits for 240V Lamp dimmer?'.

Exact match. Not showing close matches.
PICList Thread
'[PIC:] Sample circuits for 240V Lamp dimmer?'
2004\02\06@044002 by Andre Miller

flavicon
face
Hi,

Does anyone know of any sample circuits to build a lamp dimmer controlled by
a PIC? I actually have no idea where to start. I did a search on the piclist
and found how to dim a LED using PWM.

I want to dim a 240V AC, 200 Watt incandescant lamp. It would be nice if I
could drive more than one dimmer from a PIC16F628.

-
Andre' Miller

--
http://www.piclist.com hint: PICList Posts must start with ONE topic:
[PIC]:,[SX]:,[AVR]: ->uP ONLY! [EE]:,[OT]: ->Other [BUY]:,[AD]: ->Ads

2004\02\06@045243 by

picon face
Andre Miller wrote :

> Does anyone know of any sample circuits to build a lamp
> dimmer controlled by  a PIC? I actually have no idea
> where to start. I did a search  on the piclist
> and found how to dim a LED using PWM.
>
> I want to dim a 240V AC, 200 Watt incandescant lamp. It
> would be nice if I could drive more than one dimmer from
> a PIC16F628.

Hi.

Search for "triac" and/or "opto-triac".

What specificaly is it about this issue that
you are unsure about ? Timing ? Connection ?
Selection of components ?

Driving multiple triacs would be a little more
harder then a single line with regard to the
timing (phase control).

I have a half-developed (software more or less
ready, but no 240V connection yet) for a 12F629.
Phase control (50Hz), and an IR interface ("on", "off",
"up", "down" and "set-to-specific-level" command on the
IR link. Saving of the dim-level in EEPROM. Soft-on
when powered on to the saved level.

It uses software for a 18F1220 in a "remote" unit using
a rotary encoder for the up/down control.

Jan-Erik.


This communication is confidential and intended solely for the addressee(s). Any unauthorized review, use, disclosure or distribution is prohibited. If you believe this message has been sent to you in error, please notify the sender by replying to this transmission and delete the message without disclosing it. Thank you.

E-mail including attachments is susceptible to data corruption, interruption, unauthorized amendment, tampering and viruses, and we only send and receive e-mails on the basis that we are not liable for any such corruption, interception, amendment, tampering or viruses or any consequences thereof.

--
http://www.piclist.com hint: PICList Posts must start with ONE topic:
[PIC]:,[SX]:,[AVR]: ->uP ONLY! [EE]:,[OT]: ->Other [BUY]:,[AD]: ->Ads

2004\02\06@050114 by Jinx

face picon face
You can go here for background info (WOW, so turquoise !)

http://ubasics.com/adam/electronics/doc/phasecon.shtml

A zero-crossing detector

http://home.clear.net.nz/pages/joecolquitt/txless.html

Basically what you need to do is find the start of the cycle
so that the micro can do its timing and fire the triac at the
correct point. The triac will turn itself off at almost the next
zero-cross

It will be very helpful if you have a dual-beam oscilloscope
(don't forget to isolate the circuit !!) so that you can see both
the input and output to fine tune the timing

--
http://www.piclist.com hint: PICList Posts must start with ONE topic:
[PIC]:,[SX]:,[AVR]: ->uP ONLY! [EE]:,[OT]: ->Other [BUY]:,[AD]: ->Ads

2004\02\06@050528 by Andre Miller

flavicon
face
Hi,

I'm mostly looking for how to actually design the triac load driving circuit
and how to get the zero-crossing input to the PIC. That, and component
selection.

On the software side I'm sure I can work out the timing, but my knowledge of
analog electronics is not very good :-)

_____  
André Miller        


{Original Message removed}

2004\02\06@050531 by Dmitriy Fitisov

flavicon
face
I think the specific may be to have non-linear function - something let say,
to start regulate from 60% of power to 100% because in 40% for example - I
doubt
220V conventional lamp will work.


{Original Message removed}

2004\02\06@051812 by

picon face
Andre Miller wrote :

> I'm mostly looking for how to actually design the triac load
> driving circuit...

Every major triac manufacturer has *loads* of
application notes about this.

For a simple solution (not the cheapest), look at the
Sharp line of opto-triacs. See :
http://dkc3.digikey.com/PDF/T041/1024.pdf for a good
list of them. Check the specific Digikey part no's
for a data sheet on each.

Or combine a standard traic with a low-power
opto-triac-trigger (such as the MOC-xxxx line).


> ...and how to get the zero-crossing input to the PIC.

I'd suggest a "AC-opto-coupler". These was made for this task.

Just look around, triacs is an area with a lot of
information, data sheets and application notes "out there".

Jan-Erik.

This communication is confidential and intended solely for the addressee(s). Any unauthorized review, use, disclosure or distribution is prohibited. If you believe this message has been sent to you in error, please notify the sender by replying to this transmission and delete the message without disclosing it. Thank you.

E-mail including attachments is susceptible to data corruption, interruption, unauthorized amendment, tampering and viruses, and we only send and receive e-mails on the basis that we are not liable for any such corruption, interception, amendment, tampering or viruses or any consequences thereof.

--
http://www.piclist.com hint: PICList Posts must start with ONE topic:
[PIC]:,[SX]:,[AVR]: ->uP ONLY! [EE]:,[OT]: ->Other [BUY]:,[AD]: ->Ads

2004\02\06@060122 by Thys

flavicon
face
There are some app notes on the Microchip website under home automation on
dimmers. It covers most of the topics you have noted.

http://www.microchip.com/download/appnote/rdesigns/40171a.pdf

Thys

{Original Message removed}

2004\02\06@063645 by Andre Miller

flavicon
face
Thanks Jan,

This is enough to get me started, I'm sure I'll be back after blowing a few
pic's to ask more questions ;-)

 _____  
André Miller        



{Original Message removed}

2004\02\06@092729 by Byron A Jeff

face picon face
On Fri, Feb 06, 2004 at 01:35:51PM +0200, Andre Miller wrote:
> Thanks Jan,
>
> This is enough to get me started, I'm sure I'll be back after blowing a few
> pic's to ask more questions ;-)

If you use an opto-triac, there is no reason why you would blow up any PICs,
as the opto-triac is designed to isolate your low voltage circuitry from the
high voltage circuitry.

BAJ

--
http://www.piclist.com hint: PICList Posts must start with ONE topic:
[PIC]:,[SX]:,[AVR]: ->uP ONLY! [EE]:,[OT]: ->Other [BUY]:,[AD]: ->Ads

2004\02\06@093657 by Andre Miller

flavicon
face
Well unless I'm being clumsy :-)

 _____  
André Miller        


-----Original Message-----
From: pic microcontroller discussion list [spam_OUTPICLISTTakeThisOuTspamMITVMA.MIT.EDU] On
Behalf Of Byron A Jeff
Sent: 06 February 2004 04:26 PM
To: .....PICLISTKILLspamspam@spam@MITVMA.MIT.EDU
Subject: Re: [PIC:] Sample circuits for 240V Lamp dimmer?


On Fri, Feb 06, 2004 at 01:35:51PM +0200, Andre Miller wrote:
> Thanks Jan,
>
> This is enough to get me started, I'm sure I'll be back after blowing
> a few pic's to ask more questions ;-)

If you use an opto-triac, there is no reason why you would blow up any PICs,
as the opto-triac is designed to isolate your low voltage circuitry from the
high voltage circuitry.

BAJ

--
http://www.piclist.com hint: PICList Posts must start with ONE topic:
[PIC]:,[SX]:,[AVR]: ->uP ONLY! [EE]:,[OT]: ->Other [BUY]:,[AD]: ->Ads

--
http://www.piclist.com hint: PICList Posts must start with ONE topic:
[PIC]:,[SX]:,[AVR]: ->uP ONLY! [EE]:,[OT]: ->Other [BUY]:,[AD]: ->Ads

2004\02\06@112739 by Ted Melton

picon face
You won't believe how BRIGHT a PIC (JW) glows when 120 VAC accidently goes throught it :-)
Ted

Andre Miller wrote:

{Quote hidden}

>{Original Message removed}

2004\02\06@132519 by Jim Franklin

flavicon
face
Well, Imagine how bright we brits can get them on 240V...


-----Original Message-----
From: pic microcontroller discussion list
[PICLISTspamKILLspamMITVMA.MIT.EDU]On Behalf Of Ted Melton
Sent: 06 February 2004 16:22
To: .....PICLISTKILLspamspam.....MITVMA.MIT.EDU
Subject: Re: [PIC:] Sample circuits for 240V Lamp dimmer?


You won't believe how BRIGHT a PIC (JW) glows when 120 VAC accidently
goes throught it :-)
Ted

Andre Miller wrote:

{Quote hidden}

On
{Quote hidden}

addressee(s).
{Quote hidden}

--
http://www.piclist.com hint: PICList Posts must start with ONE topic:
[PIC]:,[SX]:,[AVR]: ->uP ONLY! [EE]:,[OT]: ->Other [BUY]:,[AD]: ->Ads

--
http://www.piclist.com hint: PICList Posts must start with ONE topic:
[PIC]:,[SX]:,[AVR]: ->uP ONLY! [EE]:,[OT]: ->Other [BUY]:,[AD]: ->Ads

2004\02\08@123117 by p.cousens

flavicon
I would try using a bridge rectifier in series with the lamp, transistor
across the DC output and pmw the transistor at whatever freq you like
(above 500hz)



P.Cousens

--
http://www.piclist.com hint: The PICList is archived three different
ways.  See http://www.piclist.com/#archives for details.

2004\02\08@164613 by John N. Power

flavicon
face
> From:         Andre Miller[SMTP:@spam@andre.millerKILLspamspamBLUERIVER.CO.ZA]
> Sent:         Friday, February 06, 2004 4:39 AM
> To:   KILLspamPICLISTKILLspamspamMITVMA.MIT.EDU
> Subject:      [PIC:] Sample circuits for 240V Lamp dimmer?

> Hi,

> Does anyone know of any sample circuits to build a lamp dimmer controlled by
> a PIC? I actually have no idea where to start. I did a search on the piclist
> and found how to dim a LED using PWM.

> I want to dim a 240V AC, 200 Watt incandescant lamp. It would be nice if I
> could drive more than one dimmer from a PIC16F628.

> Andre' Miller

See Circuit Cellar #144, July 2002, page 21: "AVR MCU-Based AC Phase
Controller". The circuit shown uses an Atmel AT90S2313, but the idea can
be ported to a PIC. The circuit is for 120 volt line. To adapt to 240 volts, the
triac and optocoupler (MOC3009) will have to be upgraded for voltage. The
software is available for download from the Circuit Cellar web site; it could
be used as a guide for writing your own PIC code.

John Power

--
http://www.piclist.com hint: The PICList is archived three different
ways.  See http://www.piclist.com/#archives for details.

2004\02\09@025724 by Andre Miller

flavicon
face
Hi John,

Do you know if this article is available online? I tried going to
http://www.circuitcellar.com but couldn't find that specific article online (found
two others from the same issue though).



-
See Circuit Cellar #144, July 2002, page 21: "AVR MCU-Based AC Phase
Controller". The circuit shown uses an Atmel AT90S2313, but the idea can be
ported to a PIC. The circuit is for 120 volt line. To adapt to 240 volts,
the triac and optocoupler (MOC3009) will have to be upgraded for voltage.
The software is available for download from the Circuit Cellar web site; it
could be used as a guide for writing your own PIC code.

John Power

--
http://www.piclist.com#nomail Going offline? Don't AutoReply us!
email RemoveMElistservTakeThisOuTspammitvma.mit.edu with SET PICList DIGEST in the body

2004\02\09@101511 by hugo boss

picon face
"John N. Power" <spamBeGonejpowerspamBeGonespamBCPL.NET> wrote:> From: Andre Miller[SMTP:TakeThisOuTandre.millerEraseMEspamspam_OUTBLUERIVER.CO.ZA]
> Sent: Friday, February 06, 2004 4:39 AM
> To: RemoveMEPICLISTspamTakeThisOuTMITVMA.MIT.EDU
> Subject: [PIC:] Sample circuits for 240V Lamp dimmer?

> Hi,

> Does anyone know of any sample circuits to build a lamp dimmer controlled by
> a PIC? I actually have no idea where to start. I did a search on the piclist
> and found how to dim a LED using PWM.

> I want to dim a 240V AC, 200 Watt incandescant lamp. It would be nice if I
> could drive more than one dimmer from a PIC16F628.

> Andre' Miller

See Circuit Cellar #144, July 2002, page 21: "AVR MCU-Based AC Phase
Controller". The circuit shown uses an Atmel AT90S2313, but the idea can
be ported to a PIC. The circuit is for 120 volt line. To adapt to 240 volts, the
triac and optocoupler (MOC3009) will have to be upgraded for voltage. The
software is available for download from the Circuit Cellar web site; it could
be used as a guide for writing your own PIC code.

John Power

--
http://www.piclist.com hint: The PICList is archived three different
ways. See http://www.piclist.com/#archives for details.



Try this link:

http://www.mikroelektronika.co.yu/english/magazine/articles/03.htm

bye


---------------------------------
Do you Yahoo!?
Yahoo! Finance: Get your refund fast by filing online

--
http://www.piclist.com#nomail Going offline? Don't AutoReply us!
email listservEraseMEspam.....mitvma.mit.edu with SET PICList DIGEST in the body

2004\02\09@143641 by John N. Power

flavicon
face
> From:         Andre Miller[SMTP:EraseMEandre.millerspamBLUERIVER.CO.ZA]
> Sent:         Monday, February 09, 2004 2:55 AM
> To:   RemoveMEPICLISTEraseMEspamEraseMEMITVMA.MIT.EDU
> Subject:      Re: [PIC:] Sample circuits for 240V Lamp dimmer?

> Hi John,

> Do you know if this article is available online? I tried going to
> http://www.circuitcellar.com but couldn't find that specific article online (found
> two others from the same issue though).

>> See Circuit Cellar #144, July 2002, page 21: "AVR MCU-Based AC Phase
>> Controller". The circuit shown uses an Atmel AT90S2313, but the idea can be
>> ported to a PIC. The circuit is for 120 volt line. To adapt to 240 volts,
>> the triac and optocoupler (MOC3009) will have to be upgraded for voltage.
>> The software is available for download from the Circuit Cellar web site; it
>> could be used as a guide for writing your own PIC code.

>>John Power

     I should have mentioned this along with the other information: The article is
     one of two which were bundled together as a pair of short project articles.
     The combined article is titled "Short Solutions". The second article (actually
     the first of the two) is "Build a Graphics LCD Bias Supply".

     John Power

--
http://www.piclist.com#nomail Going offline? Don't AutoReply us!
email RemoveMElistservspam_OUTspamKILLspammitvma.mit.edu with SET PICList DIGEST in the body

More... (looser matching)
- Last day of these posts
- In 2004 , 2005 only
- Today
- New search...