Skip to the content
2 layers78.1 × 17.1 mmKicad koboy button side, the printed circuit board in 3D

Kicad koboy button side

samp38/koboy2

Kit to turn a Kobo mini into a flight instrument (XCSoar)

Size
78.1 × 17.1 mm
Copper layers
2
Thickness
1.6 mm
Parts
24
Nets
45
Pads
116
Tracks, vias
244, 35
Pours
2
Routed
Yes
KiCad
KiCad 10.0 (file 20260206)
Created
8 Sep 2016
Updated
16 Oct 2026

Overview

Kicad koboy button side is an open-source printed circuit board by samp38, from the samp38/koboy repository on GitHub. It is a 2-layer board of 78.1 × 17.1 mm with 24 parts on 45 nets, routed with 244 tracks and 35 vias.

It is built around the PKLCS1212E2000-R1. Its parts include 8 capacitors, 7 resistors, 5 ICs, 2 connectors and 1 switch. It belongs with the PIC boards of this library.

Main components

1

README

README.md

Kobo Mini to Flight Computer Kit

Description

Turn your kobo mini into a complete flight instrument :-) This project allows you to build an extension card for Kobo which runs XCSoar. The extension card includes a GPS and a pressure sensor. It acts as a sound variometer while it sends data (GPS NMEA data, Vz, temperature, absolute pressure) to XCSoar. In this repo you will find:

  • Eagle files and guide to realize the electronic card
  • Firmware source (and precompiled hex binaries) for the mcu
  • STL parts for the Kobo Mini to receive electronic card (and a bigger battery for long flights)
  • XCSoar software for Kobo

How it works

The GPS chip is standalone. As long as it's powered, it runs and sends NMEA data through its TX output at a given (user definable) frequency. The microntroller manages the pressure sensing and computing: pressure is measured, numerically filtered and derivated at 50Hz to provide Vz. To work with the GPS chip, the microcontroller detects the beginning of the PA6H TX communication and waits the time needed to send variometer data between GPS data bursts. It can seem dubious but it works very well for years in my case. The variometer data sent by the microcontroller to XCSoar mimics a Digifly Leonardo. So you just have to select Digifly Leonardo in XCSoar to have the variometer data read and understood by XCSoar. All the steps of the XCSoar configuration is described in the software part.

Two versions for two interaction options

To control the sound vario volume and turn the extension card on/off (indeed, you might want to use your Kobo as a reader), there are two possibilities and thus two versions of the PCB:

  • "button version": meaningful. Short press to loop in sound levels and long press to turn off.
  • "tap-tap version": the button is replaced with a accelerometer which detects the tap. Single tap to loop in sound levels and double tap to turn on/off.

Hardware

The extension card is based on a PIC24F16KA101 microcontroller, a GPS patch antenna chip (PA6H) and a high resolution pressure sensor (MS5611).

The GPS (U5) symbol and footprint come from Gekkio's KiCad libraries by Joonas Javanainen, licensed under CC BY 4.0 (copy in hardware/PCB/Vario Kobo/Button_version/kicad-koboy_button_side/libs/gekkio/).

Firmware

Compiled with Microchip XC16 compiler

Software

XCSoar

Open issues

Schematic

  • No VDD pin on the programming connector: the PIC must be powered separately while flashing.
  • MCLR: the series resistor R2 (100Ω to 470Ω) from the datasheet's reference circuit is missing (C6 100nF sits directly on the MCLR net). It limits the current dumped by the capacitor if the pin breaks down under ESD/EOS (PIC24F16KA102 datasheet, §2.3).
  • No local decoupling capacitor on the MAS6240 VIN.
  • KOBO_RX is shared between the PIC and the GPS TX (through R5).
  • Button version: the MAS6240 EN1/EN2 pins are wired to RA2/RA3, the reverse of firmware/audio.c (EN1 = _RA3, EN2 = _RA2). This dates back to the original Eagle design. As a result the low and medium volume levels are swapped (low gives 2x, medium gives 1x); high and off are unaffected. The taptap version matches the firmware. To be fixed in the firmware with per-version pin definitions.
  • R7 (1Ω) in series with the piezo is nearly a jumper: the MAS6240 datasheet suggests an optional 1kΩ to 2kΩ output protection resistor.
  • Taptap version: the PIC is programmed through the USB-A plug X1 with a custom pinout (D+ → MCLR, D− → PGC, 5V → PGD, which is also the GPS RX). Plugging the board into a real USB port would put 5V on PGD and the GPS RX.
  • Taptap version: the PA6H GND pins 3, 12 and 19 are not connected (Eagle library), only pin 8 is. To be fixed with the Gekkio GPS footprint, as on the button version.

PCB

  • Button version, DRC: 2 silkscreen warnings, no errors: the BZ1 (buzzer) footprint outline from the Eagle import runs over its pads. The fab clips it.
  • Taptap version, DRC: 12 errors, all pad-to-pad gaps of 0.195mm (rule 0.2mm) inside the Eagle MMA8452 footprint (0.305mm pads at 0.5mm pitch); to be fixed with a KiCad standard footprint. Silkscreen warnings from the Eagle PA6H and MMA8452 outlines and undersized texts.

