

Power extender
Hardware and software for a power and IO extension PCB with current monitoring and I2C interface.
- Size
- 90 × 71 mm
- Copper layers
- 2
- Thickness
- 1.6 mm
- Parts
- 78
- Nets
- 70
- Pads
- 245
- Tracks, vias
- 485, 45
- Pours
- 1
- Routed
- Yes
- KiCad
- KiCad 5 (file 20171130)
- Created
- 11 Jun 2021
- Updated
- 26 May 2022
Overview
Power extender is an open-source printed circuit board by StarGate01, from the StarGate01/power-extender repository on GitHub, published under the MIT licence. It is a 2-layer board of 90 × 71 mm with 78 parts on 70 nets, routed with 485 tracks and 45 vias.
It is built around the CC6902SO-10A, ADS1115IDGS and PC817X2CSP9F, with the PCA9557PW, 1N4007F and PMBT3904 among its other parts. Its parts include 25 resistors, 11 ICs, 10 capacitors, 8 diodes and 8 connectors. It belongs with the home automation and IoT and sensors and measurement boards of this library.
Main components
8CC6902SO-10A
SOP-8-10A~10A -40℃~+125℃ 2000Vrms 200mV/A 5V 5mA SOP-8 Current Sensors ROHSCross chipCurrent SensorsADS1115IDGS
MSOP10Ultra-Small, Low-Power, 4 Channels 16-Bit Analog-to-Digital Converter with Internal ReferenceTexas InstrumentsUncategorisedPC817X2CSP9F
SMD-4P-30℃~+100℃ 1.2V 200mV@20mA,1mA 200mW 3us 4us 50% 50mA 50mA 5kV 600% 6V 80V DC Phototransistor SMD-4P Transistor, Photovoltaic Output Optoisolators ROHSSHARPTransistor, Photovoltaic Output OptoisolatorsPCA9557PW
TSSOP-16-40℃~+85℃ 10mA 2.3V~5.5V 250nA 400kHz 8 8 I2C、SMBus No Interrupt Output Open-drain Reset function、Cascading and address extension TSSOP-16 I/O Expanders ROHSNXP SemiconductorsI/O Expanders1N4007F
SMAF1.1V@1A 1A 1kV 5uA@1kV Independent SMAF Diodes - General Purpose ROHSShikuesDiodes - General PurposePMBT3904
SOT-231 NPN 100nA 200mA 200mW 300 300MHz 300mV 60V 6V NPN SOT-23 Bipolar (BJT) ROHSPAKERBipolar (BJT)SRD-05VDC-SL-C
插件,19.2x15.6mm100mΩ 10ms 10ms 15A 250V@AC 360mW 5 5V 70Ω Non-Polarized - Single Coil One set changeover: 1C (SPDT - changeover) 插件,19.2x15.6mm Power Relays ROHS松乐Power RelaysBSS138
SOT-23-55℃~+150℃ 1 N-channel 1.1Ω@10V、1.2Ω@4.5V 1.2V 1.7nC@10V 17.5pF 340mA 350mW 50V 6.5pF N-Channel SOT-23 MOSFETs ROHShongjiachengMOSFETs
README
README.mdPower Extender
Hardware and software for a power and IO extension PCB with current monitoring and I2C interface.
This project has been generously supported by PCBWay. Read more about this project and also my review of the manufacturing on my blog: Design And Assembly Of An I2C Relay PCB

