Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

How to make Fade in and fade out (pulse led)led with 89s51?

Status
Not open for further replies.

thomgun_lc

Member level 5
Joined
Jun 29, 2004
Messages
80
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,286
Activity points
911
led fade in fade out

I want to build fade in and fade out led, so the led act like heartbeat (like in the game on Need For Speed underground). Ussually i used at89s51 and programming with assembly language. Plz help me how to assembly that program. I have try it , but i only can build in one mode PWM like 4,5 volt, 3,5 volt. I want that led turn on from 5 volt and then smooth decrease to 0 volt and then increasing smoothly to 5 volt again (like running led). What must i do with the timer? How to make the timer, so the timer can decrease and increase volt of the led smoothly? Need ur help!! 8O. What interrupts must i used? timer interrupts?
Thx very much!!!
 

running led 89s51

You can adjust the brightness of the LED thru PWM. Fading is just a gradual change in the duty cycle of the PWM.
 

how to make pulsing leds

You can simply place a RC (with large time constant) before the LED.
The fade in and fade out time just simply control by the RC constant.
 

Dear Friend,

Is there any circuit for fade in and fade out LED circuit using PIC? I want LED ripple effect with fade in and fade out effects too.
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top