Skip to the content
4 layers39 × 81.6 mmConchodytes, the printed circuit board in 3D

Sleeper mouse: a wireless PMW3360 PCB inside a Logitech M100/M90 shell, talking to the same KaSe dongle as the Niphargus keyboard

Size
39 × 81.6 mm
Copper layers
4
Thickness
1.6 mm
Parts
65
Nets
77
Pads
261
Tracks, vias
646, 85
Pours
3
Routed
Yes
KiCad
KiCad 10.0 (file 20260206)
Created
7 Aug 2026
Updated
21 Sep 2026

Overview

Conchodytes is an open-source printed circuit board by mornepousse, from the mornepousse/Conchodytes repository on GitHub. It is a 4-layer board of 39 × 81.6 mm with 65 parts on 77 nets, routed with 646 tracks and 85 vias.

It is built around the ESP32-S3-WROOM-1-N8, DW01A and HT7833, with the TP4056-42-ESOP8, USBLC6-2SC6 and AO3407 among its other parts. Its parts include 28 resistors, 14 capacitors, 8 ICs, 4 switches and 3 connectors. It belongs with the ESP32 boards of this library.

Main components

8

README

README.md

Conchodytes

The shrimp that lives inside another's shell.
La crevette qui vit dans la coquille d'un autre.


Firmware

