Skip to the content
PCBKitNew board
2 layers35 × 47 mmXling, the printed circuit board in 3D

Xling, a pocket demon

Size
35 × 47 mm
Copper layers
2
Thickness
1 mm
Parts
77
Nets
65
Pads
239
Tracks, vias
560, 79
Pours
1
Routed
Yes
KiCad
KiCad 5 (file 20171130)
Created
25 Nov 2017
Updated
3 May 2021

Overview

Xling is an open-source printed circuit board by mcusim, from the mcusim/Xling repository on GitHub. It is a 2-layer board of 35 × 47 mm with 77 parts on 65 nets, routed with 560 tracks and 79 vias.

It is built around the ATMEGA1284P-AU, MCP73831 and NTR0202PL. Its parts include 23 resistors, 22 capacitors, 4 ICs, 3 connectors and 3 switches. It belongs with the power and lEDs and displays boards and the AVR (ATmega, ATtiny) boards of this library.

Main components

3

README

README.md

Xling, a pocket demon

Image

This is a little tamagotchi-like toy I've created for my wife. I used to think that this is how a modern Tamagotchi could look like initially. However, it can also be used as a battery-powered DIY platform to experiment with FreeRTOS and graphics.

Specifications

  • 35x47mm board
  • Monochrome OLED 128x64px
  • Low energy consumption (~20mA @ active, 0.75mA @ sleep)
  • Hand-soldering friendly (TQFP-44 0.8mm pitch, smallest is 0603)
  • 3D-printable case
  • Open Source Hardware/Firmware

Hardware

  • ATmega1284P 8-bit AVR MCU with 128 KiB flash and 16 KiB SRAM
  • SH1106G display controller
  • MCP73831 charge controller
  • AP3401 DC-DC buck converter
  • 400mAh 3.7V Li-Po battery (~26h @ active, ~30 days @ sleep)
  • Load-sharing circuit (can be powered by USB or battery, like a smartphone)
  • KiCad 5.1.0 project for schematic and board designs
  • Released under CERN-OHL-W v2 (Rev. 4) and CC-BY-SA (before Rev. 4)

Image

Software

Please, note that the software part of the project isn't finished yet!

  • Shows a frame time, energy left and a battery charged status
  • Animation with Exy-in-the-bottle, a "personal daemon"
  • Programmed in C99 using the FreeRTOS kernel modified for ATmega1284P
  • There are three tasks only: Display, Battery Monitor and Sleep Mode
  • Released under GNU GPLv3+

Website and Contact

Hackaday.io project: https://hackaday.io/project/165726-xling
Email: dsl AT mcusim DOT org
Dmitry Salychev

Parts

