How to use an external power supply with arduino

แชร์
ฝัง
  • เผยแพร่เมื่อ 29 ก.ย. 2024
  • How to use an external power supply with arduino
    By using an external power supply with your project, you can overcome the Arduino's 200mA total current limit. In this video I show you how to modify the previous transistor controlled DC motor project to use an external 5V supply. If you haven't seen that video, you should watch it first. Here's a link:
    • How to use a transisto...
    ~-~~-~~~-~~-~
    Please watch: "Arduino Power Monitor"
    • Arduino Power Monitor
    ~-~~-~~~-~~-~

ความคิดเห็น • 32

  • @Brickkzz
    @Brickkzz 7 ปีที่แล้ว +45

    loved the smoke joke :)

    • @No1sonuk
      @No1sonuk 5 ปีที่แล้ว +3

      All electronics engineers understand the smoke theory. when you need to use more power, you use bigger wires because they can carry more smoke.

  • @danielmurray4961
    @danielmurray4961 3 ปีที่แล้ว +1

    All grounds together..................................................🤦‍♂️

  • @Brandon-qp7gq
    @Brandon-qp7gq 2 ปีที่แล้ว +1

    why is it the case that it's safe to connect the grounds together? if the usb power source for the arduino comes from a laptop battery, why is it ok for the ground of the laptop battery to be connected to an external ground?
    how would we modify the circuit so that the arduino can also be powered from the external power source? once we're done with test and development, the arduino should be able to run without being connected to a laptop

  • @complexeddrummer
    @complexeddrummer 2 ปีที่แล้ว +1

    I'm trying to run about 150 LEDs off an Arduino Nano with several IO expanders. How do I know what transistors to get?

  • @sidheart19
    @sidheart19 6 ปีที่แล้ว +13

    That info about smoke, life-altering :D lol Very informative video and the narration is hilarious. Keep up the good work.

    • @learnelectronics
      @learnelectronics  6 ปีที่แล้ว +2

      +sidheart19 thank you

    • @No1sonuk
      @No1sonuk 5 ปีที่แล้ว +1

      All electronics engineers understand the smoke theory. When you need to use more power, you use bigger wires because they can carry more smoke.

  • @adamkerry5160
    @adamkerry5160 3 ปีที่แล้ว +2

    When you say unplug the collector from the 5v nano rail what do you mean? Are you unplugging the motor from the nano's power supply and switching it over to the 5.0v power supply? What is the yellow cable on the motor? I understand that the red is the ground and blue is power

    • @itsvibes7241
      @itsvibes7241 3 ปีที่แล้ว

      Exactly. People not explaining themselves is the worst🤦‍♂️ hopefully he sees this

  • @ArcanePath360
    @ArcanePath360 3 ปีที่แล้ว +1

    I'm having nightmares with my Arduino at the moment, trying to get a dfplayer mini to work without the Arduino being connected to the PC. For the life of me I can't figure out why it gets stuck powering up when I use a wall wart instead of a PC port to the same USB in. It must be something to do with the TX/RX serial I think. Somehow it's sending commands through the data cable to the PC and continuing with the program, but because the data cables aren't present on a wall connection, maybe this is why it freezes? Unfortunately the module doesn't work without software serial, so I've no clue what to do.

    • @pluronic123
      @pluronic123 3 ปีที่แล้ว

      idk much but when i tried to read analog signals with my arduino it only worked with the on board 5V + GND connection. Didnt work with USB to wall, USB to PC (better but noch much) and USB to Battery... so I used common GND for Arduino and power supply.... tadaaaaa everything is fine

  • @MohsenMBcom
    @MohsenMBcom 3 ปีที่แล้ว +3

    Man! This video mentioned the unification of GNDs which no one mentioned! Absolutely saved my night! Thanks bro!

  • @logicturtle9838
    @logicturtle9838 2 ปีที่แล้ว +2

    if the external power supply has a higher voltage or is drawing more current than the arduino, but all the grounds are connected, wouldn't that cause too much voltage or current on the arduino's power supply going to its negative terminal? Could this also cause problems on the arduino's circuitry? Are resistors needed on the arduino end of the ground wire?

  • @CollinBaillie
    @CollinBaillie 4 ปีที่แล้ว +2

    I know this video is years old now, and the concept was pretty clearly explained, but I found your jumper wires hard to trace. Looks like the 5v and GND our of the Arduino were both black, and I thought you had a short in the power rails above the Nano board.

  • @ScottWellerMusic
    @ScottWellerMusic 5 ปีที่แล้ว +4

    That smoke joke was prime

  • @cones914
    @cones914 3 ปีที่แล้ว +2

    today I threw all my electronics out of my house because of the no smoking weed rule.

  • @jam2031
    @jam2031 9 หลายเดือนก่อน

    basically a relay

  • @faizanshakeelcse-iotcsbt_5167
    @faizanshakeelcse-iotcsbt_5167 5 ปีที่แล้ว +2

    Can i use 12v 5amp dc adaptor for arduino uno

  • @kananasadov4680
    @kananasadov4680 5 ปีที่แล้ว +2

    THANKS A LOT YOU SAVED OUR FECKING ASSES

  • @MrYerak5
    @MrYerak5 4 ปีที่แล้ว +1

    How can i protect the ardouino from over current? Do i need to use both grounds from the nano?

  • @Manuel-of7et
    @Manuel-of7et 4 ปีที่แล้ว +1

    I subscribed at "Bobs your uncle"

  • @Dajavoutube
    @Dajavoutube 7 ปีที่แล้ว +2

    Hello, excellent video! I am using the Arduino to run 6 x seven segment displays (0.5"). I will therefore need an external source. I understand that I can do this via the jack socket with a voltage up to 12volt d.c. max. Does this voltage have to be regulated or will the Arduino do it? Please advise.

    • @DanHaiduc
      @DanHaiduc 5 ปีที่แล้ว +1

      The only way to check is to look at the data sheets and figure out the current required.
      If your displays need the Arduino to power more than 200mA total current, or more than 40mA per pin, then your current needs to come from a different source (and use a transistor like here, or a relay).
      Seeing that your question is a year old, I'm curious: did you get it working?

  • @DanHaiduc
    @DanHaiduc 5 ปีที่แล้ว +2

    Thank you for the video! However I have a burning question about simplifying this circuit:
    Suppose the motor works on a 9V supply. Would it be OK to connect the positive 9V to Arduino's VIN, instead of requiring the additional USB-printer-cable source?

    • @learnelectronics
      @learnelectronics  5 ปีที่แล้ว +1

      Yes but don't power the motor through the Arduino.

  • @vladhristov2316
    @vladhristov2316 6 ปีที่แล้ว +2

    Tadaaa....I use that too.

  • @MeenakshiSharma-wi2oc
    @MeenakshiSharma-wi2oc 6 ปีที่แล้ว +1

    It was really helpful
    Thnx😊

  • @MK-gn1nz
    @MK-gn1nz 2 ปีที่แล้ว

    Alternatively, using Darlington npn

  • @brady_bauer2518
    @brady_bauer2518 4 ปีที่แล้ว

    Thank you so much this is so cool