Getting the correct mA from Pic's Pin


Closed Thread
Results 1 to 6 of 6

Hybrid View

  1. #1
    @sda's Avatar
    @sda Guest


    Did you find this post helpful? Yes | No

    Default

    Why power the module via its ground pin?
    Not very safe practice.
    AFAIK, the 2N2222 is a NPN device, so you'll have to conect its collector to the power rail, base via a 100r resistor to your output port, and the emitor to your module.
    The output will be (power rail) 5v - 0.7 (transistor drop) = 4.3v



    Cheers sda

  2. #2


    Did you find this post helpful? Yes | No

    Default

    Thank you very much for all the replies!!!

Similar Threads

  1. Is this a K Type sensor?
    By jessey in forum mel PIC BASIC Pro
    Replies: 20
    Last Post: - 21st November 2009, 13:55
  2. Epic Plus Programmer and 8 pin PICs
    By Peaps in forum Off Topic
    Replies: 1
    Last Post: - 25th February 2008, 09:25
  3. Microcontroller with 2 way paging application problem
    By oneohthree in forum mel PIC BASIC Pro
    Replies: 30
    Last Post: - 20th April 2007, 17:27
  4. Another RTC, DS1287
    By DavidK in forum Code Examples
    Replies: 0
    Last Post: - 12th December 2006, 17:07
  5. Tx and Rx of Single Pin PIC's
    By Dwayne in forum Code Examples
    Replies: 0
    Last Post: - 26th May 2004, 14:55

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