I am new to the world of Arduino UNO. So, have a basic quesion regarding the power supply: -
Aside from the USB, there is also a female barrel connector (also called a Jack based on the reading I have done so far). My power adapter needs to have a male barrel connector (also called plug??) of size 5.5 mm X 2.1 mm.
It's a contentious point regarding coaxial connectors. It can be technically argued that the UNO has a chassis male and you plug a line female into it. That is how I tend to view fittings. Mind you, honestly, which gender does the line fitting actually resemble when you think about it?
This (the original) is the typical "tricky" question where someone has the completely wrong piece of equipment. Why was such an over-priced thing bought anyway? Certainly not for powering an Arduino.
Adapter plugs are not a good idea. The two better ideas are
Buy a standard (and they are the standard, the most common size among many) 2.1 mm line socket and solder it onto the cord when you cut off the other and the "python swallowed a walrus" object.
Go to your local "Op Shop" and find a $2 phone charger rated at 5 V, 1 or more Amp, cut off the connector after you check the voltage with a multimeter and solder it to pins you can insert into the 5 V terminals on the Arduino.
Now of course,
If you don't have a multimeter, stop now and do not proceed on anything until you buy one - a $5 one will do just fine.
If you cannot solder things, give up until you find a mate who has the facility (and the skill).
Yes, you must be very careful making connections direct to the UNO but - if you are not extremely careful, then carefully place it in a storage box and take up knitting.
The Uno, and others, use a 5.5mm x 2.1mm connector with positive male pin. You need the corresponding part with a female cable end socket. The gender of plugs/sockets should be based on the pins and not the housing. That rule has been corrupted in recent years.
It made me conclude that the power barrel is a female one. If you look at the pic in this article, it seems to suggest that the power barrel with a pin is a female one. Maybe I got it wrong.
One more question: - The power supply has an output voltage of 9 V(which I believe should be fine). But, it has an output current of 2 A. Is that too high? The article here doesn't clearly indicate if it would be unwise to go beyond 1 A (Arduino Playground - WhatAdapter).
That adapter is not the right one. You need one going from 1.35mm up to 2.1mm.
Sellers are often quoting connectors with the wrong gender terms. They tend to use the housing and not the pins. The Uno connector is male as the center terminal is a pin. The standard convention is that sources of power use female terminals as they can be encased in housings that protect them from an accidental short.
There are numerous switching power supplies on eBay. You might be better off just getting a 9V-1A, or higher current.
The current rating only has to be as high as the device needs, plus a safety margin. A higher rating just means it can supply that value if needed. The device determines what it needs at a given voltage.
I would cut the cable and solder a new connector to it.
They say the power adapter is "original". Well, I have my doubts.
Please buy a good quality power adapter from a local supplier in your country. Or buy one for example from Sparkfun or Adafruit.
It must be certified to be used in your country.
When a power adapter fails after many years, it should just stop working. The cheap power adapters can catch on fire when something is wrong.
Koepel:
When a power adapter fails after many years, it should just stop working. The cheap power adapters can catch on fire when something is wrong.
Or (almost) equally bad - fail to regulate and completely destroy the device which they are powering. I would say slightly (but only slightly) more likely when operating at 220-240 V.
divyaman:
The following link on sparkfun, however, had me a little confused: It made me conclude that the power barrel is a female one. If you look at the pic in this article, it seems to suggest that the power barrel with a pin is a female one. Maybe I got it wrong.
The article itself is thoroughly and utterly confused! Having defined the gender of coaxial connectors, it goes on to carefully and specifically define exactly the opposite convention for every other form of connector.
I think the female barrel is on the Arduino board and the male plug is with the wire to the power adapter.
The pin in the middle is ignored when naming it female or male. And some call it "Jack".
Koepel:
I think the female barrel is on the Arduino board and the male plug is with the wire to the power adapter.
The pin in the middle is ignored when naming it female or male. And some call it "Jack".
So you define this as a female "jack":
And this as a "plug":
But sparkfun call them the opposite, saying
The gender of the pins inside the connector is what signifies the gender of the connector as a whole.
Perfect example as the plug body has both sexes so only the pin/socket can be used, (p)eni(s). Note that the connector body is often the reverse of the pin/socket.
That was of course the search term I used to find it.
The interesting thing about those connectors is that they work just fine, the polarity is never in doubt, you can add extensions and all - just as long as you never connect two sources (batteries) together by accident.