Skip to the content
4 layers83 × 83 mmBlinkekatze, the printed circuit board in 3D

Blinkekatze, a replacement PCB to turn cat themed night-lights into interactive light displays

Size
83 × 83 mm
Copper layers
4
Thickness
1.6 mm
Parts
134
Nets
80
Pads
468
Tracks, vias
853, 226
Pours
16
Routed
Yes
KiCad
KiCad 7 (file 20221018)
Created
6 Sep 2023
Updated
3 Jun 2024

Overview

Blinkekatze is an open-source printed circuit board by TobleMiner, from the TobleMiner/blinkekatze repository on GitHub. It is a 4-layer board of 83 × 83 mm with 134 parts on 80 nets, routed with 853 tracks and 226 vias.

It is built around the ESP32-C3-MINI-1, LTR-303ALS-01 and SPL06-001, with the TPS63001DRC, BQ24295RGE and FM2113 among its other parts. Its parts include 44 capacitors, 29 resistors, 16 diodes, 10 ICs and 4 connectors. It belongs with the ESP32 and RISC-V boards of this library.

Main components

10

README

README.md

Blinkekatze 😺

This is a replacement PCB for one version of cat themed night lights available via various online retailers.

It adds a number of RGB LEDs, sensors and wireless connectivity, enabling an interactive light display synchronized over a large number of Blinkekatzen.

Photo of Rev1.0 mainboard

Inspired by the wonderful derf

Architecture

The Blinkekatze is comprised of three PCBs:

  • The main board (this directory)
  • The USB board (located in /usb-board)
  • The original power- and mode-switch board from the nightlight

Mainboard

The main board contains most elements critical to device operation. At its heart is an ESP32-C3 for control.

The ESP32-C3 is accompanied by the following peripherals:

  • 16 super bright, individually controllable RGB LEDs (effectively ~12bit RGB color control)
  • High precision battery gauge for accurate capacity tracking and runtime estimation
  • Accelerometer and barometer to detect user interaction
  • Ambient light sensor enabling automatic brightness control
  • Efficient buck-mode battery charger

The main board also includes a MEMS PDM microphone that could be used for audio synchronization of lighting effects. However note the ESP32-C3 is missing hardware PDM to PCM conversion capability.

USB board

The USB board replaces the original board used for charging in the nightlight. It offers USB connectivity to the ESP32-C3 and contains two indicator LEDs visible through the bottom of the Blinkekatze.

To facilitate easy, solderless assembly mainboard and USB board are connected by a 5cm long 16 pin flat flex cable with opposite side contacts.

Ordering PCBs

All PCBs required to build Blinkekatzen can be ordered fully assembled from JLCPCB. The necessary fabrication files are located in /fab for the main board and /usb-board/fab. It is recommended to always use the latest revision available in those folders.
When ordering the PCBs they should be ordered as 1.6mm 4 layers for the mainboard and 1.6mm 2 layers for the USB board.

PCB assembly

In addition to the bare PCBs JLCPCB also offers an assembly service. The BOM and component centroid files required for assembly are also located in /fab and /usb-board/fab respectively.
When ordering assembly for the main PCB cost can be reduced significantly by choosing to populate only the top side of the PCB and later assembling the battery contacts (BTT1 and BTT2) on the bottom side by yourself manually. Those are the only parts on the bottom side of the PCB. Also microphone U6 is best left unpopulated since a lack of proper PDM to PCM support on the ESP32-C3 makes it mostly unusable.

Additional required electronic components

Apart from the components assembled by JLCPCB the following parts are required:

  • 2x MYOUNG MY-18650-01 battery contacts (if not assembled by JLCPCB, see previous section)
  • 1x 5cm 16pin 0.5mm pitch flat flex cable (e.g. C5151983 on LCSC)
  • 1x 18650 battery (Samsung INR18650-35E recommended)

JLCPCB assembly component availability

Sometimes components required for assembly are out of stock at JLCPCB. In this case the parts have to be ordered fist through JLCPCB's parts preorder service. Usually all required parts can be preordered in small quantities and will be available within a couple of days.

Assembling the Blinkekatzen

Preparing the PCB

If the battery contacts were not assembled through JLCPCB they need to be soldered. The overall fit of the battery is best with the contacts installed as far apart as possible within the throughholes. Special care should be taken to ensure the battery contacts are not soldered at an angle but lie flat on the PCB. Otherwise the battery might not snap into the contacts properly.

Preparing the housing

In the first step the rubber boot needs to be removed. The puck containing all electronics can either be pulled out to the bottom or first pushed into the puck and then removed.
Next the transparent diffuser on top of the puck can be removed by undoing the three screws (relatively long and skinny #0 Phillips head screwdriver required) and pulling up on the diffuser.

Removing the original PCBs

The original PCB is held in place with two screws. After undoing the screws the PCB can be pivoted to the side and the battery unplugged.
The original USB board also needs to be removed by undoing the two screws holding it in place.
Finally the PCB can be freed by desoldering the six connections on the original main PCB that go to the switch board in the bottom of the case. Since the switch board will be reused desoldering rather than cutting the wire can save some time later.

Modifying the case

After removal of the original main PCB the case needs to be modified slightly to accommodate the new battery. To make space for the new battery and battery holder snip out the two thin plastic walls with the half circle shaped cutouts the old battery was resting on using flush cutters.

Installing the USB board

The first new component to be installed in the housing is the new USB board. Since this board will be installed with the USB connector and flat flex connector facing down the flat flex cable needs to be connected to this board first. To connect the flat flex cable the latch on the connector must be flipped up and the cable then inserted with the contacts facing down. The cable is then secured by closing the latch again.
Now the USB board can be installed in the housing and secured in place with the two screws.

Installing the new main PCB

As a first step the two outermost contacts of the ribbon cable earlier desoldered from the original main PCB are soldered to the power key header J1 on the new main PCB (labeled PWR_ON and VBAT, polarity does not matter). Then the battery is installed (here polarity does very much matter). NEVER may batteries without or with a damaged insulating sleeve be used with this device. The battery contacts will short out such batteries!
After folding back the flat flex cable so it remains free and is not trapped under the battery the new main PCB is fixed in place with two screws.
As a final step the flat flex cable is now installed into the flat flex connector on the new main PCB in the same manner as on the USB board.

Firmware flashing

Please see blinkekatze-firmware for details on firmware flashing.

Parts

134
QtyValueFootprintReferences
24100nFCapacitor_SMD:C_0402_1005MetricC1, C2, C10, C11, C12, C13, C14, C15, C16, C20, C21, C22, C23, C24, C26, C27 +8
16SK6812MINI-012LED_SMD_RGB:XXXX12-X1D1, D2, D3, D4, D5, D6, D7, D8, D9, D10, D11, D12, D13, D14, D15, D16
1110kResistor_SMD:R_0402_1005MetricR1, R9, R13, R14, R15, R16, R17, R18, R21, R22, R43
91uFCapacitor_SMD:C_0402_1005MetricC18, C19, C25, C33, C66, C67, C68, C69, C70
7100RResistor_SMD:R_0402_1005MetricR2, R5, R6, R7, R10, R11, R12
510uFCapacitor_SMD:C_0402_1005MetricC65, C71, C72, C74, C75
310uFCapacitor_SMD:C_0603_1608MetricC30, C31, C32
2100kResistor_SMD:R_0402_1005MetricR23, R44
22.2uHInductor_SMD:L_Taiyo-Yuden_MD-4040L2, L4
2330Resistor_SMD:R_0402_1005MetricR19, R20
24.7kResistor_SMD:R_0402_1005MetricR45, R46
2AO3400APackage_TO_SOT_SMD:SOT-23Q1, Q2
2Tooling holeToolingHole:ToolingHole_JLCSMTH5, H6
10RResistor_SMD:R_0402_1005MetricR48
110mRResistor_SMD:R_0805_2012MetricR4
110uFCapacitor_Tantalum_SMD:CP_EIA-3216-18_Kemet-AC17
11kResistor_SMD:R_0402_1005MetricR8
1220RResistor_SMD:R_0402_1005MetricR3
122uFCapacitor_SMD:C_0805_2012MetricC28
14.7uFCapacitor_SMD:C_0402_1005MetricC29
14AFuse:Fuse_1206_3216MetricF1
1B+Battery_Holder_MYOUNG:MY-18650-01_flat-topBTT1
1B-Battery_Holder_MYOUNG:MY-18650-01_flat-topBTT2
1BQ24295Package_DFN_QFN:QFN-24-1EP_4x4mm_P0.5mm_EP2.7x2.7mmU8
1BQ27546Package_DSBGA:DSBGA-15_BQ27546_I2C_1.95x2.6mm_P0.5mmU2
1DNPResistor_SMD:R_0402_1005MetricR49
1ESP32-C3-MINI-1ESP32_C3:ESP32-C3-MINI-1U1
1FM2113Package_TO_SOT_SMD:SOT-23-6U4
1I2CConnector_PinHeader_2.54mm:PinHeader_1x03_P2.54mm_VerticalJ3
1ICAL+TestPoint:TestPoint_Pad_2.0x2.0mmTP3
1ICAL-TestPoint:TestPoint_Pad_1.5x1.5mmTP5
1LIS3DHPackage_LGA:LGA-16_3x3mm_P0.5mm_LayoutBorder3x5yU10
1LLMountingHole:MountingHole_2.5mmH9
1LTR-303ALS-01OptoDevice:Lite-On_LTR-303ALS-01U7
1LUMountingHole:MountingHole_2.5mmH7
1Left pegMountingHole:MountingHole_2.1mmH1
1Left screwMountingHole:MountingHole_2.5mmH3
1Power keyConnector_PinHeader_2.54mm:PinHeader_1x02_P2.54mm_VerticalJ1
1RLMountingHole:MountingHole_2.5mmH8
1Right pegMountingHole:MountingHole_2.1mmH2
1Right screwMountingHole:MountingHole_2.5mmH4
1SPL06-001Package_Goertek:LGA-8_2x2.5mm_P0.65mmU5
1SRV05-4Package_TO_SOT_SMD:SOT-23-6U3
1StrappingConnector_PinHeader_2.54mm:PinHeader_1x03_P2.54mm_VerticalJ2
1TPS63001Package_Texas:Texas_DRC0010J_ThermalVias.3U9
1USB boardConnector_FFC-FPC_HDGC:0.5K-QX-16PWB_16Pin_0.5mmJ4
1VCALTestPoint:TestPoint_Pad_2.0x2.0mmTP4
1~Package_LGA_ST:ST_HCLGA-4LD_3x4mmU6

The 122 most common of 134 parts.

More from TobleMiner/blinkekatze

1
  • 2 layers30 × 17.5 mmUsb board, the printed circuit board in 3D

    Usb board

    TobleMiner/blinkekatze

    Blinkekatze, a replacement PCB to turn cat themed night-lights into interactive light displays

    14 parts34

Similar boards

  • 2 layers60 × 150 mmPhone, the printed circuit board in 3D

    Phone

    TheEinfachFelix/CampPhone

    Warum habe ich mich dagegen entschieden, das Sim Modul selber zu implementieren? Ich habe kein Chip gefunden, der günstiger als das fertige Modul war, und ein Datenblatt in Englischer Sprache hat.

    137 parts
  • 4 layers76 × 72 mmKeychain rev b panel, the printed circuit board in 3D

    Keychain rev b panel

    olerast67/emotion-keychain

    Брелок с OLED-экраном и анимированными эмоциями

    168 partsApache-2.0
  • 4 layers38 × 74 mmStratosdrone, the printed circuit board in 3D

    Stratosdrone

    equationstratos/STRATOSDRONES

    A 4-layer, 36×70 mm Tello-style portrait controller board for the STRATOSDRONE: chip-down ESP32-P4 (flight + camera + hardware H.264) with an ESP32-C6-MINI-1 Wi-Fi co-processor, IMU / barometer / ToF / optical-flow…

    115 parts
  • 2 layers50 × 60 mmCurl tracker, the printed circuit board in 3D

    Curl tracker

    terryzhw/curl-tracker

    Curl Tracker is a wearable bicep curl tracker that uses an ESP32-C3 Super Mini alongside a MPU-6500 IMU to count reps, measure curl speed, and evaluate form in real-time.

    55 partsMIT
  • 2 layers84.1 × 47.3 mmFinalPCB, the printed circuit board in 3D

    FinalPCB

    daumemo/DIY-Signal-Generator

    DIY portable Wi-Fi enabled signal generator

    143 parts45
  • 2 layers89.3 × 52.1 mmDivergence Meter Project v2, the printed circuit board in 3D

    Divergence Meter Project v2

    waicool20/Divergence-Meter-Project-v2

    This is the second iteration of the Divergence Meter Project and another personal learning project, this time learning how to integrate Li-Ion batteries into a project, new electrical converter topologies, Rust…

    149 parts28
  • 2 layersClock, the printed circuit board in 3D

    Clock

    ckemere/ELEC327

    70 parts7MIT
  • 4 layers64 × 77 mmOBSPro, the printed circuit board in 3D

    OBSPro

    FabianSchwartau/OBSPro

    Version of the OpenBikeSensor hardware optimized for PCBA

    131 parts3LGPL-2.1

Questions

How big is the Blinkekatze PCB?

It measures 83 × 83 mm and has 4 copper layers, 1.6 mm thick.

What parts does the Blinkekatze use?

134 parts, built around the ESP32-C3-MINI-1, LTR-303ALS-01, SPL06-001 and TPS63001DRC. 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 Blinkekatze KiCad files?

From the TobleMiner/blinkekatze repository on GitHub, at the commit this page was made from: the board is blinkekatze.kicad_pcb and its schematic battery.kicad_sch. PCBKit opens the board in the browser, with nothing to install.

Can I use the Blinkekatze design in my own project?

Its repository states no licence, so its author keeps all rights: ask TobleMiner before reusing the design.