Skip to content
cr1tbitPublic

About

No description, website, or topics provided.

Resources

Stars

2 stars

Watchers

1 watching

Forks

Repository files navigation

I2Current powerboard

The Raison d'être of this board is to be a powerful, extensible, and affordable replacement for hotglueing a random powerbank into your next portable small-scale electronic project.

The largest benefit comes from the I2C interface - If, for example, a Raspberry Pi is powered with this board, it can actually check the battery state, if DC-jack is currently charging the device, or even see the power draw of other peripherals connected to this system.

The board is most useful for powering devices requiring peak power draw between 15W-60W.

For devices requiring less power, the cost overhead becomes a bit too much - alternative solutions on aliexpress, albeit not as much versatile, can cost less than $3 (this board costs ~$10, ordering 20 units from JLCPCB).

image

Sub-components

BQ25792 Li-Ion charger

Specs:

  • 3.6-24V input, max 3A (realistically, ~60W)
  • Input voltage independent from battery pack (buck-boost built-in)
  • Input from USB-C and/or DC barrel jack.
  • Can provide up to 3.33A@20V output to the same USB-C port
  • can work with 1S-4S (cells in series)
  • output current 5A (with 4 cells (~16V), up to ~80W output)
  • Works properly without battery pack too (can work as buck-boost power supply)
  • Many parameters configurable via i2c
  • Various battery/input/output voltages/currents readout

image

This charger is incredibly universal, costing around 1$ it provides versatility for many types of projects.

TPS56637 5V output step-down converter

image

It can provide up to 6A (30W) on output. However, it requires atleast 2S packet to be usable.

MT2492 3V3 DC-DC

image

This converter supports optional built-in ESP32-C3 controller, and can also be accesed via output pins

SPX3819M5-L-3-3 3V3 LDO

image

This low-power stabilizer provides power to onboard devices and some circuitry. It cannot be turned off, in contrast to 2 other converters.

FUSB302B Power Delivery controller

image

This device is controlled via i2c, and can be used to negotiate up to 5A/20V from compatible USB-C chargers.

Arduino library is available.

Connectors

Output 2.54 connector

This connector has been designed for low-profile goldpin socket connector (the male header actually goes through the holes in the PCB)

Shield can be designed, utilizing this connector.

Picoblade connector

This connector is dedicated for devices, where a "master" board sits somewhere else in the system.

Also, there's a digital switch on I2C lanes, as the boards were draining the power via the pullups, and not turning off properly.

Battery connector

  • Battery input
  • NTC resistor input (every battery pack should contain one, more on that later)
  • GND
  • Battery output (coming from BQ charger, provides stable voltage when baterry is depleated or missing)
  • GLOB_OFF (pin for external power-off switch)
  • VDC_IN (same as from barrel jack input)

USB-C passthrough

The data lanes (D+/D-) are being forwarded from USB-C input to picoblade. It works reliably with esp32 and rp2350 (both full-speed only, 12MB/s).

USB-C simplifies things, as power negotiation is completely indepent from data lanes, so there's no issue with PD negotiation happening on the power board, with data going to another one.

OLED connector on the bottom

You can solder a simple 0.42inch OLED to the bottom of the board.

Usage guide

Li-ion safety

Please remember not to burn your home. AWLAYS use batteries with protection circuit board. These include cell balancers, over/undervoltage protections.

Example protection board

Battery detection

The board will refuse to charge batteries, when NTC pin doesn't see ~10k resistance. It will still drain the batteries in this configuration though.

The board will do even weirder things, when 10k NTC is detected, but no battery is connected. It should never happen.

The board will work more or less fine without both battery and NTC.

1S-4S solderbridges

You have to solder a proper solderbridge, depending on your target config.

1S will not work out of the box, as both DCDC are configured for 5V stepdown. You'll have to replace the resistor dividers for both.

4S is also kind of out of spec, as the LDO for py32 is max 16V. It should work fine though.

GLOB_OFF switch

The idea is that in the off mode, every current consuming peripheral is shut down. The exception is the onboard PY32, which should be put to deep sleep by the firmware, when low state is detected.

PY32 can also override the GLOB_OFF net for specific peripherals.

Usage examples:

Sponsors

Developent of this board is supported by Clue.lamp.

Check them out, the device looks really nice, and utilizes state-of-the-art electronic design for both wired and wireless usage :)

Next revision ideas:

  • Remove "clue.lamp" cutout and OLED screen connector, it's not very useful

About

No description, website, or topics provided.

Resources

Stars

2 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages