LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware > Linux - Embedded & Single-board computer
User Name
Password
Linux - Embedded & Single-board computer This forum is for the discussion of Linux on both embedded devices and single-board computers (such as the Raspberry Pi, BeagleBoard and PandaBoard). Discussions involving Arduino, plug computers and other micro-controller like devices are also welcome.

Notices


Reply
  Search this Thread
Old 01-25-2022, 10:19 PM   #1
joboy
Member
 
Registered: Jul 2009
Distribution: Debian, Ubuntu, Puppy, Mint
Posts: 655

Rep: Reputation: 7
Raspberry Pi under voltage warning


Hi there,


I don't know if this is the right place to post it, but I did not get answer from the official forum.


I am using a Pi 4B with 8G, I got under voltage warning when booting with USB. I am using a phone charger capable of producing 3A@5V same as the stock adapter that I don't have. The Pi works normal when booting with MicroSD, but on and off I got under voltage warning when booting with different made of USB HDD, flash and SSD, before I order the original adapter I want to make sure my Pi has no h/w problem. Since I don't have the tool to check the current drawn at the moment I can't tell if I really need a high capacity adapter, but I overclocked the Pi to 2.2Ghz, that will definitely drain more current, so I will try slowing it down to see what comes, but I still want to know if anyone has any problem like mine ?
 
Old 01-26-2022, 12:54 AM   #2
pan64
LQ Addict
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 21,913

Rep: Reputation: 7318Reputation: 7318Reputation: 7318Reputation: 7318Reputation: 7318Reputation: 7318Reputation: 7318Reputation: 7318Reputation: 7318Reputation: 7318Reputation: 7318
yes, buy a better PSU. Usually phones do not require 3A (but only 2Amps). And also you can buy a 3.5A PSU if you really want to be on the safe side.
 
Old 01-26-2022, 03:06 AM   #3
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,736

Rep: Reputation: 5920Reputation: 5920Reputation: 5920Reputation: 5920Reputation: 5920Reputation: 5920Reputation: 5920Reputation: 5920Reputation: 5920Reputation: 5920Reputation: 5920
It depends on the type of phone charger. Some Iphone chargers are smart devices and don't output full current unless the phone "asks" for it. If so you will need a regular PSU.
 
Old 01-26-2022, 07:49 AM   #4
onebuck
Moderator
 
Registered: Jan 2005
Location: Central Florida 20 minutes from Disney World
Distribution: SlackwareŽ
Posts: 13,925
Blog Entries: 44

Rep: Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159
Moderator Response

Moved: This thread is more suitable in <Linux - Embedded & Single-board computer> and has been moved accordingly to help your thread/question get the exposure it deserves.
 
Old 01-26-2022, 08:32 AM   #5
Mill J
Senior Member
 
Registered: Feb 2017
Location: @127.0.0.1
Distribution: Mint, Void, MX, Haiku, PMOS, Plasma Mobile, and many others
Posts: 1,258
Blog Entries: 2

Rep: Reputation: 542Reputation: 542Reputation: 542Reputation: 542Reputation: 542Reputation: 542
I agree with the previous posts. I started out with a Pi 3B which is quite power hungry. I noticed that running pi on the windowsill during winter eliminated the undervolting and was way more snappy than in the summer. Later I also spliced two usb cables together and used two charging bricks for a while because I couldn't afford to get the 3amp one designed for the pi, not sure I'd recommend this but it does work if you are broke I finally found a charging brick that could actually supply the power I needed. No idea what it's off of but it packs punch.

More recently some friends of mine got the pi 4 and the OEM power brick, no problem with undervolting with that.
 
Old 01-26-2022, 12:30 PM   #6
fatmac
LQ Guru
 
Registered: Sep 2011
Location: Upper Hale, Surrey/Hants Border, UK
Distribution: Mainly Devuan, antiX, & Void, with Tiny Core, Fatdog, & BSD thrown in.
Posts: 5,501

Rep: Reputation: Disabled
Quote:
a phone charger capable of producing 3A@5V
The problem with phone chargers is that they don't supply constant voltage/ampage, but a proper PSU does, it really is false economy trying to use a charger, & you could possibly lose data.
 