77
QtyValueFootprintReferences
710KXling Footprints:R_0603_1608MetricR1, R2, R19, R20, R21, R22, R23
74.7uFXling Footprints:C_0603_1608MetricC2, C11, C17, C18, C19, C20, C21
7510KXling Footprints:R_0603_1608MetricR4, R5, R6, R7, R12, R14, R15
6100KXling Footprints:R_0603_1608MetricR3, R8, R9, R10, R11, R13
6100nFXling Footprints:C_0603_1608MetricC1, C3, C4, C7, C10, C12
422pFXling Footprints:C_0603_1608MetricC5, C6, C16, C22
34.7nFXling Footprints:C_0603_1608MetricC13, C14, C15
3SW_PushXling Footprints:SW_Tact_4.5x4.5mm_TVCM09BB_Low_ProfileSW1, SW2, SW3
20.22uFXling Footprints:C_0603_1608MetricC8, C9
2110KXling Footprints:R_0603_1608MetricR17, R18
1+3.3VXling Footprints:TestPoint_Pad_D0.5mmTP1
110uHXling Footprints:L_1210_3225MetricL1
112MHzXling Footprints:Crystal_SMD_CFPX-104-4Pin_5x3.2mmY1
11N5819Xling Footprints:D_SOD-123D1
12.2uHXling Footprints:L_1210_3225MetricL2
12.55KXling Footprints:R_0603_1608MetricR16
1AP3401_TSOT26Xling Footprints:AP3401_TSOT26U4
1ATmega1284P-AUXling Footprints:TQFP-44_10x10mm_P0.8mmU2
1BAT_LVLXling Footprints:TestPoint_Pad_D0.5mmTP9
1BAT_STATXling Footprints:TestPoint_Pad_D0.5mmTP10
1BatteryXling Footprints:Battery_SMD_pads_1x02_HandSolderingJ3
1CSXling Footprints:TestPoint_Pad_D0.5mmTP6
1DCXling Footprints:TestPoint_Pad_D0.5mmTP7
1DCDC_FBXling Footprints:TestPoint_Pad_D0.5mmTP13
1ESD_LogoSymbol:ESD-Logo_6.6x6mm_SilkScreenOH2
1GNDXling Footprints:TestPoint_Pad_D1.0mmTP5
1ISPXling Footprints:Molex_Pico-Lock_504050-0691_1x06-1MP_P1.50mm_HorizontalJ1
1MCP73831Xling Footprints:MCP73831_SOT_23U3
1MOSIXling Footprints:TestPoint_Pad_D0.5mmTP4
1NTR0202PLXling Footprints:SOT-23Q1
1OLED_RSTXling Footprints:TestPoint_Pad_D0.5mmTP8
1OpenHardware_LogoSymbol:OSHW-Logo_5.7x6mm_SilkScreenOH1
1PWRXling Footprints:TestPoint_Pad_D0.5mmTP12
1REX012864LXling Footprints:DisplayPin_1x30_P0.7mmU1
1RSTXling Footprints:TestPoint_Pad_D0.5mmTP14
1ResetXling Footprints:SolderJumper-2_P1.3mm_Open_Pad1.0x1.5mmJP1
1SCKXling Footprints:TestPoint_Pad_D0.5mmTP3
1USBXling Footprints:TestPoint_Pad_D0.5mmTP11
1USB_OTGXling Footprints:USB_Micro-B_Molex-105017-0001J2
1VBATXling Footprints:TestPoint_Pad_D0.5mmTP2

Questions

How big is the Xling PCB?

It measures 35 × 47 mm and has 2 copper layers, 1 mm thick.

What parts does the Xling use?

77 parts, built around the ATMEGA1284P-AU, MCP73831 and NTR0202PL. 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 Xling KiCad files?

From the mcusim/Xling repository on GitHub, at the commit this page was made from: the board is hardware/xling.kicad_pcb. PCBKit opens the board in the browser, with nothing to install.

Can I use the Xling design in my own project?

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

Similar boards

  • 2 layers61.4 × 103.3 mmHB Dis EP-42BW, the printed circuit board in 3D

    HB Dis EP-42BW

    jp112sdl/HB-Dis-EP-42BW

    4.2" ePaper Display mit 10 Tasterkanälen für Homematic

    45 parts18
  • 2 layers94 × 94 mm3axis magnitometer, the printed circuit board in 3D

    3axis magnitometer

    NarodniySputnik/Gladiolus-1

    Gladiolus-1 - автономный модуль для приема и передачи изображений в формате SSTV (Slow Scan TeleVision) на малом космическом аппарате (МКА) формата CubeSat

    96 parts9GPL-3.0
  • 2 layers38 × 200 mmSPACEDOS02A PCB01A, the printed circuit board in 3D

    SPACEDOS02A PCB01A

    UniversalScientificTechnologies/SPACEDOS02

    Solid-state PIN diode dosimeter for manned spacecraft. Liulin detector replacement.

    120 parts8GPL-3.0
  • 2 layers136.2 × 85.9 mmBATDATUNIT01, the printed circuit board in 3D

    BATDATUNIT01

    mlab-modules/BATDATUNIT01

    Multiple parallel Li-ion 18650 battery cell module with BMS and data storage with MCU control.

    225 parts5GPL-3.0
  • 2 layers99.1 × 99.1 mmVent, the printed circuit board in 3D

    Vent

    pandemiaplan/OP-Vent

    A Simple, Open-Source Ventilator using a Proportional Solenoid Valve

    113 parts5
  • 2 layers93.5 × 48.2 mmSPACEDOS01, the printed circuit board in 3D

    SPACEDOS01

    UniversalScientificTechnologies/SPACEDOS01

    Silicon diode dosimeter optimized for spacecraft dosimetry

    92 parts5GPL-3.0
  • 2 layers51 × 51 mmHB RC-4-Dis TH, the printed circuit board in 3D

    HB RC-4-Dis TH

    jp112sdl/HB-RC-4-Dis-TH

    Als Vorlage/Idee diente das AVM FRITZ!DECT 440.

    60 parts4