1. Welcome to our site! Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.
    Dismiss Notice

Can I power a digispark with a 12v battery to the VIN pin?

Discussion in 'Arduino' started by hoghunter, Aug 16, 2017.

  1. hoghunter

    hoghunter Member

    Joined:
    Jun 29, 2017
    Messages:
    195
    Likes:
    2
    Location:
    Texas
    I have done some searching, but want to be sure about this. Can I attach a 12v battery to the digispark's VIN & GND to provide it with power. Some of the things I have read seem to indicate (not clearly stated) that there is a built in buck converter to take it down to 5V. Is this correct?
    Thanks.
     
  2. ronsimpson

    ronsimpson Well-Known Member Most Helpful Member

    Joined:
    Apr 17, 2007
    Messages:
    7,305
    Likes:
    969
    Location:
    Loveland, CO USA
    It looks like; if you plug it into a USB port it lives off +5V. BUT If you power it from JP2, and send 12V into pin 1 it should work in the 7 to 20V range just fine. See the data sheet on the 78M05.
    upload_2017-8-16_6-48-37.png
     
  3. hoghunter

    hoghunter Member

    Joined:
    Jun 29, 2017
    Messages:
    195
    Likes:
    2
    Location:
    Texas
    Great, thanks!

    I found this linear voltage regulator on Mouser's website. Can I use this to power my digispark instead of the step down voltage regulator board I am currently using? It would be great to have this 'thru hole' IC as part of my circuit/pcb and would eliminate the additional board altogether.
    I will be studying the datasheet of course.... It states a MAX input of 18v and fixed output of 5v. Would this still need to be connected to PIN 1 instead of the '5v' pin?

    upload_2017-8-16_17-37-53.png

    I am currently using this:

    upload_2017-8-16_17-48-34.png
     
    Last edited: Aug 16, 2017
  4. dave

    Dave New Member

    Joined:
    Jan 12, 1997
    Messages:
    -
    Likes:
    0


     
  5. jjw

    jjw Member

    Joined:
    Apr 16, 2012
    Messages:
    266
    Likes:
    15
    Location:
    Helsinki, Finland

    Why do you want to use a separate regulator, when there is already 5V regulator on the digispark board ?
     
  6. ronsimpson

    ronsimpson Well-Known Member Most Helpful Member

    Joined:
    Apr 17, 2007
    Messages:
    7,305
    Likes:
    969
    Location:
    Loveland, CO USA
    Look at the data from post #2.
    You will see a 78MK05 which is almost the same as 78LR05 from post #3.
     

Share This Page