Easy-Flash |
03/30/2012
|
Note: All
pictures that follow are "clickable"
A lil' history ...
1) Design a simply and cheap programmable LED
flasher around 8-pin PIC
WANT TO BUY A PRE-PROGRAMMED & TESTED EASY-FLASH CONTROLLER PIC?
Easy-Flash Controller -
Pre-Programmed PIC Only
1) One
(1) PIC12F629 Chip (preprogrammed with Easy-Flash code) (Note: Customer is responsible for supplying LEDs and connecting wires... LEDs are sold separately in the DIYRC webstore... CLICK HERE!)
* EASY-FLASH BUILDING INSTRUCTIONS * The following procedures should be used to build your Easy-Flash circuit. 1) 2)
3) THE PIC FIRMWARE CODE FOR THIS PROJECT IS NOT FOR SALE .... SORRY The user can program one of twelve (12) possible LED flashing patterns. The first 6 are 3 speeds of alternating blinking LEDs (1, 3 and 5 are single flashes while 2, 4 and 6 are double flashes) while the last 6 are 3 speeds of alternating rotating strobe like LEDs (7, 9 and 11 are single top flashes while 8, 10 and 12 are double top flashes). The user can set the program by applying a jumper between +5 volts (pin 1 on the PIC) and the PICs pin#4. Pin#4 is normally connected to ground via the 10K resistor. By applying +5 volts to pin#4, you "pull it up" to a high level, telling the controller to advance to the next pattern. When shorted to +5v, all LEDs will glow onstantly until you remove the jumper. Upon removal, you will see the LEDs flash the # of times indicating the new pattern number now selected. You can continue jumping pin#4 to =5V to keep advancing the pattern# you like this value is stored in memory such that every time you power up the PIC, it uses this stpred value as the pattern #. Testing and Operation Instructions... *
EASY-FLASH USERS' MANUAL
*
*
EASY-FLASH USERS' MANUAL
(PDF)
*
Q1. How do you compensate for differing forward voltages and current drawn by differing LED's?
A1. Ah.... good question.... http://linear1.org/ckts/led.php
You simply enter the supply voltage (in the
controller's case, 5 volts), the LEDs forward voltage (this varies from LED to
LED) then enter the rated LED current (typically 20-25 milliamps). Then hit the
"find R" button and the program calculates the resistor value you need for that
LED (typically a 68-120 ohm resistor is required). Be careful also as there
exists some LED that already have the series resistor incorporated in the LED
(not all that common though). Once the resistor value is determined, I
usually then solder it to the end of one of the LED leads. The wires then
leading from this LED assembly is then connected directly to the controller
using a miniature machine-pin female socket (I will provide at least 8 with
every controller). Putting the series resistors on the PCB would take up
space (unless they were SMD maybe). Q2. ... A2. ....
|