![]() | ![]() | ![]() |
| | |||||||
| Micro Controllers Discuss all aspects of micro controllers - building them, coding them, etc. All controllers are welcome - PIC, BASIC, Z8 Encore!, etc. |
| | LinkBack | Thread Tools | Display Modes |
| | (permalink) |
| The attached schematic shows a "buck puck' LED driver with control and reference pins. Essentially changing the resistance value change the % of the available 700mA current applied to the attached LED's(Luxeon III's in my case). Instead of manually changing the brightness I want a chip to do the work. For Example: Beginning at 40% initially and each step (aprox 1 min.) increasing 5% until 100% is reaches. Once 100% is reached it should stay at 100%. Any suggestions on what type of chip I would need to accomplish this? My friend has a "MicroChip" Programmer board so it would be good to use something I can program. Essentially I want the LED's to begin at 40% brightness and work their way up to 100% within about 15 minutes. | |
| |
| | (permalink) | |
| Quote:
| ||
| |
| | (permalink) |
| Such as thus? | |
| |
| | (permalink) | |
| Quote:
| ||
| |
| | (permalink) |
| Not sure if this means it can or not! External Pulse/Strobe Control Figures 13 and 14 show two methods for low speed pulsing or high speed flashing operation. In Figure 13, a TTL/CMOS logic signal is applied to the control(Ctrl) input of the 3021. The output current will be zero when the control signal is high. Note that the input needs to source a minimum of 4.75VDC into a 1Kohm input impedance. Also, as is also the case with a dc control signal, the logic input ground to be common to the LED-output terminal. Figure 14 shows an inverted input configuration using a 2N4403 or other PNP switching transistor. In this case, a logic high will cause the output to be "on". In either configuration, the rise and fall times of the output will be 25micro sec or less. A pulse frequency up to 10kHz may be used. | |
| |
| | (permalink) | |
| Quote:
| ||
| |
| | (permalink) |
| Then, assuming 10KHz is 100%, It would be possible to get the desired effect from a freq range of 40KHz - 100KHz. Yes? | |
| |
| | (permalink) | |
| Quote:
| ||
| |
| | (permalink) |
| Your right... My Bad! | |
| |
| | (permalink) |
| So are there any PIC people out there that can give me some help with automatic PWM incrementation? | |
| |
| | (permalink) |
| What do you need to do? I can't quite figure it out by your posts. | |
| |
| | (permalink) | |
| Quote:
whose current will be held in check by a BuckPuck Current Regulator. The regulator allows a TTL/CMOS control. I also have a timer that will turn the entire circuit on at a set time and stay on for 2 hours, then turn off. In order to brighten the LED's (in my case from about 40% to 100% current within 15 min.) the TTL/CMOS control comes into play. This is where I need a chip to implement PWM to step up the current in 5% increments, minute by minute till the current is at 100%, at which point it should remain at 100% for the remainder of the 2 Hrs. I am clueless on where to find the right chip as well as program it. My friend however has a MicroChip programmer and this might be my best choice if I were to tackle this alone. Hope this helps! | ||
| |
| | (permalink) |
| Not much. Do you have specifications for the PWM period and pulse width duty cycle required to control the device? Mike Last edited by Mike, K8LH; 1st October 2007 at 04:49 PM. | |
| |
| | (permalink) | |
| Quote:
I'm hoping I did this all right. You can see my results below. I had to spent some time on Wikipedia learning about PWM, Duty Cycle, Period...etc. Here are a couple of links for the Luxeon LED's and the LED Driver. http://www.bakpakr.com/downloads/LuxeonStarIII.pdf http://www.bakpakr.com/downloads/3021-BuckPuck.pdf ================================================== ================ pulse freq - 60Hz (60 cycles per second) STEP 1: on - 6.68ms off - 10.02ms Period - 16.7ms Duty Cycle - 40% Duration - 60 sec STEP 2: on - 7.515ms off - 9.185ms Period - 16.7ms Duty Cycle - 45% Duration - 60 sec STEP 3: on - 8.35ms off - 8.35ms Period - 16.7ms Duty Cycle - 50% Duration - 60 sec STEP 4: on - 9.185ms off - 7.515ms Period - 16.7ms Duty Cycle - 55% Duration - 60 sec STEP 5: on - 10.02ms off - 6.68ms Period - 16.7ms Duty Cycle - 60% Duration - 60 sec STEP 6: on - 10.855ms off - 5.485ms Period - 16.7ms Duty Cycle - 65% Duration - 60 sec STEP 7: on - 11.69ms off - 5.01ms Period - 16.7ms Duty Cycle - 70% Duration - 60 sec STEP 8: on - 12.525ms off - 4.175ms Period - 16.7ms Duty Cycle - 75% Duration - 60 sec STEP 9: on - 13.36ms off - 3.34ms Period - 16.7ms Duty Cycle - 80% Duration - 60 sec STEP 10: on - 14.195ms off - 2.505ms Period - 16.7ms Duty Cycle - 85% Duration - 60 sec STEP 11: on - 15.03ms off - 1.67ms Period - 16.7ms Duty Cycle - 90% Duration - 60 sec STEP 12: on - 15.865ms off - 0.835ms Period - 16.7ms Duty Cycle - 95% Duration - 60 sec STEP 13: on - 16.7ms off - 0.00ms Period - 6480sec (108 min) Duty Cycle - 100% Duration - 6480sec Last edited by iONic; 1st October 2007 at 11:56 PM. | ||
| |
| | (permalink) |
| ...and hopefully I'm not in "OUTER SPACE" with my numbers! | |
| |
| Bookmarks |
| Thread Tools | |
| Display Modes | |
| |
| | ||||
| Title | Starter | Forum | Replies | Latest |
| 'schematic software' needed for microcontroller | kiranmayi | Micro Controllers | 9 | 11th February 2007 04:42 PM |
| help needed .. data storage from microcontroller to pen drive | amit_kr | Micro Controllers | 4 | 5th June 2006 04:43 PM |
| Programming the Mini-Max 8051 microcontroller | blimon | Micro Controllers | 8 | 13th July 2005 03:42 AM |
| Connection of Siemens c167 microcontroller to peripherals. | Roslan | Electronic Projects Design/Ideas/Reviews | 3 | 23rd March 2004 07:52 PM |
| Microcontroller Simplest Project Help needed | waqar | Electronic Projects Design/Ideas/Reviews | 0 | 1st April 2003 01:53 PM |