![]() | ![]() | ![]() |
| | |||||||
| Electronic Projects Design/Ideas/Reviews Are you building an electronic project or want to? Maybe you need some assistance? Come and submit your electronic questions here and let our experienced members find a solution. |
| | LinkBack | Thread Tools | Display Modes |
| | (permalink) |
| Hello All, I need to design and build a light box for a cerebral palsy child. The building side of it I am quite happy with but the design side I'm not. It needs to consit of 9 sets of 3 leds, when the power is switched on ( Ihave a 4.5V dc output that I would like to use) I would like all 9 of one colur to fade in for a couple of secs then fade out, as ithey fade out I would lke the second set of the next colour to fade in for a couple of seconds and then fade out followed by the third set to fade in and out as the other have. It needs to repeat this until the power is switched off. I don't have access to a PIC programmer so would like it to consist of off the shelf components if possible. Thanks for your help in advance. Regards Darren | |
| |
| | (permalink) |
| Hi Dazza and welcome to the forum. Are you another ex-Electronics-Lab member? What about adapting a fading red-eyes project? http://blog.makezine.com/archive/200...d_project.html You can build sereral of them so the different LEDs fade at different rates. For a more ordered procedure a PIC is probably the cheapest way to go, you can buy a programmer or make one fairly cheaply and PICs aren't expensive.
__________________ I also post at the following sites: http://www.stop-microsoft.org http://www.heated-debates.com Screen name: Aloone_Jonez And http://www.silicontronics.com, same screen name as here. | |
| |
| | (permalink) |
| Hi Dazza If you are in Australia then I can help with both hardware and software. If your elsewhere then I will happily help with software and advise on hardware. I think you will need a pic. Mike. | |
| |
| | (permalink) |
| So, there are three sets of LEDs. When power first comes on, the first set slowly increases intensity up to full brightness over, say, 4 seconds, then immediately begins to dim again at the same rate. The second set comes up while the first set is dimming so when the second set gets to full brightness, the first set is down to nothing. And then this repeats for the third set, but now when the third set dims, the first set comes back up again. Have I got that right? This is a job for a uP alright. But if that is definitely out of the question, then the next best approach might be a - a set of three monostables, each triggering the next and all with a 4 second output pulse. On power up, they are reset and the first one is triggered, then they daisy chain around in a circle. The output of each feeds a square to triangle converter (eg. a FET charging a capacitor at constant current). The output of these are buffered and drive the LEDs. - or, a digital circuit with three sets of up/down counters. ON power up they are all reset. A clock runs, feeding the first counter. It counts up and when it reaches max count, it counts down. At end of count it enables the next counter to do the same. Each counter feeds a resistor ladder D/A which drives the LED buffer. Boy, this is going to be a bit complicated. I think you should use an AVR or PIC.
__________________ RadioRon | |
| |
| | (permalink) |
| DAZZA76, Out of pure curiosity, since you said this for a "cerebral palsy child", does this have a clinical purpose? Ken
__________________ "To invent, you need a good imagination and a pile of junk." Thomas A. Edison (1847 - 1931) | |
| |
| | (permalink) |
| hello all, thanks for your replies. I touched on Electronics about 11 years ago during my apprenticeship but not done too much with it since. It is looking more like a job for a PIC. I must admit I don't have any experience with their programming or the hardware to do it so any suggestions would be grateful. Unfortunatly I am not in Australia but in the UK. I have a friend who has a Cerebal Palsy child and they had a light box that had the wrong voltage adapter plugged into it, only the components are not accessable to replace the knackered ones so was going to start from scratch on the design. Once again thanks for the replies so far. Regards Darren | |
| |
| | (permalink) | |
| Quote:
Torben | ||
| |
| | (permalink) |
| Hi, guys, I'm in need of some "catch-up" re electronics terms. Do you mind if I ask what a uP, an AVR, and a PIC are? Thanks | |
| |
| | (permalink) | |
| Quote:
OK, that's out of the way, so:
PICs and AVRs can often be used for the same tasks (with different pinouts and coding, of course), and while there are plenty of AVR pros on this board, there are more PIC experts. Also, check out Nigel's excellent PIC tutorials at http://www.winpicprog.co.uk/ Good luck! Torben | ||
| |
| | (permalink) |
| Hello Torben, I can't tell which ones got blown as they are enclosed in an epoxy resin of some sort so can't get to them let alone see them. Regards Darren | |
| |
| | (permalink) | |
| Quote:
As any way you are will to involve into PIC and their programming, Perhaps you can first build PIC programmer, like Junebug (a PICKIT2 compatible and with a built in tutor across 16F88 or 16F1320) being sold as a kit, from www.blueroomelectronics.com It will help you from now on hope.
__________________ Regards, Sarma. | ||
| |
| | (permalink) | |
| Quote:
If PWM is new to you, it means "Pulse Width Modulation", and just means that you'd be controlling the amount of current delivered by switching the LEDs on and off too fast to see, and varying the brightness by altering the "on" durations vs. the "off" durations. However, I warn you: once you've learned to use a microcontroller, it might be hard to stop seeing uses for them everywhere. Torben | ||
| |
| | (permalink) |
| DAZZA76, Since you look like you're headed for a µC PWM solution I have a question. With 3 sets of LED's fading in and out...does one set fade all the way out before the next set starts to fade in? Or, do they overlap with two sets partially on some of the time? Ken
__________________ "To invent, you need a good imagination and a pile of junk." Thomas A. Edison (1847 - 1931) | |
| |
| | (permalink) | |
| Quote:
Was thinking of learning Pic have done some programing before what do you think would be best way to learn it. went into this www.blueroomelectronics.com[/url] and the projects were in US $ | ||
| |
| | (permalink) | |
| Quote:
As for the prices being in USD, that's pretty normal for a site expecting to do international business. At any rate, click on the "Where to buy" link on the left sidebar menu, and scroll down to the eBay Creatron Electronics link and click it. Once the page has loaded, go to the location bar in your browser and edit the URL so that instead of "http://stores.ebay.ca/Creatron-Electronics" it says "http://stores.ebay.co.uk/Creatron-Electronics", and hit Enter. You will be taken to the UK eBay page, with prices in pounds. One last bit of advice: when using forums, it's not good form to hijack someone else's thread to ask your own questions. It's better to start your own thread for any questions you might have. Good luck! Torben | ||
| |
| Bookmarks |
| Thread Tools | |
| Display Modes | |
| |
| | ||||
| Title | Starter | Forum | Replies | Latest |
| IR Proximity Sensor | ariakovo | General Electronics Chat | 14 | 15th January 2008 07:50 PM |
| odd project, 1 button adds a light 1 button takes a light away with sound. | KevinAlaska | Electronic Projects Design/Ideas/Reviews | 15 | 6th June 2007 05:38 AM |
| Black light vs Black Light White | Oznog | General Electronics Chat | 4 | 22nd October 2006 12:17 AM |
| Light sensor with LED's | mcs51mc | Electronic Projects Design/Ideas/Reviews | 13 | 7th July 2006 06:34 AM |
| Simulated Lighthouse Light | Kingpin094 | General Electronics Chat | 1 | 20th August 2003 06:05 PM |