- #1
Freddythunder
- 48
- 1
Hello friends...
I'll jump right into the deal here.. I pranked a friend by putting a raspberry pi into a yoda head like the one on his desk. There's an intro video: and the prank itself: if you are intrigued.
Everything in the head runs off 3 AAA batteries. 1 raspberry pi zero w, 1 small amplifier, 1 motor control board & dc motor. I can't tell you how much current it really uses; but I can tell you 3 AAA works well for about 15 to 20 minutes.
Now that the prank has ended I want to run yoda off of an AC/DC adapter instead of the batteries. When building I was able to use a 12V AC/DC adapter (~4 amps I think) through a 5VDC regulator and everything ran fine then. I found a 2A, 5VDC AC/DC adapter and hooked that in place of the batteries. Everything works until you make Yoda talk (uses motor, speaker, pi processor all at once) and the raspberry pi reboots.
I'm thinking that there isn't enough current to keep voltage up and the pi basically powers down and back up again. I don't know much about electric engineering, but a friend at work said to put a capacitor inline with the power but couldn't tell me what size.
I've googled quite a bit to find a calculator to figure out what I may need, but can't find anything. Any ideas? Thanks. Sorry for the long post.
I'll jump right into the deal here.. I pranked a friend by putting a raspberry pi into a yoda head like the one on his desk. There's an intro video: and the prank itself: if you are intrigued.
Everything in the head runs off 3 AAA batteries. 1 raspberry pi zero w, 1 small amplifier, 1 motor control board & dc motor. I can't tell you how much current it really uses; but I can tell you 3 AAA works well for about 15 to 20 minutes.
Now that the prank has ended I want to run yoda off of an AC/DC adapter instead of the batteries. When building I was able to use a 12V AC/DC adapter (~4 amps I think) through a 5VDC regulator and everything ran fine then. I found a 2A, 5VDC AC/DC adapter and hooked that in place of the batteries. Everything works until you make Yoda talk (uses motor, speaker, pi processor all at once) and the raspberry pi reboots.
I'm thinking that there isn't enough current to keep voltage up and the pi basically powers down and back up again. I don't know much about electric engineering, but a friend at work said to put a capacitor inline with the power but couldn't tell me what size.
I've googled quite a bit to find a calculator to figure out what I may need, but can't find anything. Any ideas? Thanks. Sorry for the long post.