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.

Desgin, two switch buttons and one lamp.. HELP!

Status
Not open for further replies.

Tweety1

New Member
Hello,

Please Help me with this.

I want to design using microprocessor controller "2 switch push buttons and one lamp with 4 different luminance value (0,1/4,1,2 and 1)..
when you press the first push buttons the light dims and the second push buttons the light gets bright..

- Draw a block diagram showing the system
-Design a flowchart
 
You can do this by driving the lamp off of a PWM output of your microcontroller. You would increase the duty cycle with one push button and decrease it with the other. You would have to create an approriate interface circuit for the lamp depending on what kind it is (i.e. incandescent, LED, etc). You can probably get some ideas by searching for light dimmer circuits.
 
Status
Not open for further replies.

Latest threads

New Articles From Microcontroller Tips

Back
Top