So I have a few questions about power before I start messing around with my Pi and Arduino.
I'm going to be controlling my Arduino Uno with my Raspberry Pi 3 B+ and possibly compiling my programs remote with a Visual Studio 2015 plugin.
I run my Pi on a 5v 2500mA wall charger, Is this enough power to run my Arduino with some load? (when I say load I mean with LEDs sensors and a small servo for testing components)
Can you power the Arduino with the Wall adapter plug while you have it hooked up to the Pi for uploading programs? (That way I'm not drawing all the Pis power, not sure if thats how it works. I also don't want to burn up my Ardunio)
Can you use the Arduino to measure volts and current? Example: I'm charging a battery via solar panel and I want to collect the amount of volts and current for data using the Arduino, is that possible?
Thankyou!
As an Arduino Uno takes about 30mA you have a lot of current capacity still left.
There is a switch inside the Arduino that picks the power jack or the USB automatically.
The Arduino only measures voltage up to 5V, to get more you have to use a potential divider to cut it down. Current can be measured by measuring the voltage drop across a low ohm resistor.
Thanks Mike,
So just to verify using both power jacks will be okay? Allowing me to power the Arduino directly and uploading code from the Pi.
Thanks!
both power jacks
Where do you get two power jacks from?
But using a USB and a power jack will be fine.
Yes, you can power both the Pi and the Arduino from the same 2.5Amp supply. Just remember that the Pi I/O's at 3.3V and a Uno running at 5V can pump out a lot more than that in I/O levels.
You are not going to burn up your arduino by giving it 2.5 amp.s when it only needs milliamp.s. Current wise, it's not about how much current is available from the supply,,, It's about how much you try to make the arduino draw with all the 'stuff' you hook onto it.