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.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…