Hot answers tagged

11

am I going to fry my board? Pretty likely outcome. Here's why: The Arduino Uno uses the atMEGA328 microcontroller, which has an absolute maximum rating of 40 mA source or sink per GPIO. Also, the total current through the supply or ground rails (i.e. the total of all current OP wants the GPIO pins to sink, or source) is rated to a maximum of 150 200 mA. ...


9

Your first snippet is the correct solution. pinMode(pinnumber,OUTPUT) digitalWrite(pinnumber,LOW) Be careful though, you can only sink up to 6mA or 9mA per pin (as per the documentation ["Input and Output" section], I never tried more). If you need more current, use a transistor (this looks like a good example, you just need to invert the output pin to ...


7

Is PWM really a signal? To me, it looks like an electric current turned on and kept on for a certain time, then off for a while repeatedly. What makes this a "signal"? At the most basic, it is a signal because we call it such. Even a constant voltage can be a signal, signalling that e.g. a window has not been broken. A PWM signal indicates that we want to ...


7

As a general rule, any modern electronic device with computational ability has to use DC. The reason is that they use specific voltage levels to indicate binary/logical states (i.e. 0's and 1's). In theory, an ideal DC supply (Direct Current) should provide a constant voltage. That allows the circuit to effectively turn it on an off to represent binary ...


7

It's... mostly wrong. For three independent reasons. The LEDs themselves, like all diodes, absorb some of the electrovoltaic potential of the electricity passing through them, resulting in a voltage decrease in their circuit. This means that although 5V is being used to power the resistor and LED in a circuit, only some of that voltage is passing through ...


7

I'm going to steal my answer from when I answered this question on the last arduino SE attempt. This is a bit complex. Basically, there are a number of limiting factors: The IO lines from the microcontroller (i.e. the analog and digital pins) have both an aggregate (e.g. total) current limit, and an per-pin limit: From the ATmega328P datasheet. However, ...


6

Don't worry about the current limit. The board will only draw what it needs. The spec is telling you that the board can draw as much as 1 amp, so in general the power supply should be able to supply that – more is no problem, but less could be if you have a lot of devices attached to the board that are drawing power as well. As is pointed out in the comment ...


6

Usually strips have not individual LEDs, but are composed of a lot of "pieces" in parallel, and each piece is composed by three leds in series along with a resistor. Usually the strips are composed by 60 leds/m (i.e. pieces of 5cm), but sometimes also 120 leds/m or 30 leds/m. Let's assume it is the 60 leds/m version (you can check the length of the piece ...


5

Multimeters have something called a "burden voltage". See this PDF: uCurrent - A professional precision current ... - EEVblog. Also see Dave Jones' video: µCurrent Meters measure current by dropping voltage over an internal resistor, and measuring the drop. By definition therefore, there is a voltage drop, which is the "burden voltage". the circuit ...


5

40.0mA. The Arduino UNO Digital IO pins are connected directly to the IO pins on the ATMEGA328P processor. From page 299 of the data sheet for that processor... Note that there is also a total current limit for all output pins combined, and that the voltage starts to drop as the current goes up.


5

What do you think about it ? If you have to ask, don't do it. Mains voltage can be dangerous and should only be done if you know what you are doing and how to be safe. The best choice is to just use pre-built adapters from reputable sources.


5

A0 input is high impedance, so very little current is flowing into A0. The value is so small that you can simplify that it flows only from +5V through the potentiometer to GND. For some applications, when you are measuring high-impedance sources (a source that can deliver very little current) this simplification may not be correct. You can find more ...


5

"I want to power my arduino with mobile charger the out put is 5v 2apms will it kill my arduino?" No! It won't. Even tough the reason has been already explained in this other post, I want to add something. First of all, your question is really common among the ones who, like you (and me), have little/none electrical/electronic knowledge: if you ask such a ...


5

It's hard to say. The maximum the on-board regulator can provide is 800mA. However the actual amount it can provide at any time depends on other external factors - most notably: The voltage of your supply The ambient temperature around the board The thermal mass of the copper the tab is soldered to The higher your input voltage the more excess voltage has ...


5

2.9V doesn't sound too bad. See a datasheet for the CR2032 I found: It looks like slightly more than 2.9V would be the expected voltage for up to 600 hours. 3.2V looks like it is fully charged, and won't stay at that level for long. Having said that, 200 µA current sounds like a lot. You should be able to get it down to 6 µA. Perhaps post your schematic? ...


5

You're misunderstanding what you need to drive a transistor. A transistor will allow up to a specific amount of current through the collector depending on the current that flows through the base. If less is needed by the load then less will flow. Think of it like a tap. If there's not much water pressure it doesn't matter how far you turn on the tap, after ...


5

in all places recommend not to use sources that give currents greater than 500mA when you are going to feed it by the pin VIn with 9V. Nowhere says that. They say you should not draw more than 500mA when you supply with 9V. The heat generated by the 5V voltage regulator is proportional to the current multiplied by the voltage. The more current you draw ...


5

1A coming in thru the barrel jack connecor, then you risk blowing the 1A rated reverse polarity protection diode. The 5V regulator will overheat at high currents above 7.5V. The chip itself can have 800mA put thru if if properly cooled and the IO limits of current per port are respected. So 1.6A, no way.


4

Addition to Ignacio. Explanation from real life. Gregir, look at your home devices like TV, micro wave, fridge and so on. They all need 220-230 V AC and you can plug all them to one socket. As Ignacio said voltage doesn't plus. The current does plus, for ex. you have 2 servos connected in parralel, both 5V, no load current 0.1A. So to run them with no load ...


4

Because the supplies of both servos are connected in parallel, they both see the same voltage. Hence there is no "pool", both are being supplied the same 5V. There is a regulator on the Arduino which reduces the 12V input down to 5V. It does so by burning off the other [7V times however much current is being used] as heat. Since you are supplying it with 1....


4

A few other points, in addition to Penguin's excellent answer: Make sure your 5V supply is a REGULATED supply. Unregulated power supplies will exceed their target voltage when unloaded, and "droop" to lower than their target voltage when under heavy load. Quite a few digital components can be destroyed if their input voltage varies too much from 5V, ...


4

Without a good quality picture of your setup or some schematics, it's hard to tell what's going on, but from your description, what you're doing is potentially harmful for the LED and the output pin D11. Yes, LEDs almost always need series resistors to limit their current. They don't limit currents and will burn if you don't do it for them. If you had the ...


4

There really isn't any such thing as "Current driftage". If you draw too much current from your battery it will cause the voltage to drop, and if it drops too much, the Arduino will stop working. If you have high current devices like motors being switched on the same power supply as your Arduino you should add a reservoir capacitor as close to the input of ...


4

No, you won't get the right result measuring resistance. Integrated circuits contain lots of semiconductors which are inherently non-linear. You need to somehow put your multimeter in series with the power supply, set to the mA range. The easiest way I can think of is to use an external battery (7v or higher) and make up a custom cable with standard barrel ...


4

Attach your voltmeter across the battery, and measure the available voltage when different things are attached; or attach it in series, and measure current draws. You probably will find that a 9V battery's voltage is under 8 volts when a mix of multiple Arduinos and buzzers is attached. That voltage may be too low to activate the buzzer. A powerstream.com ...


4

Make sure that the adapter you have is the correct polarity for the arduino or it won't work. The barrel jack is centre positive, so look for this symbol on your adapter: The barrel jack should have reverse voltage protection so it won't work if it's the wrong way around. The Vin pin doesn't have this protection, so be extra careful connecting things there....


4

Measuring the peak-to-peak current and scaling the result will get you an answer which will at least go up and down with the magnitude of your average AC current, so yes it is NOT incorrect. As you suggested it will be sensitive to noise from the sensor - in fact as you are taking the highest and lowest single readings the noise will always cause the ...


4

You don't need to reduce the current. 2000MA (2 amps) means the power supply is CAPABLE of supplying this (without overheating). Anything less than this, and your device will work perfectly. Your Arduino will DRAW a certain number of milliamps (amps), this is the amount of current that will ACTUALLY run through your circuit.


4

See Powering NeoPixels. Each individual NeoPixel draws up to 60 milliamps at maximum brightness white (red + green + blue). ... To estimate power supply needs, multiply the number of pixels by 20, then divide the result by 1,000 for the “rule of thumb” power supply rating in Amps. Or use 60 (instead of 20) if you want to guarantee an absolute ...


4

A polyfuse will limit current not voltage. There are transient protection diodes which switch on if voltage exceeds a given level, which are often used in conjunction with a polyfuse. The diodes cause excessive current to flow, effectively turning on the polyfuse for extended overload, or just absorbing shorter transients. The Raspberry Pi uses a SMBJ5.0A ...


Only top voted, non community-wiki answers of a minimum length are eligible