
PSLab
fossasia/pslab-hardware
PSLab Hardware Design and Schematics https://pslab.io

CH552 / CH551 USB State Light
UsbAmpel is an open-source printed circuit board by andreasb242, from the andreasb242/CH55xG-StateLight repository on GitHub, published under the GPL-3.0 licence. It is a 2-layer board of 36.2 × 23.2 mm with 22 parts on 17 nets, routed with 133 tracks and 14 vias.
It is built around the WS2812B. Its parts include 7 diodes, 4 capacitors, 3 connectors, 2 resistors and 1 IC. It belongs with the 8051 (CH55x, STC, AT89) boards of this library.
CH552 / CH551 USB State Light
Tab size is 4 Spaces
Basically working on Linux, no Messenger sync yet
This is the Target protocol, not 100% ready.
Sended Text
$ Received Text
All Texts are are terminated with \n, \r or Both (don't matter)
Normal Sequence:
i
$TODO
Check if Version is correct.
Set all LEDs:
aRRGGBB
$OK
RRGGBB is an RGB Hex Color This will turn off blink.
Set single LED:
sID RRGGBB
$OK
ID is the LED ID, starting from 0, decimal RRGGBB is an RGB Hex Color This will turn off blink.
Set auto off time after XXX Seconds
aXXX
$OK
If there is no command received within XXX Seconds, turn off LEDs
Ping:
p
$OK
Used to prevent auto turn off
Blink:
tXXX
$OK
Set blink time to TTT * 100ms Defaults to 5, => 500ms blink time.
b255
$OK
Blink all LEDs
bID
$OK
Blink LED ID, ID is decimal
Write config byte:
caaa vvv
$OK
aaa Address: decimal, 0 .. 127 vvv Value: decimal, 0 .. 255
Read config byte:
raaa
$OK vvv
aaa Address: decimal, 0 .. 127 vvv Value: decimal, 0 .. 255
Write value to EEPROM
0 - 1: USB VID 2 - 3: USB PID 4: '>' if USB ID SHould be readed
5 - 23: Startup RGB Colors, RRGGBB. 24: '>' if RGB Colors should be read
25 ... n: Serial, Terminated with double 0, FF are ignored
| Qty | Value | Footprint | References |
|---|---|---|---|
| 6 | WS2812B | LED_SMD:LED_WS2812B_PLCC4_5.0x5.0mm_P3.2mm | D2, D3, D4, D5, D6, D7 |
| 4 | Mounting_Hole_PAD | MountingHole:MountingHole_2.7mm_M2.5_Pad_Via | MK1, MK2, MK3, MK4 |
| 3 | 100nF | Capacitor_SMD:C_0805_2012Metric_Pad1.15x1.50mm_HandSolder | C1, C2, C3 |
| 1 | 10kΩ | Resistor_SMD:R_0805_2012Metric_Pad1.15x1.50mm_HandSolder | R1 |
| 1 | 1kΩ | Resistor_SMD:R_0805_2012Metric_Pad1.15x1.50mm_HandSolder | R2 |
| 1 | 1µF | Capacitor_SMD:C_0805_2012Metric_Pad1.15x1.50mm_HandSolder | C4 |
| 1 | CH55xG | Package_SO:SOP-16_4.4x10.4mm_P1.27mm | U1 |
| 1 | Conn_01x02 | Connector_PinHeader_2.54mm:PinHeader_1x02_P2.54mm_Vertical | J2 |
| 1 | Conn_01x04 | Connector_PinHeader_2.54mm:PinHeader_1x04_P2.54mm_Vertical | J3 |
| 1 | LED | LED_SMD:LED_0805_2012Metric_Pad0.97x1.50mm_HandSolder | D1 |
| 1 | SW_Push | Button_Switch_SMD:SW_SPST_SKQG | SW1 |
| 1 | USB_A | Connector_USB:USB_A_Horizontal | J1 |

fossasia/pslab-hardware
PSLab Hardware Design and Schematics https://pslab.io

FrameworkComputer/ExpansionCards
Reference designs and documentation to create Expansion Cards for the Framework Laptop



PrintersForAnts/Micron
If you want to purchase full kits there are 3 available (Kits are slowly updating to R1 hardware just make sure to double check the included hardware in your kit and if you have any questions reach out in the discord)



It measures 36.2 × 23.2 mm and has 2 copper layers, 1.6 mm thick.
22 parts, built around the WS2812B. 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.
From the andreasb242/CH55xG-StateLight repository on GitHub, at the commit this page was made from: the board is Board/UsbAmpel.kicad_pcb. PCBKit opens the board in the browser, with nothing to install.
Its repository publishes it under the GPL-3.0 licence: you may reuse it on that licence's terms (keep the author's notice, and for a copyleft licence share your changes alike).