30mA from Pic's Pin


Closed Thread
Results 1 to 4 of 4
  1. #1

    Cool 30mA from Pic's Pin

    Good day Picers

    I have connected a RFID Scanner module to a pin on my pic, but the module needs 30mA and the pic only supplies 25mA, would it be a suitable sollution if I connect 2 pins of the PIC together to get 5v @ 50mA?
    Would there be ANY side effects if I do this?


    Thanks
    Koos

  2. #2
    Join Date
    Sep 2004
    Location
    montreal, canada
    Posts
    6,898


    Did you find this post helpful? Yes | No

    Default

    yiiiish, in theory it can work but i'll not using that. I'll for sure use transistor, mosfet or buffer/driver instead.
    Steve

    It's not a bug, it's a random feature.
    There's no problem, only learning opportunities.

  3. #3
    Join Date
    Jul 2003
    Location
    Sweden
    Posts
    237


    Did you find this post helpful? Yes | No

    Post

    Why not? Just make sure that you set and reset the pins at the same time. This means that the HIGH and LOW commands is out of the question. Always access the port in a bytewise manner.

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


    Did you find this post helpful? Yes | No

    Default

    Even at 4MHz, the difference between adjacent HIGH/LOW commands is only a couple of uS. If you're driving a Relay, LED or Lamp requiring that current, it's really not going to know or care for that short time span. Do however protect the PIC with additional Diodes to clamp the back-emf if you're driving a Relay or Solenoid directly. If you're powering-up an electronics module, I still don't think it'll care about a supply rise across 5uS or so... hell, even the best PSU's in town don't come up that fast!

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 : 1

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