Uncategorized

Rpi power supply notes

Asked 
Active today
Viewed 36 times
1

I am trying to make a simple robotic car with my raspberry pi. The problem is that when it reaches the white load up screen it immediately reboots itself over and over again.

My raspberry pi is powered through a 9V battery which goes through a voltage regulator (LM350T 5V) and connects to the 5V GPIO pin on the pi. My multimeter shows 4.77V and 1.37A delivered to the raspberry pi. I’ve read that as long as it’s over 4V the pi shouldn’t reboot itself so I’m not sure why this is happening. Any advice is much appreciated.

 New contributor
  • 2
    Hi @dlam0002 ,Welcome and nice to meet you. Ah, let me see. Your 9V battery is running out. I suggest using 3 rechargeable 16450 batteries in series. 3.7V x 3 = 11.1V should be good. However LM350T is bad, because it is a series regulator which wastes power. Let me see, if Vin = 9V, Vout = 5V, then 9V – 5V = 4V == 4V/9V == 35% energy is WASTED as heat energy. I would suggest to use LM2596 switching regulator which has 90% efficiency: aliexpress.com/i/32895338514.html. Now input can still be 9V or 11.1V, and adjust output voltage to about 5.2V, and your Rpi will be loving it. – tlfong01 3 hours ago   
  • 1
    Thanks I will try this! – dlam0002 1 hour ago
  • Your are welcome. I see that you are making a robot car. Let me give you more links that you might be interested. The first link on “How to build a buggy” is very good for newbies. (1) raspberrypi.stackexchange.com/questions/98513/… (2) raspberrypi.stackexchange.com/questions/99460/… (3) raspberrypi.stackexchange.com/questions/96515/…, There is also a suggestion to DIY a 16450 power bank. – tlfong01 1 hour ago   
  • In case you wonder why I use 16450 x 3 = 3.7V x 3 = 11.1V to step down to 5V and not 16450 x 2 = 3.7V x 2 = 7.4V and step down to 5V. The reason is that the switching regulator won’t waste that much more energy either from 11.1V to 5V or 7.4V to 5V. If you use 11.1V to start with, you have a bigger margin for the voltage to drop to say 6.5V, you can still go well. On the other hand, 7.4V cannot drop that much percentage and still go well. You may serach for “L298N” in this forum for more suggestions on using power banks for robot cars. Also 11.1V step down to 6V~7.5V is good for toy servos. – tlfong01 1 hour ago   
  • And the first of my answers on power bank shows a picture of my 16450 power bank with big by pass capacitors and fuses for using and protecting motors/servos from burning out. (1) raspberrypi.stackexchange.com/questions/98832/… (2) raspberrypi.stackexchange.com/questions/102029/… – tlfong01 1 hour ago   
  • And about your comment “I’ve read that as long as it’s over 4V the pi shouldn’t reboot itself so I’m not sure why this is happening”. I actually did very casual experiment on Rpi stability with an adjustable power supply in the range 3.5V to 5.3V. As you said for my Rpi4B, bleow 4V nothing working. 4V to 5V yellow lightning, still working. Above 5V all goes well, no yellow lighting. But it is only for Rpi4B. I think R2/3 can not work reliably between 4.5 to 5V. But I am not keen to know more about 4V to5V operation. I always work on 5.2V to 5.4V. – tlfong01 16 mins ago   
  • I am not sure if I remember my test results correctly. So I searched my old lab reports which says the following: I also have a Rpi4B. (1) Usually if the power supply is below 4V, nothing happens and you get a black screen. (2) And if the power rises to between 4V and 4.5V, you get rainbow screens repeating some one or two seconds, but Rpi does not boot up. (3) And if the power is above 4.5V, Rpi4B boots up, with 4 red pineapples in top left corner. (4) Between 4.5V and 5V Rpi boots up OK. But you will see a yellow lightning in the top right corner of screen. / to continue, … – tlfong01 4 mins ago   Edit   
  • (4) If I raise voltage from 4.5V to 5V and further to 5.2V, the yellow lighting suddenly disappears. (Note: I have a digital power supply with output voltage adjustable in fine steps of 0.2V, so I can experiment adjusting voltage from 3V to 5.25V and see how my Rpi4B likes or hates it.) SO 4.5V is minimum. Between 4V and 4.5V Rpi is not stable. – tlfong01 4 mins ago    Edit

Categories: Uncategorized

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.

%d bloggers like this: