I found this center positive plug (Not 100% that its center positive) that has 12v output and 1A current and i am wondering if this can be used to power my arduino through the barrel jack.
Also i was wondering if the way i connected my circuit is correct?
I use a 12v 1A plug to power the arduino and then i connect a cable from the vin port to the 12v port of the l298n Module. Then i connect a cable from the l298n 5v port to my breadboard and connect both with common grounds (yellow wires) one to the arduino and one to the breadboard.
Will the fans be able to spin?
Will the other 5v modules that will go on the breadboard work?
*I haven't plugged anything yet until i know its ok and my arduino wont get fried.
Please read and use this link: How to get the best out of this forum - Using Arduino / IDE 1.x - Arduino Forum
Key words are: schematics, code.
The VIN pin is NOT a power output pin! The barrel jack is connected to the VIN pin through a reverse polarity diode that is only rated 1 Amp and will drop about 0.7 volts. The VIN pin is an INPUT for feeding up to 12 volts to the UNO's 5 volt regulator.

At this point I would say no. Connecting power backwards tends to fry Arduinos. Get a VOM, even a cheep one would be OK. Use that to check the polarity of your power module. You are probably correct as the label on the bricks shows a symbol indication the center is positive.
Gil's Crispy Critter Rules, they apply to processor hardware:
Rule #1. A Power Supply the Arduino is NOT!
Rule #2. Never Connect Anything Inductive to an Arduino!
Rule #3 Don't connecting or disconnecting wires with power on.
LaryD's Corollarys
Coro #1 when first starting out, add a 220R resistor in series with both Input and Output pins.
Coro #2 buy a DMM (Digital Multi-meter) to measure voltages, currents and resistance.
Violating these rules tends to make crispy critters out of Arduinos.
The picture of the wall wart clearly shows that it is centre positive, but the regulators on Arduino are crude and feeding them from 12v is never a good idea. It is also something you may later regret. 12v to 5 means you have to throw away 7/12 of the power as heat.
i just selected the components in the online schematic designer and this is what cam out picture below that was the reason i was asking
do you think its better to power the L298N module with an external power source and then power the arduino from theL298N 5v port?
That's a picture lacking most of the information found in schematics.
"better to power the L298N module with an external power source and then power the arduino from theL298N 5v port?"
I'll drink to that.
After dropping 7V (12 -5), the L298 regulator will only be able to supply about 150mA without overheating. Is that enough for the L298 logic, Arduino and components powered from Arduino?
This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.


