Verified 2026-11
m5stack Atomic ToUnit Base
Passive adapter that turns an Atom-series controller's bottom expansion interface into one male HY2.0-4P Unit socket, with an 8-way DIP switch choosing which Atom GPIO reaches IO1 and IO2 - $3.50 USD as measured.
Place this board on a carrier in the editor →
Part & documents
| Source | shop.m5stack.com/products/atomic-tounit-base → |
|---|
Specs
| MCU | none (connectors and a DIP switch only) |
|---|
Pinout
11 pads, as the vendor numbers them.
| # | Name | Function | Signals |
|---|---|---|---|
| 1 | 3V3 | 3.3 V from the Atom's bottom interface | |
| 3 | IO1 / IO2 | Atom GPIO routed by the DIP switch to the Unit socket's IO1 or IO2 | |
| 5 | IO1 / IO2 | Atom GPIO routed by the DIP switch to the Unit socket's IO1 or IO2 | |
| 6 | 5V | 5 V from the Atom, feeds the Unit socket's red contact | |
| 7 | IO1 / IO2 | Atom GPIO routed by the DIP switch to the Unit socket's IO1 or IO2 | |
| 8 | GND | common ground | |
| 9 | IO1 / IO2 | Atom GPIO routed by the DIP switch to the Unit socket's IO1 or IO2 | |
| 10 | GND | HY2.0-4P pad 1, Black wire | |
| 11 | 5V | HY2.0-4P pad 2, Red wire | |
| 12 | IO1 | HY2.0-4P pad 3, Yellow wire, DIP-switch-selected Atom GPIO | |
| 13 | IO2 | HY2.0-4P pad 4, White wire, DIP-switch-selected Atom GPIO |
Buses
| Bus | Signals | Pins | Voltage | Note |
|---|---|---|---|---|
| I2C ×1 | SDA, SCL | 3 / 5 / 7 / 9, 3 / 5 / 7 / 9 | Not a bus on the board - the Unit socket's IO1/IO2 contacts are whichever two Atom GPIO the DIP switch routes to them, so I2C reaches a Unit only if those two pins are the host's SDA/SCL. |
Power
| Input | 5 V taken from the Atom's bottom-interface 5V pad (pad 6); no regulator on the board |
|---|
Notes
Pads 1-9 are the vendor's own numbering from the A161 docs PinMap table (PIN | LEFT | RIGHT | PIN), which leaves pads 2 and 4 with no label - they are omitted rather than named, the Atomic ToChain Base convention. The Unit socket's four contacts are the vendor's colour-column order (Black/Red/Yellow/White -> GND/5V/IO1/IO2) and are offset to 10-13 so two connectors each numbering from 1 do not collide; the docs call the socket HY2.0-4P while the schematic's J1 footprint is a GROVE 1x4P, both recorded. No `part`: the board is two connectors and a switch, with no headline silicon, so it takes the two-segment name shape. No datasheet_url for the same reason; the schematic PDF is in sources instead. The 8-way DIP switch's exact GPIO pairing per switch position is drawn as artwork on the schematic and was not transcribed - only the four GPIO names per Atom model, which are text on the sheet.
AI context
Dense context for pasting into a model prompt — addresses, pinout, voltages, tolerances and the vendor's reference circuit.
BOARD: M5Stack Atomic ToUnit Base (A161), a 30.2 x 24.0 x 13.1 mm adapter PCB with no silicon of its own - it is two connectors and an 8-position DIP switch. It sits under an Atom-series controller and turns the Atom's bottom expansion interface into one male HY2.0-4P (Unit) socket, so a Unit-series device can be plugged into an Atom without a Grove-to-Unit cable. The switch is SW1, an SW-DIP8 8-way DIP switch, and it is the whole point of the board: it selects which Atom GPIO is routed to the Unit connector's IO1 and IO2 lines. The shipped kit is the board, a 1.5 mm hex key, one M2 x 10 mm self-tapping screw and a DIP-switch label sticker. ADDRESSES: none. There is no I2C device, no regulator and no memory on the board - a bus scan sees only whatever a user plugs into the Unit socket. PINOUT: 9 pads on the Atom-facing bottom interface, numbered as the vendor's own PinMap table numbers them, which puts odd pads in one column and even pads in the other. Labelled: 1 = 3V3, 3 = IO1 / IO2, 5 = IO1 / IO2, 6 = 5V, 7 = IO1 / IO2, 8 = GND, 9 = IO1 / IO2. Pads 2 and 4 carry no label in that table, so they are absent here rather than filled in - the vendor leaves them unnamed. Four pads print 'IO1 / IO2' because either line can land on any of them depending on the DIP switch, which is why the same text appears four times. The Unit-side socket is a male HY2.0-4P and is numbered 1-4 by the vendor's colour column: 1 Black GND, 2 Red 5V, 3 Yellow IO1, 4 White IO2. SUPPLY: no regulator and no conversion. The 5V on the Unit connector's red contact comes straight from the Atom's bottom-interface 5V pad (pad 6), and the Atom itself has to be powered as it normally is over USB-C. The board adds no current limit, so the Unit is limited by the Atom's own 5 V rail. LOGIC LEVEL: 3.3 V, unchanged. IO1 and IO2 go through the DIP switch to an Atom GPIO with no shifter and no buffer, so the Unit sees the Atom's 3.3 V logic and an Atom input sees whatever the Unit drives at 3.3 V. The only 5 V on the board is the power contact. REFERENCE CIRCUIT: nothing to fit and nothing fitted. The schematic for A161 carries exactly four parts - J1 a 1x4P Grove-footprint socket, P1 a 4-pin header, P2 a 5-pin header and SW1 the SW-DIP8 - with no resistors and no capacitors anywhere on it, so IO1 and IO2 have no pull-ups and a Unit that needs them must bring its own. The switchable Atom pins drawn on the sheet are GPIO22, GPIO19, GPIO23 and GPIO33 for an Atom Lite, and GPIO5/6/7/8 plus GPIO39/38/21/25 for an Atom S3. TRAPS: the switch is per-pin groups, not per-line - the vendor's instruction is that only one group may be enabled per pin and that enabling the same Atom pin on both the IO1 and the IO2 group stops the device working, so read the printed map before flipping anything. Lower switch position disables, upper enables. Because the pins the switch offers differ between Atom Lite and Atom S3, the same switch setting does not mean the same GPIO on the two boards; the sticker in the box exists for that reason. This board does not add a Grove socket or an I2C hub - it is one Unit port. It is an adapter, so it can never satisfy a land-pattern import on its own: there is no headline part to import, only the Atom it plugs into.
Provenance
Every figure on this page was read from the 3 sources below and last checked on Nov 3, 2026.
- vendor M5Stack product page (price, description, packing list)
- reference M5Stack docs A161 (PinMap table, HY2.0-4P colour table, DIP-switch instructions)
- schematic M5Stack schematic A161-SCH_Atomic-ToUnit-Base (parts list: J1 1x4P, P1 Header 4, P2 Header 5, SW1 SW-DIP8; Atom Lite and Atom S3 GPIO options)