Skip to the content
2 layers230 × 85 mmLe chiff ble hotswap, the printed circuit board in 3D

Le chiff ble hotswap

MangoIV/le_chiff_ble52

A drop-in replacement-PCB for the beautiful le_chiffre

Size
230 × 85 mm
Copper layers
2
Thickness
1.6 mm
Parts
117
Nets
90
Pads
488
Tracks, vias
1,131, 206
Pours
2
Routed
Yes
KiCad
KiCad 7 (file 20221018)
Created
14 Jun 2021
Updated
15 Feb 2024

Overview

Le chiff ble hotswap is an open-source printed circuit board by MangoIV, from the MangoIV/le_chiff_ble repository on GitHub, published under the GPL-3.0 licence. It is a 2-layer board of 230 × 85 mm with 117 parts on 90 nets, routed with 1,131 tracks and 206 vias.

It is built around the MS88SF2, DW01A and FS8205, with the TP4056, USBLC6-2SC6 and AO3401A among its other parts. Its parts include 38 diodes, 15 resistors, 11 capacitors, 6 ICs and 3 switches. It belongs with the keyboards and input and radio and wireless boards of this library.

Main components

6

README

README.md

le_chiff_ble

What is this?

This is a drop-in replacement PCB for tominabox1's Le Chiffre keyboard, one of my all time favourite boards. I redesigned the existing PCB from top up and added bluetooth. Please be so kind and check out the original repo and leave a star. This is where you can also find case files for this PCB.

Some of the footprints are not taken from the standard kicad libraries, huge thanks to foostan for making the awesome "kbd" library and to ai03 for their super nice footprint libraries, the minew symbol and footprints are by oreore.

All graphics on my PCB are hand drawn and belong to no-one but me.

There are two PCBs in this repo one

  • with hotswap, no silkscreen, see kicad/le_chiff_ble_hotswap
  • without hotswap, with silkscreen, see kicad/le_chiff_ble

I do not take any responsibility for what you do with the files supplied here in any way. Neither do I guarantee they're working for whatever purpose you intend ot use them.

State of the project

implemented

  • charging circuit is working
  • MCU connects via bluetooth and USB
  • all features have been tested and are working, including OLED and Encoder
  • a working zmk firmware can be found here.

open tasks

  • the widgets in zmk for the OLED are still very basic, I'd like to do something to make them look better, this will be added after I finished and uploaded the firmware

How can I obtain one

  • Gerbers are supplied, be free to order them from the PCB manufacturer you prefer.

you will need parts:

  1. Resistors, footprint is 0805:
  • 1x 2M
  • 1x 1M
  • 1x 806k
  • 1x 100k
  • 2x 5.1k
  • 1x 1.8k
  • 3x 1k
  • 2x 100
  • 1x 2.1
  1. Capacitors, footprint is 0805
  • 4x 10uF
  • 2x 1uF
  • 2x 0.1uF
  • 1x 1nF
  1. Diodes
  • 35x SOD123 for the switches and encoder
  • 1x Schottky, SOD323, should be low voltage drop
  • either 2x in switch LEDs or 2x 0805 SMD LEDs for the charging indicator
  1. 1x PMOS, A03401A
  2. 1x battery management chip, TP4056, footprint is SOP-8-PP
  3. 1x LDO, XC6206PxxMR
  4. 1x usblc6, footprint is sot-23-6
  5. 1x 500mA Fuse, footprint is 1206/ 3216Metric
  6. 1x battery protection IC DW01A, footprint is sot-23-6
  7. 1x two nmos with gates connects FS8205, footprint is sot-23-6
  8. 1x Minew MS88SF2, be careful to choose the version with nrF52840, there's also another version with the same name which won't work
  9. 1x USB type c port, 12 pin
  10. 1x MSK-12C02 smd toggle switch
  11. 1x SW SPST TL3342 push switch for reset
  12. 34-35 MX/alps/choc switches depending on whether you use the encoder or not
  13. Battery connector with 1.25mm pitch, choose whichever you're fine with
  14. optional: 1x Encoder, 1x 128x32 OLED

