explaingit

atc1441/aohi_280w_charger_hacking

Analysis updated 2026-05-18

15CAudience · developerComplexity · 5/5Setup · hard

TLDR

A reverse engineering project and custom firmware replacement for the AOHi 280W USB-C desktop charger's built-in display, with tools for hardware exploration and Bluetooth setup.

Mindmap

mindmap
  root((AOHi Charger Hacking))
    What it does
      Custom display firmware
      Reverse engineered UI
      OTA firmware updates
    Tech stack
      C
      HC32F460 MCU
      WebBluetooth
    Tools included
      Firmware source
      Hardware dumps
      BLE config tool
    Safety
      Mains powered device
      Open with care

Code map

Detail Auto

An interactive map of this repo's files and how they connect — its source is parsed live in your browser. Click Visualize to build it.

filefunction / class

What do people build with it?

USE CASE 1

Flash a custom firmware onto an AOHi 280W charger's display controller to add debug and power history views.

USE CASE 2

Study the hardware dumps and register maps to learn how a USB-C charging station is wired internally.

USE CASE 3

Use the browser based BLE tool to configure the charger's Wi-Fi or cloud server settings.

What is it built with?

CHC32F460WebBluetoothSPI-NOR

How does it compare?

atc1441/aohi_280w_charger_hackingbenjamin-feldman/3dgs-weekendfelixrieseberg/strumento
Stars151515
LanguageCCC
Setup difficultyhardmoderateeasy
Complexity5/53/53/5
Audiencedeveloperdevelopergeneral

Figures from each repo's GitHub metadata at analysis time.

How do you get it running?

Difficulty · hard Time to first run · 1day+

Requires a J-Link programmer and physical access to the charger hardware to flash firmware.

No license is stated in the README, so usage rights are unclear.

In plain English

This project documents how the author took apart an AOHi 280 watt USB-C desktop charger, a six port charging station with a small built in screen, and wrote a replacement firmware for it from scratch. The original screen software was studied by examining how it behaved and rebuilt to run on the same small controller chip inside the charger, keeping the same look and button controls while adding extra features like a debug information page and a graph showing power usage over time. Inside the charger, one main chip handles the screen, buttons, and temperature sensors, and talks to several smaller chips that each manage the actual USB charging ports. There is also a Wi-Fi chip that lets the charger be monitored or controlled remotely, and it supports updating both the firmware and the screen's image files over the air, meaning no one needs to open the device to install an update. The screen graphics themselves are stored compressed on a separate flash chip and decoded piece by piece as they are drawn, rather than being kept fully in memory at once. The repository also includes a browser based tool, using WebBluetooth, that can talk to the charger over Bluetooth to set its Wi-Fi network or point it at a different cloud server, though the charger only accepts servers with a properly signed security certificate, which prevents someone from easily redirecting it to a fake server. Everything needed to explore or rebuild this yourself is included: full memory dumps taken from a real device, over 800 extracted screen images, the firmware source code with build instructions, and safety notes reminding readers that this device is powered directly from mains electricity and should only be opened by someone who understands that risk. No license is stated in the README.

Copy-paste prompts

Prompt 1
Walk me through how to build and flash the custom firmware in AOHi_280_Firmware using a J-Link programmer.
Prompt 2
Explain how the RLE compressed UI images are stored and decoded on this charger's external flash chip.
Prompt 3
How does the aohi_ble_tool.html WebBluetooth tool talk to the charger's BK7231N Wi-Fi module?
Prompt 4
Summarize the I2C register map used to control the charging controllers described in this project.

Frequently asked questions

What is aohi_280w_charger_hacking?

A reverse engineering project and custom firmware replacement for the AOHi 280W USB-C desktop charger's built-in display, with tools for hardware exploration and Bluetooth setup.

What language is aohi_280w_charger_hacking written in?

Mainly C. The stack also includes C, HC32F460, WebBluetooth.

What license does aohi_280w_charger_hacking use?

No license is stated in the README, so usage rights are unclear.

How hard is aohi_280w_charger_hacking to set up?

Setup difficulty is rated hard, with roughly 1day+ to a first successful run.

Who is aohi_280w_charger_hacking for?

Mainly developer.

Open on GitHub → Explain another repo

This repo across BitVibe Labs

Verify against the repo before relying on details.