Automotive (or super bright) LEDs


Results 1 to 10 of 10

Threaded View

  1. #9
    skimask's Avatar
    skimask Guest


    Did you find this post helpful? Yes | No

    Default

    Oh, don't kid yourself, it's a piece of cake...
    You still need current limiting resistors in most cases, but you can set them at the maximum current value and with PWM, you won't have to worry about letting all of the smoke out of them.

    Max brightness - I wouldn't worry about that so much as driving it at max current for too long (i.e. pulse widths too long).

    Personally, I've been able to use PWM down to about 40hz without any flickering. Some people can tolerate down to 20hz or so, varies on the person. In my LED strips that I use for undercar lighting, I use 76.3hz (20mhz-Fosc / 4-Instruction Rate / 256-Timer0 overflow / 256-Software PWM) as my PWM frequency. Works like a champ.

    So, even if you use a PIC10F200 running at 4mhz and just keep everything in a tight loop with some software driven PWM, you should be able to easily stay well above the 20-40hz minimum rate.

    A simple software PWM is a piece of cake. Get your hardware designed and 'finalized', then we can all work on a decent program for it.


    Actually, forget the PIC10F200. It's a surface mount, pain to work with for prototyping. Go with a PIC12F675 or similar, 8 pin DIP package, easy to put on a proto-board. Same thing still applies though, but now you might be able to combine ports together to get a bit more power out to drive the LEDs.
    Last edited by skimask; - 11th April 2007 at 15:56. Reason: Changed my mind on the PIC

Similar Threads

  1. Run a string of LEDs from the mains
    By The Master in forum Off Topic
    Replies: 30
    Last Post: - 1st October 2009, 18:55
  2. Using LEDs as light sensors
    By skimask in forum Code Examples
    Replies: 3
    Last Post: - 30th December 2006, 22:19
  3. PIC18F2431 Running Super SLow!!
    By Philip Biebach in forum mel PIC BASIC Pro
    Replies: 4
    Last Post: - 26th July 2006, 12:03
  4. controlling leds with the switches
    By ilteris in forum mel PIC BASIC Pro
    Replies: 2
    Last Post: - 12th October 2005, 21:02
  5. Tidying Up PWM Routine
    By Tissy in forum mel PIC BASIC Pro
    Replies: 4
    Last Post: - 21st February 2005, 00:26

Members who have read this thread : 0

You do not have permission to view the list of names.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts