Skip to the content
2 layers40 × 40 mmFancyLight V2, the printed circuit board in 3D

FancyLight V2

Glebka/FancyLight1

FancyLight - an LED lamp powered by a Li-Ion battery, which can be found in used electronic cigarettes. It charges via a micro USB connector and is turned on and off using a touch button.

Size
40 × 40 mm
Copper layers
2
Thickness
0.65 mm
Parts
52
Nets
48
Pads
159
Tracks, vias
254, 43
Pours
1
Routed
Yes
KiCad
KiCad 7 (file 20221018)
Created
15 Dec 2023
Updated
19 Jan 2025

Overview

FancyLight V2 is an open-source printed circuit board by Glebka, from the Glebka/FancyLight repository on GitHub. It is a 2-layer board of 40 × 40 mm with 52 parts on 48 nets, routed with 254 tracks and 43 vias.

It is built around the ATTINY44A-MU, SYN480R and SB6286, with the TP4056, XB3303A and IRLML2402 among its other parts. Its parts include 17 resistors, 10 diodes, 6 capacitors, 5 ICs and 3 connectors. It belongs with the power boards and the AVR (ATmega, ATtiny) boards of this library.

Main components

10

README

README.md

FancyLight

FancyLight - an LED lamp powered by a Li-Ion battery, which can be found in used electronic cigarettes. It charges via a micro USB connector and is turned on and off using a touch button. A simple project to learn how to work with the TP4056 battery charging controller, a step-up DC-DC converter based on the SB6286 for powering LEDs, a touch switch controller based on the TTP223-BA6, as well as battery protection elements based on the DW01-P and dual MOSFET 8205A.

A touch switch controller is assembled on a separate PCB to improve touch sensing reliability.

TODO

  • Fix schematic and PCB:
    • Remap MCU pins to use benefits of builtin PWM generator
    • Fix auto-on on charging issue: add LDO for sensor and MCU, decoupling capacitors
    • Replace MURATA coil with some more common analog
    • Rework ISP connector so it compatible with programming clip, place it near the edge
    • Make 4 layers stackup
    • Update BOM and placement files to automatically mount
      • USB-C connector
      • LEDs
      • Inductor for Step-Up converter
    • Replace resistor on SENSE pin to 10k - 100k
    • Design mounting hole for PCB itself
  • Fix enclosure
    • Design mounting for the PCB for easier assembly
    • Fix the depth of mode selection pocket
  • (Minor) Update schematic and PCB
    • Introduce nRF module for BLE
    • Add wireless charger receiver as an alternative to USB-C

Parts

52
QtyValueFootprintReferences
410kResistor_SMD:R_0603_1608MetricR3, R13, R16, R18
4LEDLED_SMD:LED_PLCC_2835_HandsolderingD1, D2, D3, D4
4~MountingHole:MountingHole_2.5mmH1, H2, H3, H4
31kResistor_SMD:R_0603_1608MetricR6, R8, R9
20.1uCapacitor_SMD:C_0603_1608MetricC5, C6
2100kResistor_SMD:R_0603_1608MetricR4, R11
210uCapacitor_SMD:C_0603_1608MetricC3, C4
222uFCapacitor_SMD:C_0805_2012MetricC1, C2
2330Resistor_SMD:R_0603_1608MetricR12, R14
247Resistor_SMD:R_0805_2012MetricR1, R2
2IRLML2402Package_TO_SOT_SMD:SOT-23Q1, Q2
2MBR0520LT1Diode_SMD:D_SOD-123D7, D8
11000 mAhConnector_PinHeader_1.27mm:PinHeader_1x02_P1.27mm_VerticalBT1
1330Resistor_SMD:R_Array_Convex_4x0603RN1
13kResistor_SMD:R_0603_1608MetricR5
15.1kResistor_SMD:R_0603_1608MetricR7
15kResistor_SMD:R_0603_1608MetricR17
1ATtiny44A-MPackage_DFN_QFN:QFN-20-1EP_4x4mm_P0.5mm_EP2.6x2.6mmU6
1ISPConnector_PinHeader_2.54mm:PinHeader_2x03_P2.54mm_VerticalJ1
1LEDLED_SMD:LED_0805_2012MetricD6
1LEDLED_SMD:LED_0603_1608MetricD10
1LQH32MN2R2K23Llib:IND_LQH32MN2R2K23LL1
1MBR0520LT1 (B5819W SL)Diode_SMD:D_SOD-123D5
1MODEConnector_PinHeader_2.54mm:PinHeader_2x02_P2.54mm_VerticalJ3
1ONOFFConnector_PinHeader_1.27mm:PinHeader_1x02_P1.27mm_VerticalSW1
1RB751V-40Diode_SMD:D_SOD-323D9
1R_PhotoConnector_PinHeader_1.27mm:PinHeader_1x02_P1.27mm_VerticalR15
1SB6286Package_TO_SOT_SMD:SOT-23-6U1
1TOUCHConnector_PinHeader_1.27mm:PinHeader_1x03_P1.27mm_VerticalJ2
1TP4056TP4056:SOP127P600X175-9NU2
1TYPE-C_6Pkicad_lceda:TYPE-C-SMD_TYPE-C-6PUSB1
1XB3303Akicad_lceda:SOT-23-3_L2.9-W1.3-P1.90-LS2.4-BRU3
1syn480rConnector_PinHeader_1.27mm:PinHeader_1x03_P1.27mm_VerticalU5

