Skip to the content
2 layers12.1 × 36.7 mmJLCPCB HOLIDAY PROJECT, the printed circuit board in 3D

A little cool XMAS project

Size
12.1 × 36.7 mm
Copper layers
2
Thickness
1.6 mm
Parts
70
Nets
42
Pads
191
Tracks, vias
860, 102
Routed
Yes
KiCad
KiCad 5 (file 20171130)
Created
4 Nov 2020
Updated
19 Nov 2020

Overview

JLCPCB HOLIDAY PROJECT is an open-source printed circuit board by WingTechCorner, from the WingTechCorner/WTC_PROJECT-XMAS-USB-ORNAMENT repository on GitHub. It is a 2-layer board of 12.1 × 36.7 mm with 70 parts on 42 nets, routed with 860 tracks and 102 vias.

It is built around the STM32F030F4P6, CH340G and QMA7981. Its parts include 36 diodes, 14 capacitors, 10 resistors, 3 ICs and 2 crystals. It belongs with the sensors and measurement boards and the STM32 boards of this library.

Main components

3

README

README.md

Wing's XMAS Ornament

** ISSUE - Design Seems To produce non-working unit. Investigating... **

  • Something for the holidays.
  • Made using SMT/SMD components so most/all parts on one side.
  • Added header pins on revrse side for adding batteries or different UART(s).
  • Added USB-A PCB top to allow plugging into a laptop or computer USB port or to power with a USB-A extension cable.

JLCPCB Holiday Contest Entry

This is a project I'm also submitting to the JLCPCB.com Holiday Contest!

Hardware

Components

  • CH340G USB-to-TTL interface chip
  • AMS1117-3v3 linear voltage regulator
  • QMA7981 IMU in I2C mode
  • STM32F030F4 - Arm M0 MCU

STM32

  • 12Mhz External OSC
  • Boot0 - CH340G's CTS (pin 9) (pulldown via 4.7K, but can be brought HIGH by CH340G by toggling CTS)

I2C

  • PA9 - I2C SCL (connects to QMA7981's SCL)
  • PA10 - I2C SDA (connects to QMA7981's SDX)
  • PB1 - Motion Interrupt Signal ( connects to QMA7981's INT2 )

UART

  • PA2 - UART-TX (connects to CH340G's RX)
  • PA3 - UART-RD (connects to CH340G's TX)

LED Driving Lines

  • PA0 - A (CharliePlexed LED Lines)
  • PA1 - B (CharliePlexed LED Lines)
  • PA4 - C (CharliePlexed LED Lines)
  • PA5 - D (CharliePlexed LED Lines)
  • PA6 - E (CharliePlexed LED Lines)
  • PA7 - F (CharliePlexed LED Lines)
  • PA13 - G (CharliePlexed LED Lines)
  • PA14 - H (CharliePlexed LED Lines)

QMA7981

  • AD0 - Sets address. Routed to GND for 0. 0x12H
  • INT2 - Interrupt signal output. Routed to PB1 on MCU

CH340G

  • TXD - To MCU RXD
  • RXD - To MCU TXD
  • CTS - To MCU BOOT0 for boot mode selector
  • 12Mhz External OSC

Software

Building & Installing Arduino Code

The code is setup as a platformio project. To build:

bash
# To compile/build
pio run

# To upload (Note, assumes serial upload)
pio run --target=upload

Parts

70
QtyValueFootprintReferences
36BLUE_LEDDiode_SMD:D_0603_1608MetricD1, D2, D10, D11, D12, D13, D14, D15, D16, D17, D18, D19, D20, D21, D22, D23 +20
8200Ohms-±1%-1_8W-0805Resistor_SMD:R_0805_2012MetricR1, R2, R3, R4, R5, R6, R7, R8
7100nF-16V-0402Capacitor_SMD:C_0402_1005MetricC1, C4, C7, C10, C13, C14, C19
412pF-50V-0402Capacitor_SMD:C_0402_1005MetricC16, C17, C21, C22
31uF-25V-0402Capacitor_SMD:C_0402_1005MetricC15, C18, C20
212mhz-Crystal_GND24Crystal:Crystal_SMD_TXC_7M-4Pin_3.2x2.5mmY1, Y2
24.7KOhms-±1%-1_10W-0603Resistor_SMD:R_0603_1608MetricR9, R10
1AP1117-3v3Package_TO_SOT_SMD:SOT-223-3_TabPin2U3
1CH340GKiCad-Library-JLCPCB:SOIC-16_3.9x9.9mm_P1.27mm_JLC_ROTATEDU1
1Conn_01x02_MaleConnector_PinHeader_2.54mm:PinHeader_1x02_P2.54mm_Vertical5V-IN1
1Conn_01x04_MaleConnector_PinHeader_2.54mm:PinHeader_1x04_P2.54mm_VerticalSERIAL1
1MountingHoleMountingHole:MountingHole_2.2mm_M2H1
1QMA7981KiCad-Library-JLCPCB:LGA-12_2x2mm_P0.5mmIMU1
1STM32F030F4P6Package_SO:TSSOP-20_4.4x6.5mm_P0.65mmU2
1USB_A_PCBKiCad-Library-JLCPCB:USB-A-PCBJ1

Similar boards

  • 2 layers131.2 × 95.7 mmSwadge S2-Devkit, the printed circuit board in 3D

    Swadge S2-Devkit

    AEFeinstein/Super-2023-Swadge-HW

    Swadge devkit for an ESP32-S2 with all the bells and whistles

    86 parts17MIT
  • 2 layers60 × 146.5 mmTilda6-bot, the printed circuit board in 3D

    Tilda6-bot

    emfcamp/TiDAL-Hardware

    88 parts4
  • 2 layers154 × 159 mmHellen1-72, the printed circuit board in 3D

    Hellen1-72

    rusefi/hellen-miata-NB2

    a rusEFI board with a 72 pin connector. Works for a Mazda Miata NB2 or any generic 8 cylinder vehicle :)

    163 parts
  • 2 layers20.3 × 50.4 mmCh32v003f4u6 opendant, the printed circuit board in 3D

    Ch32v003f4u6 opendant

    cnlohr/cnhardware

    My dumping grounds for all my kicad projects and random hardware bringup.

    62 parts114
  • 4 layers406 × 27.5 mmHexdump, the printed circuit board in 3D

    Hexdump

    brainsmoke/hexboard

    quite a big hexdump display

    70 parts90
  • 2 layers50 × 50 mmBrew buddy hardware, the printed circuit board in 3D

    Brew buddy hardware

    marcelobarrosufu/brewbuddy

    Thermometer, stopwatch, step mash tool, boiling and hop additions controller in a compact instrument !

    45 parts20
  • 2 layers100 × 100 mmLcr 2, the printed circuit board in 3D

    Lcr 2

    yjmwxwx/stm32asm

    256 parts16GPL-3.0

Questions

How big is the JLCPCB HOLIDAY PROJECT PCB?

It measures 12.1 × 36.7 mm and has 2 copper layers, 1.6 mm thick.

What parts does the JLCPCB HOLIDAY PROJECT use?

70 parts, built around the STM32F030F4P6, CH340G and QMA7981. 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 JLCPCB HOLIDAY PROJECT KiCad files?

From the WingTechCorner/WTC_PROJECT-XMAS-USB-ORNAMENT repository on GitHub, at the commit this page was made from: the board is Hardware/JLCPCB-HOLIDAY-PROJECT.kicad_pcb. PCBKit opens the board in the browser, with nothing to install.

Can I use the JLCPCB HOLIDAY PROJECT design in my own project?

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