Old 01-26-2022, 05:39 PM   #7
TheTKS
Member
 
Registered: Sep 2017
Location: Ontario, Canada
Distribution: Slackware, X/ubuntu, OpenBSD, OpenWRT
Posts: 361

Rep: Reputation: 243Reputation: 243Reputation: 243
I've heard so many stories of people having problems with anything other than a 3.5A/5V PSU, especially as you load up your RPi with devices. Bite the bullet and get the proper one, when you can, if you want to save yourself aggravation that comes from underpowering your Pi.

TKS
 
Old 01-26-2022, 06:43 PM   #8
rclark
Member
 
Registered: Jul 2008
Location: Montana USA
Distribution: KUbuntu, Fedora (KDE), PI OS
Posts: 487

Rep: Reputation: 180Reputation: 180
With standard recommended power supply, I was fine with booting off an external SSD. Right now my RPI4-8G is running off a Samsung 500GB T7 in fact. However awhile back I plugged in a 4TB external HDD in the other USB 3.0 port and started having voltage problems. I solved it by buying another 4TB HDD that was self powered (power cord for external drive, and power cord to the RPI). Not the solution I was looking for, but it worked.... Probably could buy a powered USB3.0 hub to accomplish the same thing, but still two power cords to plug into the wall.
 
Old 01-26-2022, 08:10 PM   #9
kilgoretrout
Senior Member
 
Registered: Oct 2003
Posts: 2,987

Rep: Reputation: 388Reputation: 388Reputation: 388Reputation: 388
Quote:
The Pi works normal when booting with MicroSD, but on and off I got under voltage warning when booting with different made of USB HDD, flash and SSD, before I order the original adapter I want to make sure my Pi has no h/w problem.
There are two considerations here. First, as others have pointed out, using the phone charger is probably not a good idea. If you can afford it, get one of these 3.5amp models:

https://www.amazon.com/CanaKit-Raspb...3247880&sr=8-3

https://www.amazon.com/CanaKit-Raspb...3248175&sr=8-7

Second, you should be aware that the two usb3 ports on the Pi 4 have a combined load limit of 1.2 amps which is lower than the usb3 standard spec for two usb3 ports of 1.8 amps(0.9 amps per port). What this means in practice is that your Pi 4 will begin to act erratically anytime you start drawing more than 1.2 amps from the usb3 ports. This can occur if you have more than one usb storage device connected to your RPI4. I've also had it occur under heavy I/O on some single usb storage devices and I have one of the above 3.5 amp psus. Worst offenders - an nvme pci drive in a usb adapter and standard 2.5 in hard drives in a usb adapter. These items just draw too much power, especially the nvme drive. Standard SSDs in an unpowered usb adapter are OK as long as you only plug in one at a time. Ultimately, I wound up getting a powered usb hub to resolve the issues that would pop up when using usb storage.

Last edited by kilgoretrout; 01-26-2022 at 08:58 PM.
 
1 members found this post helpful.
Old 08-07-2022, 02:26 PM   #10
jack4888
LQ Newbie
 
Registered: Jan 2007
Location: Palm Springs, CA
Distribution: Ububtu, Fed 6, Mandriva
Posts: 3

Rep: Reputation: 0
Under voltage warning

Many times the under voltage results from voltage loss in cable from source to board. The charging cables usually have very THIN wires 26 or 28 gauge. This can lead to substantial voltage drop by the time it gets to the board. I hardwired a little voltmeter to power on GPIO pins to see if the voltage drops across the board. Short USB cable used less power loss.
 
Old 08-08-2022, 07:44 AM   #11
joboy
Member
 
Registered: Jul 2009
Distribution: Debian, Ubuntu, Puppy, Mint
Posts: 655

Original Poster
Rep: Reputation: 7
Thank guys for the response, the problem seems to have fixed when I use the original power adapter, I no longer get the under voltage warning. There is one more thing may not related to the power adapter, I found not all SATA SSD drives boot normally via USB adapter, it seems some adapter does not provide enough current to the drive, and some drive draws more current than others, WD green vs Verbatim for example. As far as I see SSD normally takes 0.7 Amp at 5V which is same as 2.5" mechanical drive, but Samsung EVO takes more than that so won't boot from the front USB port on Lenovo desktop, and I believe booting NVMe which known to be power hungry, via the Pi USB may be more of a problem too.
 