More from Glebka/FancyLight

1
  • 2 layersCap touch sensor, the printed circuit board in 3D

    Cap touch sensor

    Glebka/FancyLight

    FancyLight - an LED lamp powered by a Li-Ion battery, which can be found in used electronic cigarettes. It charges via a micro USB connector and is turned on and off using a touch button.

    9 parts1

Similar boards

  • 2 layers180 × 50 mmEcu, the printed circuit board in 3D

    Ecu

    krzysztof9nowak/MiaCanFaker

    Emulate BMS on the bus of Mia Electric car

    162 parts
  • 4 layers53 × 33 mmLiPo BuckBoost Charger, the printed circuit board in 3D

    LiPo BuckBoost Charger

    potpurri/LiPo_Charger_TP4056_BuckBoost_TPS63020

    This PCB is designed to safely charge a lithium-ion cell and provide a selectable 3.3V or 5V output. It's equipped with components that ensure safe charging and protection for the battery and supports flexible output…

    63 parts9Apache-2.0
  • 2 layers45 × 30 mmLIR2032-charger, the printed circuit board in 3D

    LIR2032-charger

    potpurri/LIR2032-charger

    Charing board for LIR2032 batteries (or other lithium type button/coin cell batteries with the same diamater and mx voltage of 4.2V)

    36 partsApache-2.0
  • 2 layers100 × 100 mmUV Disc Charger, the printed circuit board in 3D

    UV Disc Charger

    potpurri/UV_Disc_Charger

    This project presents a UV disc charger designed to illuminate glow-in-the-dark disc golf discs using 100 UV LEDs.

    85 partsApache-2.0
  • 2 layers88 × 100 mmFurnace controller, the printed circuit board in 3D

    Furnace controller

    brrastak/furnace

    Schematics of furnace for glass fusing

    155 parts
  • 2 layers79 × 85 mmDreamstalker PRO v2, the printed circuit board in 3D

    Dreamstalker PRO v2

    orpaltech/dreamstalker

    This device is designed to assist with lucid dreaming. The idea comes from this site: https://smartelectron.ru/projects/pribor-dlya-osoznannyh-snovidenij-dreamstalker-pro.

    112 parts
  • 2 layers175 × 85 mmControl pcb, the printed circuit board in 3D

    Control pcb

    ViKozh/ctrl.energy

    ESPHome-based node for energy monitoring with additional functionality

    113 partsMIT

Questions

How big is the FancyLight V2 PCB?

It measures 40 × 40 mm and has 2 copper layers, 0.65 mm thick.

What parts does the FancyLight V2 use?

52 parts, built around the ATTINY44A-MU, SYN480R, SB6286 and TP4056. 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 FancyLight V2 KiCad files?

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

Can I use the FancyLight V2 design in my own project?

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