How do I build one?

  • solder all components
  • flash bootloader (I liked this one a lot, it's fairly easy to modify to your needs, e.g. the name the board will appear with in bootloader mode)
  • plug into PC and test whether everything is working, flash Firmware
  • the firmware can be forked from here, just adjust the .keymap file, push, let GitHub Actions build it for you, download, done
  • plug in battery, plug in PC again to unlock DW01A (this needs to be done everytime you physically disconnect the PCB from the battery)
  • be careful to adjust resistor value of the tp4056 when you take different battery sizes, I chose 1Ah which works fine with the specified resistor values
  • verify charging and bluetooth works
  • continue building as if this was a "normal" chiffre

Parts

117
QtyValueFootprintReferences
35D_SmallDiode_SMD:D_SOD-123D10, D11, D12, D13, D14, D15, D16, D17, D18, D19, D20, D21, D22, D23, D24, D25 +19
34MX_LEDweteor:CherryMX_HotswapMX1, MX2, MX10, MX11, MX12, MX13, MX14, MX15, MX16, MX17, MX18, MX19, MX20, MX21, MX22, MX23 +18
410uFCapacitor_SMD:C_0805_2012MetricC1, C2, C5, C8
31kResistor_SMD:R_0805_2012MetricR1, R4, R12
2100Resistor_SMD:R_0805_2012MetricR5, R10
21uFCapacitor_SMD:C_0805_2012MetricC6, C9
24.7kResistor_SMD:R_0805_2012MetricR9, R11
24.7uFCapacitor_SMD:C_0805_2012MetricC3, C4
25.1kResistor_SMD:R_0805_2012MetricR13, R14
10.1uFCapacitor_SMD:C_0805_2012MetricC7
11.8kResistor_SMD:R_0805_2012MetricR6
1100kResistor_SMD:R_0805_2012MetricR7
1100nFCapacitor_SMD:C_0805_2012MetricC10
11MResistor_SMD:R_0805_2012MetricR15
11nFCapacitor_SMD:C_0805_2012MetricC11
12MResistor_SMD:R_0805_2012MetricR3
12R2Resistor_SMD:R_0805_2012MetricR8
1500mAFuse:Fuse_1206_3216MetricF1
1806kResistor_SMD:R_0805_2012MetricR2
1AO3401APackage_TO_SOT_SMD:SOT-23Q1
1BL_CONNConnector_PinHeader_2.54mm:PinHeader_1x04_P2.54mm_VerticalJ2
1Battery_CellConnector_Molex:Molex_PicoBlade_53048-0210_1x02_P1.25mm_HorizontalBT1
1DW01APackage_TO_SOT_SMD:SOT-23-6U4
1D_Schottky_SmallDiode_SMD:D_SOD-323_HandSolderingD3
1FS8205Package_TO_SOT_SMD:SOT-23-6U5
1HRO-TYPE-C-31-M-12Keebio-Parts:HRO-TYPE-C-31-M-12-AssemblyUSB1
1LOGOdreipunkteinsvier:ChurchOfChiffre40mmG***
1MS88SF2ms88sf2_oreore:MINEW_MS88SF2U2
1MX_LEDPCM_0xcb:SW_Cherry_MX_PCB_1.00uMX35
1OLEDkbd:OLED_1sideOL1
1ON_OFFother_parts:switch_MSK-12C02_smdSW1
1Rotary_Encoder_SwitchKeebio-Parts:RotaryEncoder_EC11-no-legsSW3
1SW_RESETButton_Switch_SMD:SW_SPST_TL3342SW2
1TP4056lib:TP4056_SOP-8-PPU1
1USBLC6-2SC6Package_TO_SOT_SMD:SOT-23-6U6
1XC6206PxxxMR-Regulator_LinearPackage_TO_SOT_SMD:SOT-23U3
1gweenDiode_SMD:D_0805_2012MetricD1
1oragneDiode_SMD:D_0805_2012MetricD2

The 115 most common of 117 parts.

More from MangoIV/le_chiff_ble

1
  • 2 layers228.4 × 85 mmLe chiff ble, the printed circuit board in 3D

    Le chiff ble

    MangoIV/le_chiff_ble

    A drop-in replacement-PCB for the beautiful le_chiffre

    117 parts52GPL-3.0

Similar boards

  • 2 layers266.5 × 99 mmKlackerBS, the printed circuit board in 3D

    KlackerBS

    kitspace-test-repos/kicad6-file-collection

    154 partsMIT
  • 2 layers42 × 116 mmDrink water, the printed circuit board in 3D

    Drink water

    heidtn/drinkmoarwater

    51 partsMIT
  • 2 layers196.1 × 87.8 mmUnispliff, the printed circuit board in 3D

    Unispliff

    weteor/Unispliff

    34 key col stagger keyboard w/ encoder.

    99 parts3CERN-OHL-P-2.0
  • 2 layers67 × 96 mmTo the moon, the printed circuit board in 3D

    To the moon

    Krakert/To-the-moon

    63 parts
  • 2 layers132 × 90.7 mmDao choc ble right, the printed circuit board in 3D

    Dao choc ble right

    Mposiblee/Zireael

    The keyboard is based on Dao Chok BLE. The locations of components on the board have been changed, space for the battery has been added, and the thumb cluster has also been changed.

    79 parts42CERN-OHL-P-2.0
  • 2 layers35 × 100 mmWalkieTalkie, the printed circuit board in 3D

    WalkieTalkie

    GuzziFlipFlops/ESP32-Walkie-Talkie

    An open source ESPNOW based walkie talkie with a 600 meter tested distance, with an OLED and multiple buttons to interact with

    66 parts7MIT
  • 2 layers62 × 6 mmTableLight, the printed circuit board in 3D

    TableLight

    jonny190/TableLight

    A 3D-printable, battery-powered, USB-C rechargeable table lamp in the classic "Poldina" shape - honeycomb disc base, thin stem, down-firing cone shade with a white top - running WLED on an ESP32, with a capacitive touch…

    72 partsMIT
  • 2 layers23 × 15.6 mmTp4056 battery, the printed circuit board in 3D

    Tp4056 battery

    Cyclone-92/TP4056-LiPo-charger-with-DW01A-and-FS8205A-MOSFET-protection

    Kicad8 PCB design for LIPO single cell charger with TP4056 and DW01 protection

    18 parts5

Questions

How big is the Le chiff ble hotswap PCB?

It measures 230 × 85 mm and has 2 copper layers, 1.6 mm thick.

What parts does the Le chiff ble hotswap use?

117 parts, built around the MS88SF2, DW01A, FS8205 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 Le chiff ble hotswap KiCad files?

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

Can I use the Le chiff ble hotswap design in my own project?

Its repository publishes it under the GPL-3.0 licence: you may reuse it on that licence's terms (keep the author's notice, and for a copyleft licence share your changes alike).