Old 08-09-2022, 12:32 PM   #12
rclark
Member
 
Registered: Jul 2008
Location: Montana USA
Distribution: KUbuntu, Fedora (KDE), PI OS
Posts: 487

Rep: Reputation: 180Reputation: 180
You might be interested in the work by the James Chambers : https://jamesachambers.com/best-ssd-...erry-pi-4-400/

I personally found that Samsung T5s and T7s (500GBs) work the best for me for booting RPI-4 from USB 3.0 . I've also had good luck with older 2.5s (128GB/256GB) with a sata to usb adapter as well.

Last edited by rclark; 08-09-2022 at 12:35 PM.
 
Old 08-09-2022, 01:50 PM   #13
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,356

Rep: Reputation: 2332Reputation: 2332Reputation: 2332Reputation: 2332Reputation: 2332Reputation: 2332Reputation: 2332Reputation: 2332Reputation: 2332Reputation: 2332Reputation: 2332
Being a hardware techie, I feel your pain. I solved it with a 5.1V power supply.

That said, which supply is undervolting? There is a low voltage supply for the cpu cores, and it is adjustable on the later Pi 4Bs. That doesn't include my earlier model, unfortunately.I very much suspect the cpu core is what's undervolting. Look it up, but I think you can increment this cpu core voltage with a line in /boot/config.txt

overvolts=<number>

Articles about overclocking the Pi will give you the syntax .

EDIT: There are problems with the original "official" PSU. I think it's transformer based for 240VAC whereas the rest of the world uses 220VAC. That varies wildly anyhow. So the average install has very little overhead and comes out at 5.0V. By the time you've got down the wires and into the board, of course, you have lost some of that 5.0V. I got a switchmode power supply @ 5.1V.

Last edited by business_kid; 08-09-2022 at 01:58 PM.
 
Old 08-09-2022, 11:39 PM   #14
joboy
Member
 
Registered: Jul 2009
Distribution: Debian, Ubuntu, Puppy, Mint
Posts: 655

Original Poster
Rep: Reputation: 7
Thank guys for the valuable input, my problem basically solved. in the pass I used phone charger and even backup battery that I already have to save some cost, while running at normal clock rate booting via microSD I've no problem at all, the under voltage problem started to show after I overclocked and boot via USB.
@business_kid : I got 220V AC here, and I suppose modern PSU are switchmode should be able to adjust for that, I will take a measurement with those USB meter thing to see what actually the Pi receiving, thanks for the tip !
 
Old 12-07-2022, 05:00 AM   #15
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,356

Rep: Reputation: 2332Reputation: 2332Reputation: 2332Reputation: 2332Reputation: 2332Reputation: 2332Reputation: 2332Reputation: 2332Reputation: 2332Reputation: 2332Reputation: 2332
You're welcome. I believe the fussy voltage is actually the CPU voltage, and you can use an overvolts= option to increase that. I have this in my RazPi
Code:
over_voltage=5
arm_freq=2000
I'm overclocking to 2.0Ghz, although it does go a bit higher. You could gradually start at 1 and just increment it to see if that loses the undervolts thing.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Raspberry Pi: Combine a Raspberry Pi with up to 4 Raspberry Pi Zeros for less than US$50 with the Cluster HAT LXer Syndicated Linux News 0 07-05-2019 12:03 PM
which voltage is consider as a processor voltage ? gauthamk Linux - Software 1 02-27-2008 09:57 AM
setting CPU voltage with cpufreq/cpufreqd pafrica Linux - Laptop and Netbook 2 09-03-2005 03:04 AM
controlling Tx voltage of IRDA port with FC2 adem0rdna Linux - Hardware 0 11-05-2004 10:43 AM
PSU Voltage Regulator Leviathan Linux - Hardware 1 10-16-2003 10:25 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware > Linux - Embedded & Single-board computer

All times are GMT -5. The time now is 11:48 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration