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

attiny85 + WS2812 replacement for CloudB ladybug nightlight
Ladybug is an open-source printed circuit board by z2amiller, from the z2amiller/ladybug repository on GitHub, published under the MIT licence. It is a 2-layer board of 36 × 30 mm with 11 parts on 10 nets, routed with 55 tracks and 9 vias.
It is built around the WS2812B. Its parts include 3 capacitors, 2 resistors, 2 ICs and 2 connectors. It belongs with the AVR (ATmega, ATtiny) boards of this library.
attiny85 + WS2812 replacement for CloudB ladybug nightlight.
Album showing disassembly here.
The ladybug has six screws that hold the shell on. They're under the fabric. I had to cut a small slit in the fabric to access some of them, others I was able to get at through the hole for the battery pack.
The ladybug can be programmed in-system with an 8 pin SOIC clip like this. I have used a small programming shield plus an Arduino UNO as the programmer. You could also make a custom cable to hook onto a dedicated programmer like the USBASP programmer.
It turns out that the WS2812b LEDs (aka Neopixels) have quite a high quiescent current - around 800uA. This ends up eating batteries moderately quickly.
One idea would be to connect the wakeup button to a soft latching circuit and use the output of the toggle control the enable pin of a power regulator end connect the current WAKE pin on the attiny85 as a second momentary input to turn it off after 30 minutes.
For example, that circuit controlling the enable pin of a 5V boost regulator would make the following improvements:
There is plenty of room on the board for a boost regulator and toggle circuit.
| Qty | Value | Footprint | References |
|---|---|---|---|
| 2 | 100nf | Capacitors_SMD:C_0603_HandSoldering | C2, C3 |
| 1 | 100 | Resistors_SMD:R_0603_HandSoldering | R1 |
| 1 | 10uF | Capacitors_SMD:C_0805_HandSoldering | C1 |
| 1 | 470K | Resistors_SMD:R_0603_HandSoldering | R2 |
| 1 | ATTINY85-S | w_smd_dil:so-8 | IC1 |
| 1 | CONN_2 | Pin_Headers:Pin_Header_Straight_1x02 | P2 |
| 1 | CONN_5 | Pin_Headers:Pin_Header_Straight_1x05 | P1 |
| 1 | WS2812B | z2a_leds:WS2812b | U1 |
The 9 most common of 11 parts.
It measures 36 × 30 mm and has 2 copper layers, 1.6 mm thick.
11 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 z2amiller/ladybug repository on GitHub, at the commit this page was made from: the board is hardware/kicad/LadyBug.kicad_pcb. PCBKit opens the board in the browser, with nothing to install.
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).

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)