The mouse runs the KeSp firmware (role MOUSE: PMW3389, three clicks, wheel, HID relayed to the dongle's slot 2). Since 2026-09-21 its board lives here, not in the firmware repository:

  • boards/conchodytes/ — board.h (pinout, netlist-checked), sdkconfig.defaults, test_pins.c (the pinout contract);
  • firmware/ — the KeSp firmware as a git submodule, pinned on a release (git submodule update --init);
  • .github/workflows/firmware.yml — calls the firmware's reusable workflow: every push builds conchodytes_<version>.bin (+ _full.bin), a v* tag publishes a release here.
bash
scripts/test-pins.sh                                    # pinout contract, host, no toolchain
cd firmware && export IDF_COMPONENT_CHECK_NEW_VERSION=0 && \
idf.py -B build_conchodytes -DBOARD_DIR=../boards/conchodytes -DSDKCONFIG=build_conchodytes/sdkconfig build
esptool --chip esp32s3 -p /dev/ttyACM0 write_flash 0x20000 build_conchodytes/KeSp.bin

To take a newer firmware: cd firmware && git fetch --tags && git checkout vX.Y.Z, then commit the submodule bump; read the firmware's release notes first (a board macro may have been added — the pin contract will say).

Firmware

The mouse runs the KeSp firmware (role MOUSE). Its board definition, pinout contract and firmware releases live in Conchodytes-firmware; this repository is the hardware (PCB, notes, bring-up).

English

A sleeper mouse: a replacement PCB for a Logitech M100 shell, keeping the outer appearance of a cheap office mouse while carrying a PMW3389 sensor and a wireless link to the KeSp dongle — the same receiver as the Niphargus keyboard.

The shell is a fixed constraint: click switches, optical wheel encoder and sensor positions are imposed by the M100 case and are locked in the layout.

Electronics reuse the reviewed and routed blocks of Niphargus — ESP32-S3 + nRF24L01+, TP4056 charging with DW01A/FS8205 protection, HT7833 LDO, USB-C with ESD protection.

Français

Une souris sleeper : un PCB de remplacement pour coque Logitech M100, qui garde l'apparence d'une souris de bureau bon marché tout en embarquant un capteur PMW3389 et une liaison sans fil vers le dongle KeSp — le même récepteur que le clavier Niphargus.

La coque est une contrainte figée : les positions des clics, de l'encodeur optique de molette et du capteur sont imposées par le boîtier M100, et verrouillées dans le layout.

L'électronique reprend les blocs relus et routés du Niphargus — ESP32-S3 + nRF24L01+, charge TP4056 avec protection DW01A/FS8205, LDO HT7833, USB-C protégé.

État (2026-08-25) — capteur validé au banc : identifié, SROM téléversé, déplacement lu, sur trois reworks (voir NOTES-V2.md). Le firmware de banc est dans bringup/.

État (2026-08-07) — schéma complet et vérifié par netlist, board routé, 0 pad non connecté. Le contour et les positions imposées par la coque viennent du fork USB-Mouse ; l'alimentation, la charge, l'USB et la radio sont repris du Niphargus. Reste à nettoyer le DRC (18 copper_edge_clearance) et à mesurer la coque pour figer le contour définitif.


Repository layout · Organisation

PathContents
hardware/pcb/KiCad project — conchodytes.kicad_pro
scripts/Anti-regression checks (same pipeline as Niphargus)
docs/Design notes

Fabrication

The two projects stay independent. They are only merged at gerber export time, so the mouse board is panelised into the free space of the Niphargus panel and costs almost nothing to make.

Les deux projets restent indépendants. Ils ne sont réunis qu'au moment de l'export gerber, la carte souris venant se loger dans le vide du panneau Niphargus — le PCB revient alors à presque rien.

Anti-regression · Anti-régression

sh
./scripts/check.sh --fast   # ERC vs committed baseline
./scripts/check.sh          # + full DRC

Bloc capteur

PMW3389SPI partagé avec le nRF24 (SCK_L/MOSI_L/MISO_L), plus SNS_NCS et SNS_MOTION. Mode SPI 3, fSCLK ≤ 2 MHz
Alimentation⚠️ VDD et VDDPIX ne sont pas en 3,3 V — rail dédié 2,0 V par LDO (1,80-2,10 V, maximum absolu 2,10). VDDIO reste en 3,3 V
Optiquelentille LM19-LSI, commune au PMW3360 et au PMW3389 — celle d'origine de la M100 est faite pour le PAW3526 et ne convient pas
Moletteencodeur optique : LD1 éclaire une roue à 60 fentes, LQ1 la lit. ⚠️ LQ1 (marquage H6Y07) est un capteur VCC / GND / DATA, PAS un double phototransistor — la v1 le câblait à l'envers, voir NOTES-V2.md §1bis
ClicsSPDT, COM à la masse, NO et NC tirés chacun au 3,3 V — lire les deux contacts en parallèle supprime le rebond

Affectation des GPIO du S3, en évitant les broches de strapping :

SignalGPIOBroche du moduleSignalGPIOBroche
SNS_NCS1710SW_LEFT1018
SNS_MOTION1811SW_RIGHT1119
ENC_A (DATA)77SW_MID1220
ENC_LED ¹917SW_LEFT_NC55
SW_RIGHT_NC44
SW_MID_NC66

¹ GPIO9 portait ENC_B en v1, sur un montage faux. En v2 il commande la cathode de LD1 — la LED de molette peut donc être éteinte par le firmware, ce qui compte sur une souris à batterie. ENC_A (GPIO7) est le seul signal de l'encodeur, et c'est ADC1_CH6.

⚠️ Ne pas confondre GPIO et numéro de broche du module : ce tableau donnait auparavant les broches en les présentant comme des GPIO.

⚠️ SW_LEFT_NC et SW_RIGHT_NC étaient inversés ici jusqu'au 2026-08-25. Le tableau annonçait GPIO4 à gauche et GPIO5 à droite ; la netlist dit l'inverse — GPIO4 va à SW2.3 (clic droit, R109) et GPIO5 à SW1.3 (clic gauche, R108). Comme l'anti-rebond apparie NO et NC du même bouton, écrire le firmware sur l'ancien tableau croisait les deux clics.

Le reste du brochage, relevé à la netlist au kicad-cli le 2026-08-25 :

SignalBrocheGPIOSignalBrocheGPIO
SCK_L3138CSN_1 (nRF)382
MISO_L3239CE_1 (nRF)391
MOSI_L3340IRQ_1 (nRF)3441
VBAT_SENSE ²2113 (ADC2_CH2)D- / D+13 / 1419 / 20
J1 TX / RX37 / 3643 / 44J1 IO0270

² En v2, VBAT_SENSE passe sur la broche 12 = GPIO8 = ADC1_CH7. L'ADC2 de l'ESP32-S3 est partagé avec le driver Wi-Fi ; tant que la mesure y reste, le Wi-Fi est interdit sur cette carte. Voir NOTES-V2.md point 7.

Les lignes SPI et de contrôle portent chacune 100 Ω en série (R16/R18/R30, R36/R39/R41) — sans effet à 2 MHz.

Les contacts NC des trois clics sont câblés sur GPIO4/5/6, chacun avec son pull-up 10 k (R108-R110). Au repos NC est fermé sur COM donc bas, NO ouvert donc haut ; au clic ils s'inversent. Pendant le rebond les deux sont hauts — le firmware garde alors l'état précédent, ce qui élimine le double-clic sans aucun filtrage temporel.

Les six empreintes imposées par la coque — SW1/SW2/SW3, LD1, LQ1, U2 — sont verrouillées dans le layout et liées à leurs symboles. Ne pas les renommer : le F8 les dissocierait et leurs positions seraient perdues.

Historique · History

ÉtapeCe qui s'est passé
REV1Premier tirage. Trois défauts de conception trouvés au banc, tous documentés dans NOTES-V2.md : LQ1 câblé à l'envers (§1bis), U100 — le LDO du capteur — pattes 2 et 3 croisées, et U2 monté à 180°.
2026-08-25Bring-up du capteur. La puce n'est pas un PMW3360 mais un PMW3389 (Product_ID = 0x47) : identité lue, SROM téléversé, déplacement mesuré. Rail capteur corrigé au fer, 2,01 V mesuré. Rotation de 180° confirmée par la mesure — les deux axes inversés, biais 100 % sur 76 échantillons.
REV2.0.0Schéma corrigé et gerbers partis en fabrication : LQ1 recâblé sur +3V3, D100 supprimée, VBAT_SENSE déplacé sur ADC1, U100 corrigé, LD1 passée en cathode pilotée.
2026-08-26Firmware complet et lien radio. La souris parle au dongle KaSe sur le slot RF 2 — le code vit comme septième variante de carte dans KeSp_firmware, pas dans un dépôt séparé.

Ce que la mise au point du 26 août a trouvé

Quatre défauts, chacun établi par une mesure prise aux deux extrémités du lien — compteurs de la souris d'un côté, RF_STATUS du dongle de l'autre.

DéfautAvantAprès
Bascule de mode SPI sous un CS déjà abaissé — bus partagé entre le capteur (mode 3) et la radio (mode 0)1 trame acquittée sur 738693 sur 693
Scrutation du dongle à 10 ms, pour une FIFO nRF24 de 3 paquets3135 acceptées sur 8356 (37,5 %)99-100 %
Déplacement des trames non acquittées jeté au lieu d'être réaccumuléla moitié du geste disparaissaitdistance conservée
Résolution jamais écrite : la puce restait à son défaut5000 cpi1000 cpi, comme la M100

Ce qui reste ouvert

Un tremblement d'origine optique que le firmware ne peut pas corriger : SQUAL mesuré entre 30 et 55 là où ~80 est attendu, et le capteur produit sur certaines surfaces des dérives cohérentes de ~1000 comptes en trois secondes, souris immobile — indiscernables d'un geste lent volontaire.

Deux pistes, par ordre de coût croissant, détaillées au §8 de NOTES-V2.md :

  1. R102 vaut 330 Ω sous 3,3 V, soit ~6,8 mA dans LD1, quand la M100 d'origine en fait passer 2,6 mA. La LED de molette tourne à près du triple de son intensité prévue, en permanence, contre le capteur. 820 Ω reproduit le point de fonctionnement d'origine. Un composant.
  2. Le montage à 180° de U2 échange peut-être les chemins d'illumination et d'imagerie de la lentille, ce qui expliquerait l'image à la fois sombre en moyenne et saturée par endroits. Si c'est le cas, la rotation d'empreinte prévue en REV2 corrige le tremblement et le sens des axes d'un coup.

Credits

Outline and mechanical positions derive from RandomDelta6/USB-Mouse, a working USB mouse PCB reusing the original optical assembly.

Parts

65
QtyValueFootprintReferences
810kResistor_SMD:R_0603_1608MetricR100, R103, R105, R106, R107, R108, R109, R110
7100Resistor_SMD:R_0603_1608Metric_Pad0.98x0.95mm_HandSolderR16, R18, R30, R36, R39, R41, R70
510uFCapacitor_SMD:C_1206_3216Metric_Pad1.33x1.80mm_HandSolderC11, C20, C24, C26, C29
3100nFCapacitor_SMD:C_0603_1608Metric_Pad1.08x0.95mm_HandSolderC1, C8, C21
3100nFCapacitor_SMD:C_0603_1608MetricC100, C101, C102
210kResistor_SMD:R_0603_1608Metric_Pad0.98x0.95mm_HandSolderR2, R34
21MResistor_SMD:R_0805_2012Metric_Pad1.20x1.40mm_HandSolderR64, R67
21kResistor_SMD:R_0805_2012Metric_Pad1.20x1.40mm_HandSolderR62, R73
21uFCapacitor_SMD:C_0805_2012Metric_Pad1.18x1.45mm_HandSolderC3, C27
25k1Resistor_SMD:R_0603_1608Metric_Pad0.98x0.95mm_HandSolderR90, R92
10Resistor_SMD:R_0603_1608MetricR104
1100kResistor_SMD:R_0603_1608Metric_Pad0.98x0.95mm_HandSolderR60
116Resistor_SMD:R_0603_1608MetricR101
11uFCapacitor_SMD:C_0603_1608MetricC103
12k4Resistor_SMD:R_0805_2012Metric_Pad1.20x1.40mm_HandSolderR68
1820Resistor_SMD:R_0603_1608MetricR102
1AO3407Package_TO_SOT_SMD:SOT-23Q2
1BatteryConnector_PinHeader_2.54mm:PinHeader_1x02_P2.54mm_VerticalJ10
1Conn_02x03_Odd_EvenConnector_PinHeader_1.27mm:PinHeader_2x03_P1.27mm_VerticalJ1
1DW01APackage_TO_SOT_SMD:SOT-23-6U23
1ESP32-S3-WROOM-1PCM_Espressif:ESP32-S3-WROOM-1UU6
1FS8205Package_TO_SOT_SMD:SOT-23-6Q4
1HT7833Package_TO_SOT_SMD:SOT-89-3U20
1IR encodeurMouse:Rot_LEDLD1
1LDO 2V0Package_TO_SOT_SMD:SOT-23U100
1LEDLED_SMD:LED_0805_2012Metric_Pad1.15x1.40mm_HandSolderD49
1Left clickMouse:SPDT_SwitchSW1
1Middle clickMouse:SPDT_SwitchSW3
1NRF24L01_BreakoutMaeLid:NRF24L01U8
1OSHW-Symbol_6.7x6mm_CopperSymbol:OSHW-Symbol_6.7x6mm_CopperHS2
1PMW3389PMW3360:PMW3360U2
1Right ClickMouse:SPDT_SwitchSW2
1SS14Diode_SMD:D_SMAD52
1SW_SPDTButton_Switch_SMD:SW_SPDT_PCM12SW54
1TP4056-42-ESOP8Package_SO:SOIC-8-1EP_3.9x4.9mm_P1.27mm_EP2.41x3.3mm_ThermalViasU18
1USBLC6-2SC6Package_TO_SOT_SMD:SOT-23-6U54
1USB_C_Receptacle_USB2.0_16PConnector_USB:USB_C_Receptacle_HRO_TYPE-C-31-M-12J48
1nephargus_10mm_CuMaeLid:Niphargus_10mm_CuHS1
1photodetecteurMouse:LQ1LQ1

Similar boards

  • 4 layers340.8 × 104.6 mmNiphar, the printed circuit board in 3D

    Niphar

    mornepousse/Niphargus

    Niphargus — a slim, indestructible wireless split keyboard. ESP32 + nRF24, wired fallback, and an emergency kit hidden behind the USB port. The successor to the Rouge-Gorge.

    287 parts4MIT
  • 2 layers51 × 21 mmFOX JACK EXT BOARD TOP, the printed circuit board in 3D

    FOX JACK EXT BOARD TOP

    KaliAssistant/Fox-Jack

    Portable social-engineering LAN tool for automated payloads and wired audits — based on Luckfox Pico Max

    35 parts22GPL-3.0
  • 2 layersSkilleye 1.0, the printed circuit board in 3D

    Skilleye 1.0

    rizalfanex/SkillEye

    Submission for the 8th CTCI Science and Technology Creativity Competition 2026 (Sports theme).

    4 parts
  • 2 layers31.5 × 75 mmMcu board, the printed circuit board in 3D

    Mcu board

    0sleep/lwLIDAR

    Open-source light-weight 3D LiDAR based on a flexible PCB

    91 partsAGPL-3.0
  • 2 layers76.8 × 100 mmProject CV, the printed circuit board in 3D

    Project CV

    KazimGL/ESP32-PowerIoT-DevBoard

    ESP32 battery-powered IoT dev board with Li-ion charging, protection, and sensor support — designed in KiCad

    62 parts
  • 4 layers62 × 46.9 mm4LayerLabProject, the printed circuit board in 3D

    4LayerLabProject

    ZharbolatDinmukhamed/Haptic-Glove-PCB

    A wrist-mounted PCB for a haptic feedback glove, developed as part of my Research Assistantship at the Tactile Laboratory, Nazarbayev University.

    122 parts
  • 4 layers70.9 × 75 mmFlagshep Audio Player V1, the printed circuit board in 3D

    Flagshep Audio Player V1

    HYLDAIC/Flagshep-V1_Audio-Player

    A high fidelity semi-portable audio player student project with provided PCB files, 3D files and Code

    77 parts1CERN-OHL-P-2.0
  • 2 layers43 × 43 mmNew version, the printed circuit board in 3D

    New version

    Robopoly/Kit-Botanique

    76 parts

Questions

How big is the Conchodytes PCB?

It measures 39 × 81.6 mm and has 4 copper layers, 1.6 mm thick.

What parts does the Conchodytes use?

65 parts, built around the ESP32-S3-WROOM-1-N8, DW01A, HT7833 and TP4056-42-ESOP8. 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 Conchodytes KiCad files?

From the mornepousse/Conchodytes repository on GitHub, at the commit this page was made from: the board is hardware/pcb/conchodytes.kicad_pcb and its schematic hardware/pcb/conchodytes.kicad_sch. PCBKit opens the board in the browser, with nothing to install.

Can I use the Conchodytes design in my own project?

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