level shifters
Moderators: adafruit_support_bill, adafruit
Please be positive and constructive with your questions and comments.
- pdieken
- Posts: 6
- Joined: Sun Jan 11, 2015 2:27 am
level shifters
Do you have a simple eazy to use shifter that would allow me to run my arduino uno off of the gpio pins on my pi? Or if there are other suggestions on how to resolve this problem.
- adafruit_support_mike
- Posts: 67446
- Joined: Thu Feb 11, 2010 2:51 pm
Re: level shifters
A RasPi's GPIO pins can't deliver enough current to run an Arduino. Each pin is limited to 8mA, and there's a 50mA limit for all active GPIO pins.
The 5v pins aren't technically GPIO pins because their value never changes. You can power an Arduino from one of those.
The 5v pins aren't technically GPIO pins because their value never changes. You can power an Arduino from one of those.
- pdieken
- Posts: 6
- Joined: Sun Jan 11, 2015 2:27 am
Re: level shifters
yes I am doing that now but i want to arduino to only be powered up when the Pi is booted up and running and he 5v pins are always on when the pi is plugged in weather it is booted up and running or not. if i wasn't a such a complete idiot on programing the pi itself to run the same thing that the uno is i could bypass the uno altogether. but i am beating my head against a wall trying to figure it out.
- adafruit_support_mike
- Posts: 67446
- Joined: Thu Feb 11, 2010 2:51 pm
Re: level shifters
The easiest solution is to build a switch into the line that supplies power to the RasPi and shut everything off at once. You'll probably need to cycle power to reboot the RasPi anyway, and a RasPi in power-down mode still draws current (about 100mA IIRC).
Please be positive and constructive with your questions and comments.