Continue to Site

Welcome to our site!

Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.

  • Welcome to our site! Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.

Triac? (Controlling light bulb with micro)

Status
Not open for further replies.

fat-tony

Member
I'm trying to control a resistive 120V (2 lightbulbs actually) using a microcontroller. Outputting hi/low signals is no problem, but how do I actually switch the load? I'm assuming (based on what I've seen here and elsewhere) that a triac is the right way to do this, but.... I don't understand how they are actually implemented.

Any suggestions?
 
Logic control of a light bulb

Yes that is the way to do it. Use a opto coupler like the MOC3031 to control the triac. The logic level from the computer will drive the triac.
:lol:
 
That's making some sense :)


I especially like the opto-isolator first, since I don't really want to have a way for the mains voltage to hit my micro.
 
see www.microchip.com

type lamp dimmer in the search

a complete microcontroller schematic is there using a triac.i think it will be of some help for u.
 
Hey hey, why to be so complicated?
Triacs are mostly recommended if you want to trigger the load in high speed, like shaping the 60Hz wave form(dimmer do this) or switching something quickly.
If you just want to switch a load with slow rate (less than 1 time per second), use a relay.
Just choose one that will support the load currect. If your load is a regular 100W 120VAC lamp, the current will be only 0.8A and most micro relays support it.
if your triggering ciscuit doesn't have enough currect to direct connect to the relay coil, use some current driver as attached.

Nilo
 

Attachments

  • Imput_118.jpg
    Imput_118.jpg
    12.2 KB · Views: 1,293
Status
Not open for further replies.

Latest threads

New Articles From Microcontroller Tips

Back
Top