Skip to the content
PCBKitNew board
2 layers36 × 30 mmLadybug, the printed circuit board in 3D

attiny85 + WS2812 replacement for CloudB ladybug nightlight

Size
36 × 30 mm
Copper layers
2
Thickness
1.6 mm
Parts
11
Nets
10
Pads
31
Tracks, vias
55, 9
Pours
2
Routed
Yes
KiCad
KiCad 4
Created
17 Oct 2015
Updated
19 May 2016

Overview

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.

Main components

1

README

README.md

ladybug

attiny85 + WS2812 replacement for CloudB ladybug nightlight.

Installation

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.

Programming

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.

Future work

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:

  • Vastly reduced quiescent current, probably under 20ua. Only the latch would be consuming measureable power.
  • Simplified programming, less need for fancy interrupt and sleep routines - at the end of the cycle, the attiny85 would just poke the toggle and turn the power off.
  • Better performance with low batteries. Right now, as the batteries decay, the ladybug gets wonky. The blue LED has a higher forward voltage, so as the batteries start to run down, the blue LED inside the WS2818b will no longer light up, though the green and red channels continue to work.
  • Probably a little bit brighter running at full 5v instead of the 4.5v or less coming from 3xAAA batteries.

There is plenty of room on the board for a boost regulator and toggle circuit.

Parts

11
QtyValueFootprintReferences
2100nfCapacitors_SMD:C_0603_HandSolderingC2, C3
1100Resistors_SMD:R_0603_HandSolderingR1
110uFCapacitors_SMD:C_0805_HandSolderingC1
1470KResistors_SMD:R_0603_HandSolderingR2
1ATTINY85-Sw_smd_dil:so-8IC1
1CONN_2Pin_Headers:Pin_Header_Straight_1x02P2
1CONN_5Pin_Headers:Pin_Header_Straight_1x05P1
1WS2812Bz2a_leds:WS2812bU1

The 9 most common of 11 parts.

Questions

How big is the Ladybug PCB?

It measures 36 × 30 mm and has 2 copper layers, 1.6 mm thick.

What parts does the Ladybug use?

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.

Where can I download the Ladybug KiCad files?

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.

Can I use the Ladybug 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 layers99 × 53.3 mmPSLab, the printed circuit board in 3D

    PSLab

    fossasia/pslab-hardware

    PSLab Hardware Design and Schematics https://pslab.io

    199 parts1.7kApache-2.0
  • 2 layers26 × 30 mmMicrocontroller, the printed circuit board in 3D

    Microcontroller

    FrameworkComputer/ExpansionCards

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

    34 parts1.1kCC-BY-4.0
  • 4 layers82.6 × 82.5 mmJumperless2, the printed circuit board in 3D

    Jumperless2

    Architeuthis-Flux/Jumperless

    A jumperless breadboard

    208 parts914
  • 2 layers95.3 × 161.9 mmDfh badge, the printed circuit board in 3D

    Dfh badge

    tanaes/whopping_Voron_mods

    135 parts787GPL-3.0
  • 2 layers42.8 × 28.8 mmMM Skirt, the printed circuit board in 3D

    MM Skirt

    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)

    11 parts741GPL-3.0
  • 2 layers149.6 × 127.1 mmErgodash, the printed circuit board in 3D

    Ergodash

    omkbd/ErgoDash

    keyboard

    187 parts732MIT
  • 2 layers285.5 × 95 mmReviung46 ver1 1, the printed circuit board in 3D

    Reviung46 ver1 1

    gtips/reviung

    The REVIUNG41 is 41-key column staggered keyboard.

    119 parts517MIT
  • 2 layers177.7 × 144.5 mmCOMM PANEL, the printed circuit board in 3D

    COMM PANEL

    jrsteensen/OpenHornet

    OpenHornet 1:1 F/A-18C Simulator Repository

    275 parts431