Multiple IR LEDs from 1 port using transistor


Closed Thread
Results 1 to 4 of 4
  1. #1
    belpe123's Avatar
    belpe123 Guest

    Default Multiple IR LEDs from 1 port using transistor

    Hey guys,

    Ive got a PIC16F819 here, which has 2 PWM ports, each is capable of sinking and sourcing 25mA. I need to connect multiple IR LEDs to both of these ports, as many as is possible, however each LED will draw atleast 15mA which means I can really only use one per port.

    Is there a way, using a BJT transistor, that I can run multiple IR LEDs off the same port. Also, the PWM frequency is 38KHz so the transistor would have to be able to cope with this.

    Thanks

    Michael Belperio.

  2. #2
    Join Date
    Oct 2004
    Location
    Italy
    Posts
    695


    Did you find this post helpful? Yes | No

  3. #3
    Join Date
    Oct 2004
    Posts
    448


    Did you find this post helpful? Yes | No

    Default

    Hi Michael,

    Assuming you have a 12 volts raw DC available, you should be able to drive at least 4 LEDs in series, thru' a transistor connected to the PIC pin.

    If you need even more, you could have multiple of these LED strings in parallel, depending on how much current your transistor can take. The 38 khz carrier would not be a problem to any of the general purpose transistors.

    Regards,

    Anand Dhuru

  4. #4
    Join Date
    Jul 2003
    Posts
    2,405


    Did you find this post helpful? Yes | No

    Default

    I have used the ULN2803A to drive large banks of IRLED's for video
    cameras.

    Wire all of the ULN2803A inputs together. Use a single I/O-pin to drive
    the 2803A inputs. You have 8 NPN darlington high-current drivers in a
    single package that can control a whole herd of IRLEDs.

    FET's are also a good option, but pretty much any GP transistors will
    work ok at this low a frequency.
    Regards,

    -Bruce
    tech at rentron.com
    http://www.rentron.com

Similar Threads

  1. Thermo 7 segments - little problem
    By fratello in forum mel PIC BASIC Pro
    Replies: 49
    Last Post: - 27th July 2013, 07:31
  2. RS485 bus - starting probem
    By wurm in forum mel PIC BASIC Pro
    Replies: 4
    Last Post: - 27th January 2010, 13:35
  3. one line led light make image
    By bioul in forum mel PIC BASIC Pro
    Replies: 7
    Last Post: - 13th February 2008, 12:19
  4. HSERIN doesn´t work
    By wurm in forum mel PIC BASIC Pro
    Replies: 4
    Last Post: - 29th July 2007, 14:23
  5. Microcontroller with 2 way paging application problem
    By oneohthree in forum mel PIC BASIC Pro
    Replies: 30
    Last Post: - 20th April 2007, 17:27

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