Usage
Use KiCad with my CustomComponents library to view and edit the hardware project, or download the fabrication files for PCB and/or PCBA manufacturing. I used KiBOM to generate the BOM. You can also download the complete schematics as PDF.
See the Arduino library documentation for usage with the Arduino framework. The library is also available on PlatformIO. Use Visual Studio Code and the PlatformIO plugin to edit the Arduino library and tests.
See the Raspberry Pi library documentation for usage with the Raspberry Pi Python 3 smbus framework.
Features and Specifications
- Power input via
5Vand3V3pins- Min.
250mA @ 5Vto actuate all four relays simultaneously - Less than
30mA @ 5Vstandby current 3V3voltage level is only required for I2C level shifting if the I2C signal level is3.3Vinstead of5V
- Min.
- I2C bus for connection to a I2C master via JST header
RPI- I2C bus passthrough via JST header
PASS - Internal pullup resistors
- Level-shifting
3.3V - 5Vtolerant bus
- I2C bus passthrough via JST header
- Four
SRD-05VDC-SL-Cthree-lead (NC - COM - NO) magnetic relays- Each has a
CC6902SO-10Ainductive current measuring IC connected acrossCOM - Galvanically isolated driver circuit using an optocoupler
- Flyback diode protection
- Red status LED indicates
COM - NOactuation 2ozthick copper traces enable high currents- Isolation milling reduces risk of shorting in damp environments
- Maximum power:
10A, 250VAC, 110VDC - Contact load rating: resistive
7A @ 28VDC,10A @ 125VAC,7A @ 240VAC, inductive3A @ 120VAC,3A @ 28VDC
- Each has a
- One
PCA95578-channel GPIO port (I2C address:0x18), logic level0V | 5V- GPIO channels
0Z-3connected to JST headerDIGITAL - Relays are connected to GPIO channels
4-7 - Maximum current (except channel
0Z):25mAsink,20mAsource per channel, max. total:100mAsink,85mAsource - Channel
0Zis high-impedance and open-drain (see datasheet for details)
- GPIO channels
- Two
ADS11154-channel 16-bit ADC ports, voltage range0V - 5V- All four pins of ADC 1 connected to current measuring ICs (I2C address:
0x48) - All four pins of ADC 2 connected to JST header
ANALOG(I2C address:0x49) - Configurable sample rate and gain amplifier
- Max.
10mAcontinuous input current
- All four pins of ADC 1 connected to current measuring ICs (I2C address:
For further specifications and ratings, all datasheets can be found in this repository.
Sensor Calibration
Due to the inherent nature of magnetic relays, the inductive current measuring ICs and also the ADCs experience a measurement offset while the relays are energized. It is recommended to measure the actual load at a distance from the board, in order to obtain reference values. These reference values should then be used to compute an offset or function for each channel and amount of relays energized.
For no load (floating) using an Arduino Uno, the maximum absolute measurement offset was found to be about as follows.
| Amount of relays energized | Offset at energized channel | Offset at disabled channel |
|---|---|---|
| 0 | 0.05A | 0.05A |
| 1 | 1A | 0.7A |
| 2 | 1.5A | 1.3A |
| 3 | 2A | 1.8A |
| 4 | 2.4A | N / A |
Please note that these offsets are dependent on load and environmental factors.
PCB Details
17 unique parts, 60 SMT parts, 12 THT parts on a double-sided 90mm x 71mm PCB with 2oz copper finish.
Component cost per board: about $25 (Ignoring shipping, bulk discounts and changes in price over time).
BOM
| Item # | Designator | Quantity | Manufacturer | Manufacturer Part # | Description / Value | Distributor | Distributor part # | Package / Footprint | Type | Notes |
|---|---|---|---|---|---|---|---|---|---|---|
| 1 | C11, C21, C31, C41 | 4 | Any | TBD | CAP CER 100PF MAX. 5% MIN. 10V 0805 SMD | Any | TBD | SMD 0805 | SMD | |
| 2 | C1, C2, C12, C22, C32, C42 | 6 | Any | TBD | CAP CER 100NF MAX. 5% MIN. 10V 0805 SMD | Any | TBD | SMD 0805 | SMD | |
| 3 | D12, D22, D32, D42 | 4 | Shikues | 1N4007F | DIODE 1N4007 SMAF | LCSC | C110856 | SMAF | SMD | |
| 4 | D11, D21, D31, D41 | 4 | Everlight Elec | 17-21SURC/S530-A3/TR8 | LED RED 2V 0805 SMD | LCSC | C72037 | SMD 0805 | SMD | |
| 5 | J1, J2, J3, J4 | 4 | Any | TBD | CONN JST-XH PITCH-2.50MM VERTICAL MALE 5 PIN | Any | TBD | Through Hole | PTH | |
| 6 | J11, J21, J31, J41 | 4 | Ningbo Kangnex Elec | WJ128V-5.0-3P | CONN SCREW TERMINAL PITCH-5.0MM 3 PIN 20A | LCSC | C8270 | Through Hole | PTH | |
| 7 | K11, K21, K31, K41 | 4 | Ningbo Songle Relay | SRD-05VDC-SL-C | RELAY SEALED SENSITIVE 5V 10A | LCSC | C35449 | Through Hole | PTH | |
| 8 | Q1, Q2 | 2 | Shikues | BSS138 | MOSFET N-CH SOT-23-3 | LCSC | C112239 | SOT-23-3 | SMD | |
| 9 | Q11, Q21, Q31, Q41 | 4 | Nexperia | PMBT3904,215 | BJT NPN SOT-23-3 | LCSC | C8667 | SOT-23-3 | SMD | |
| 10 | R14, R24, R34, R44 | 4 | Any | TBD | RES 100 OHM MAX. 1% MIN. 1/8W 0805 SMD | Any | TBD | SMD 0805 | SMD | |
| 11 | R11, R12, R21, R22, R31, R32, R41, R42 | 8 | Any | TBD | RES 200 OHM MAX. 1% MIN. 1/8W 0805 SMD | Any | TBD | SMD 0805 | SMD | |
| 12 | R1, R13, R23, R33, R43 | 5 | Any | TBD | RES 1K OHM MAX. 1% MIN. 1/8W 0805 SMD | Any | TBD | SMD 0805 | SMD | |
| 13 | R2, R3, R4, R5, R15, R25, R35, R45 | 8 | Any | TBD | RES 10K OHM MAX. 1% MIN. 1/8W 0805 SMD | Any | TBD | SMD 0805 | SMD | |
| 14 | U1, U3 | 2 | Texas Instruments | ADS1115IDGSR | IC I2C 4 CH ADC VSSOP-10 | LCSC | C37593 | VSSOP-10 | SMD | |
| 15 | U12, U22, U32, U42 | 4 | Cross Chip | CC6902SO-10A | IC CURRENT SENSOR 5V 10A SOP-8 | LCSC | C350865 | SOP-8 | SMD | |
| 16 | U11, U21, U31, U41 | 4 | Sharp Microelectronics | PC817X2CSP9F | IC OPTOCOUPLER SMD-4 | LCSC | C66405 | SMD-4 | SMD | |
| 17 | U2 | 1 | NXP Semicon | PCA9557PW,118 | IC I2C 8 CH IO EXPANDER TSSOP-16 | LCSC | C141380 | TSSOP-16 | SMD |
Parts
78| Qty | Value | Footprint | References |
|---|---|---|---|
| 8 | 10K | Resistor_SMD:R_0805_2012Metric | R2, R3, R4, R5, R15, R25, R35, R45 |
| 8 | 200R | Resistor_SMD:R_0805_2012Metric | R11, R12, R21, R22, R31, R32, R41, R42 |
| 6 | 100N | Capacitor_SMD:C_0805_2012Metric | C1, C2, C12, C22, C32, C42 |
| 5 | 1K | Resistor_SMD:R_0805_2012Metric | R1, R13, R23, R33, R43 |
| 4 | 100P | Capacitor_SMD:C_0805_2012Metric | C11, C21, C31, C41 |
| 4 | 100R | Resistor_SMD:R_0805_2012Metric | R14, R24, R34, R44 |
| 4 | 1N4007F | CustomComponents:D_SMAF | D12, D22, D32, D42 |
| 4 | CC6902SO-10A | CustomComponents:CC690XSO-XA | U12, U22, U32, U42 |
| 4 | LED | LED_SMD:LED_0805_2012Metric | D11, D21, D31, D41 |
| 4 | LOAD | TerminalBlock_Phoenix:TerminalBlock_Phoenix_MKDS-1,5-3_1x03_P5.00mm_Horizontal | J11, J21, J31, J41 |
| 4 | PC817X2CSP9F | CustomComponents:PC817X2CSP9F | U11, U21, U31, U41 |
| 4 | PMBT3904 | Package_TO_SOT_SMD:SOT-23 | Q11, Q21, Q31, Q41 |
| 4 | SRD-05VDC-SL-C | Relay_THT:Relay_SPDT_SANYOU_SRD_Series_Form_C | K11, K21, K31, K41 |
| 3 | Fiducial | Fiducial:Fiducial_1mm_Mask2mm | FID1, FID2, FID3 |
| 2 | ADS1115IDGS | Package_SO:TSSOP-10_3x3mm_P0.5mm | U1, U3 |
| 2 | BSS138 | Package_TO_SOT_SMD:SOT-23 | Q1, Q2 |
| 2 | MountingHole | MountingHole:MountingHole_3.2mm_M3 | H1, H2 |
| 1 | AUX ANALOG | CustomComponents:JST_XH_B5B-XH-A_1x05_P2.54mm_Vertical | J3 |
| 1 | AUX DIGITAL | CustomComponents:JST_XH_B5B-XH-A_1x05_P2.54mm_Vertical | J4 |
| 1 | IFACE PASS | CustomComponents:JST_XH_B5B-XH-A_1x05_P2.54mm_Vertical | J2 |
| 1 | IFACE RPI | CustomComponents:JST_XH_B5B-XH-A_1x05_P2.54mm_Vertical | J1 |
| 1 | PCA9557PW | Package_SO:TSSOP-16_4.4x5mm_P0.65mm | U2 |
The 77 most common of 78 parts.
Questions
How big is the Power extender PCB?
It measures 90 × 71 mm and has 2 copper layers, 1.6 mm thick.
What parts does the Power extender use?
78 parts, built around the CC6902SO-10A, ADS1115IDGS, PC817X2CSP9F and PCA9557PW. The full list of its parts is on this page, with links to each part's symbol and footprint where PCBKit's library has them.
Where can I download the Power extender KiCad files?
From the StarGate01/power-extender repository on GitHub, at the commit this page was made from: the board is hardware/power-extender.kicad_pcb. PCBKit opens the board in the browser, with nothing to install.
Can I use the Power extender design in my own project?
Its repository publishes it under the MIT licence: you may reuse it on that licence's terms (keep the author's notice, and for a copyleft licence share your changes alike).
Similar boards
- 4 layers96 × 96 mm

- 4 layers100 × 55 mm

Resonant converter
Dominik-Workshop/resonant-converter
Resonant converter PCB, 60V -> 12V 10A
147 parts1MIT - 4 layers160 × 100 mm

Esp32 s3 dwm3000 uwb anchor with relay outputs
Takingo/Mypcb35
OmniCircuit AI is a local proof of concept for an autonomous PCB/PCBA design and manufacturing suite. The current implementation focuses on the ESP32-S3 + DWM3000 UWB Anchor example and establishes the architecture for:
323 parts - 4 layers150 × 75 mm

Mypsu
nerdmaennchen/WattaVolt
this repository contains hardware + software for my custom PSU/bringup-tool/younameit
275 parts2MIT - 4 layers240 × 180 mm

- 2 layers67.2 × 57.3 mm

Phantom 3 pro gimbal top board
o-gs/dji-hardware-schematics
Community made schematics for the DJI drones and devices.
668 parts255 - 4 layers108.7 × 55.1 mm

- 2 layers68.9 × 23 mm
