This flasher moves, while lighting of LED drags on.
The brightness of LED is four kinds, bright, less bright, almost dim and dim. These lighting states are moved with time.
Control of brightness is performed in lighting time of LED like PWM(Pulse Width Modulation).
There is no PWM function in PIC16F84A. Therefore, I divided lighting of LED into four cycles, and controlled them. It is “Bright” when all periodic lightings are carried out. 2 cycle lighting state is “Less bright”. 1 cycle lighting state is “almost dim”. It is “Dim” in OFF a total cycle.
At first, I was going to prepare much more cycles. However, because PIC16F84A carried only 1K-word program memory, I made into four cycles.
Read More Source:http://www.hobby-elec.org/e_pic6_b.htm
Thank you.
Related Links
More about PIC Microcontroller
More circuit about IC PIC16F84
More circuit about 16f84a project
Driving Bipolar Stepper Motors by PIC16F84
LED 7 segment Count Down Alarm by PIC16F84
3V Lamp flasher High Current by LM3909
Led display for battery low volt
1.5 Volt LED Flashers by 2N3904
10 LED Flashing using CD4017
This entry was posted on Monday, February 4th, 2008 at 8:36 am and is filed under LED Flasher, microcontroller.



