Possible Uninterruptible power supply for Pine64's SBC's
#4
(08-02-2022, 03:08 AM)GreyLinux Wrote: Unfortunately where I live I probably have a dozen or so power cuts a year , not as bad as some but enough to give me worry about the possible SD card corruption.

I use a Rockpro64 as a server and a NAS , I know I should invest in a emmc , but I'm not sure of a distro that supports it fully yet.

eMMC is supported by mainline kernels, so Debian/Armbian/Manjaro/etc. should work fine from eMMC. That won't prevent you from potentially getting filesystem corruption from power cuts though.

For immediate relief to your situation I think either an off-the-shelf UPS would do the trick, or a 12V lead-acid battery in parallel with the power input. This would keep the battery topped up while power is available, and if wall power gets removed, will automatically have the board powered from the battery. I'm no electrical engineer so I won't try to draw up a schematic, as I don't want to potentially spread a wrong circuit around.

For a more advanced solution, something like the TI BQ34110 might come in handy. It supports a wide range of battery chemistries, high capacities, high currents, and is designed for applications where the battery rarely gets discharged, like in UPSes. It communicates with the host through I²C, the only difficulty is that there is not yet a driver in Linux for this, but that can be remedied. The bigger issue is that this chip is currently unavailable due to supply issues, and won't be in stock until a year from now according to digikey.

So it'd be cool if we could find a comparable chip to the BQ34110. The BQ34Z110 looks promising, it only supports lead-acid but it is in stock. It also might actually have most of a driver already in drivers/power/supply/bq27xxx_battery_i2c.c. As for connecting the battery monitoring chip's I²C to the host board, something like Adafruit's STEMMA or SparkFun's QWIIC would be handy as a physical connector interface. That way people don't have to fiddle with individual jumper wires and PINE64 can just sell a STEMMA/QWIIC HAT for each board which is useful for things outside of the UPS.

Occasional Linux Kernel Contributor, Avid Wiki Updater, Ask Me About Quartz64
Open Hardware Quartz64 Model A TOSLink Adapter
Pi-bus GPIO Extender For ROCKPro64 And Quartz64 Model A
Plebian GNU/Linux
  Reply


Messages In This Thread
RE: Possible Uninterruptible power supply for Pine64's SBC's - by CounterPillow - 08-02-2022, 03:50 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Link USB power strips for a cluster? shanefe 1 236 04-02-2024, 11:11 PM
Last Post: evilbunny
  Unable to connect to Pine64 IRC channel due to certificate error? Must-Borrow 1 416 03-10-2024, 02:43 PM
Last Post: Must-Borrow
  Forum Recommendations for Pine64 support? backwoodstech2 0 413 02-04-2024, 07:12 PM
Last Post: backwoodstech2
  Im thinking of building a Pine64 cluster Theirat1991 1 606 01-12-2024, 03:31 AM
Last Post: KC9UDX
  PINE64 EU / Disappointment yoriel79 1 917 12-24-2023, 11:00 PM
Last Post: meekice
  How is it going Pine64.org? Corfromleuven 2 1,087 12-23-2023, 08:15 PM
Last Post: polinkuer12
  Registering my 'nick' on Pine64's IRC network diederik 5 1,191 11-13-2023, 07:36 PM
Last Post: ilebagels
  [Article] Star64 JH7110: Power Up the Display Controller with U-Boot Bootloader lupyuen 0 680 09-02-2023, 10:13 AM
Last Post: lupyuen
  Pine Desktop PowerSupply wont power on BSharp 5 1,808 08-29-2023, 08:06 AM
Last Post: chickenplusone
  power/battery usage on risc-v vs arm64? zetabeta 1 791 08-28-2023, 01:23 AM
Last Post: alphonso

Forum Jump:


Users browsing this thread: 1 Guest(s)