625Views11Replies

Author Options:

How to fade a led in over 10 minutes, using cheap ic's? Answered

I want to fade in 4 leds over a period of 10 minutes then have then turn off after another 50 minutes or so, voltages of leds dont matter. Any ideas would be great! Thanks Cybot

11 Replies

user
frollardBest Answer (author)2009-05-27

First thing that comes to mind is a fairly large capacitor, that charges from source when you apply power - it slowly discharges through a huge resistor...and a transistor 'reads' its voltage and powers the leds from the power supply. Tweaking the resistor would adjust how long it takes to fade.

Select as Best AnswerUndo Best Answer

user
Cybot Rules (author)frollard2009-05-28

can You give a estimate of the values or a link to somewhere with a schematic / equation?

Select as Best AnswerUndo Best Answer

user
frollard (author)Cybot Rules2009-05-28

Off top of my head no...I hadn't put that much time into thinking about it :( google 'bowdens hobby circuits' - you can learn a lot by studying how those work.

Select as Best AnswerUndo Best Answer

user
Cybot Rules (author)frollard2009-06-11

i have built the circut "eyes" but cant seem to adjust the rate of fading, any ideas?

Select as Best AnswerUndo Best Answer

user
AndyGadget (author)2009-05-31

You could do this quite easily with a Picaxe 08m chip which would cost around 2 dollars. It's a programmable microcontroller which is programmed in a BASIC like language straight from your PC, and will drive up to 75mA if you tripled up the outputs (or as much as you like if via a transistor). The program would consist of nested loops, using a PWM (pulse width modulation) method to increase the brightness.
Total component count would be 3 resistors, one LED, one (8 pin) chip.

Select as Best AnswerUndo Best Answer

user
Cybot Rules (author)AndyGadget2009-05-31

Is there any pre programmed chips comercially avalible, as i want it to be so that when they are purchased i just connect then to the circut and they start, as this a project designed to be mas produced... Thanks so far :)

Select as Best AnswerUndo Best Answer

user
AndyGadget (author)Cybot Rules2009-06-01

Nothing 'off the shelf' which I know of for something that specific, but for that sort of delay a microcontroller is the way to go. The PicAxe 08 would come down to around 1 dollar 60 for quantities of 250 or more. If you went for a standard PIC solution, it would be cheaper but harder to program.

Select as Best AnswerUndo Best Answer

user
Cybot Rules (author)AndyGadget2009-06-02

Is there a way to mass program them?

Select as Best AnswerUndo Best Answer

user
AndyGadget (author)Cybot Rules2009-06-02

What sort of quantities are you thinking of? For very large quantities the most cost-effective way would be a custom die chip (ASIC). I've no idea what the breakpoint would be, but the initial tooling cost of that would be very high.

Select as Best AnswerUndo Best Answer

user
Cybot Rules (author)AndyGadget2009-06-09

Its meant to be designed for 1000+

Select as Best AnswerUndo Best Answer

user
Cybot Rules (author)Cybot Rules2009-06-12

Ive made some code - I have a Arduino- so how would i make the arduino sketch into a format for flashing onto PicAxe?

Select as Best AnswerUndo Best Answer