Firmware

  • Auto-shutdown after inactivity is not implemented: vario_shutdown_tick() counts down but the shutdown() call is commented out (firmware/vario.c).

Repository / documentation

  • The hardware moved from Eagle to KiCad, with the same structure for both versions (main sheet plus a Power supply sub-sheet):

    • button version: hardware/PCB/Vario Kobo/Button_version/kicad-koboy_button_side/main.kicad_pro;
    • taptap version: hardware/PCB/Vario Kobo/Taptap_version/kicad-koboy_taptap_side/main.kicad_pro (migration in progress: references, silkscreen, GPS footprint and pin types still to do).

    The Eagle files are kept for history only; "Vario Kobo TOP" is to be removed.

  • The README still says "Eagle files" in the description and needs updating for KiCad.

Parts

24
QtyValueFootprintReferences
6100nFCapacitor_SMD:C_0603_1608Metric_Pad1.08x0.95mm_HandSolderC3, C4, C5, C6, C7, C8
410kResistor_SMD:R_0603_1608Metric_Pad0.98x0.95mm_HandSolderR1, R2, R4, R6
21µCapacitor_SMD:C_0603_1608Metric_Pad1.08x0.95mm_HandSolderC1, C2
2PICO-EZMATE4Vario Kobo-import-fps:PICO-EZMATE4-PCBJ1, J2
11Resistor_SMD:R_0603_1608Metric_Pad0.98x0.95mm_HandSolderR7
11kResistor_SMD:R_0603_1608Metric_Pad0.98x0.95mm_HandSolderR5
133kResistor_SMD:R_0603_1608Metric_Pad0.98x0.95mm_HandSolderR3
1ADP160/161/162/163Vario Kobo-import-fps:TSOT23-6_DDCU4
1FGPMMOPA6HGekkio_RF_GPS:GlobalTop_FGPMMOPA6HU5
1MAS6240Vario Kobo-import-fps:QFN12_3X3_LONGPADSU3
1MS5607PACKAGEDNORMALVario Kobo-import-fps:MS5607-02BA03U2
1PIC24F16KA101-X_Vario Kobo-import-fps:SSOP20_MCU1
1PKLCS1212E2000-R1Vario Kobo-import-fps:PKLCS1212E2000-R1-SMDBZ1
1SMS_J_LEADVario Kobo-import-fps:SMS_J_LEADSW1

More from samp38/koboy

1
  • 2 layers89.8 × 17 mmKicad koboy taptap side, the printed circuit board in 3D

    Kicad koboy taptap side

    samp38/koboy

    Kit to turn a Kobo mini into a flight instrument (XCSoar)

    26 parts2

Similar boards

  • 2 layers274.3 × 30.5 mmNumitron2, the printed circuit board in 3D

    Numitron2

    74hc595/Numitron-Clock

    An alarm clock using 9-segment numitron displays

    56 parts6BSD-3-Clause
  • 4 layers55 × 55 mmThetaAnomalain, the printed circuit board in 3D

    ThetaAnomalain

    Barsy-Barsevich/Barsotion-TA

    Board computer for model rockets

    110 parts1GPL-3.0
  • 2 layers51.1 × 50 mmWheelchair ui, the printed circuit board in 3D

    Wheelchair ui

    coencoelectronics/WheelChairUI_PCB

    53 parts
  • 2 layers58.4 × 22.6 mmTS Core, the printed circuit board in 3D

    TS Core

    seiken-dev/TinyStick

    59 partsBSD-3-Clause
  • 2 layers56 × 65 mmSeaTalk1, the printed circuit board in 3D

    SeaTalk1

    dotnet/iot

    This repo includes .NET Core implementations for various IoT boards, chips, displays and PCBs.

    24 parts2.4kMIT
  • 2 layers26.2 × 45.5 mmPL18 multiprotocol, the printed circuit board in 3D

    PL18 multiprotocol

    pascallanger/DIY-Multiprotocol-TX-Module

    Multiprotocol TX Module (or MULTI-Module) is a 2.4GHz transmitter module which controls many different receivers and models.

    24 parts1.9kGPL-3.0
  • 2 layers58 × 35.5 mmHat, the printed circuit board in 3D

    Hat

    menloresearch/asimov-1

    v1 of Asimov, an open-source humanoid robot

    24 parts1.4kCERN-OHL-S-2.0

Questions

How big is the Kicad koboy button side PCB?

It measures 78.1 × 17.1 mm and has 2 copper layers, 1.6 mm thick.

What parts does the Kicad koboy button side use?

24 parts, built around the PKLCS1212E2000-R1. 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 Kicad koboy button side KiCad files?

From the samp38/koboy repository on GitHub, at the commit this page was made from: the board is hardware/PCB/Vario Kobo/Button_version/kicad-koboy_button_side/main.kicad_pcb and its schematic hardware/PCB/Vario Kobo/Button_version/kicad-koboy_button_side/main.kicad_sch. PCBKit opens the board in the browser, with nothing to install.

Can I use the Kicad koboy button side design in my own project?

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