
Sub
google/mozc-devices
Circuit diagrams and firmware source code for Gboard DIY keyboards

Meshtastic gate & door sensor carrier PCB. Heltec LoRa32 V3 + Arduino Nano + RXB6 433MHz
Gate sensor v2 assembly is an open-source printed circuit board by karamble, from the karamble/meshtastic-gate-sensor repository on GitHub, published under the ISC licence. It is a 2-layer board of 75 × 66 mm with 15 parts on 10 nets, routed with 61 tracks and 25 vias.
Its parts include 4 resistors, 3 ICs, 2 capacitors and 2 connectors. It belongs with the radio and wireless and sensors and measurement boards and the AVR (ATmega, ATtiny) boards of this library.
Carrier board + firmware that bridges a cheap 433 MHz wireless door sensor onto a private Meshtastic LoRa mesh. A trigger on the door raises an event on the mesh — no WiFi, no cloud, no gateway.
KERUI D026 (433 MHz) → RXB6 Receiver → Arduino Nano → UART → Heltec LoRa32 V3 → LoRa meshThe 433 MHz sensor broadcasts a fixed code on every open/close event. An Arduino Nano decodes the code with rc-switch on D2 (INT0) and forwards a short text line over SoftwareSerial D3 → voltage divider → Heltec GPIO47. The Heltec runs stock Meshtastic with the serial module in TEXTMSG mode at 9600 baud and relays each line into the mesh. A 10 s debounce collapses the KERUI retransmit burst into one mesh event per physical opening.
Firmware emits Gate: TRIGGERED on every event and GATE NODE: Online every 5 minutes as a heartbeat. KERUI D026 sends the same code on open and close, so CODE_CLOSED is disabled by default — one code per event is all you get.
Powered by a Waveshare Solar Power Manager D with 2× 18650 batteries and a 6 V 2 W solar panel. Total draw ≈ 105 mA.
Custom 75×66 mm 2-layer board with:
Generated programmatically by pcb/gate_sensor_pcb_v2.py and validated with KiCad 10.
Requires Docker (for KiCad CLI) and PlatformIO.
make help # show all targets
# PCB
make drc # design rule check
make fab # export Gerbers + drill for JLCPCB
# Firmware
make build # compile
make upload # flash the Nano
make monitor # 115200 USB serial monitor
make learn-sensor # discover a new 433 MHz sensor's code
# Heltec Meshtastic flash & configure (stock firmware)
./scripts/flash-heltec-meshtastic.sh # defaults (auto-detect, EU_868)
./scripts/flash-heltec-meshtastic.sh --helpThe flash script downloads the latest stock Meshtastic release, flashes the Heltec V3, applies the gate-sensor config (GPIO47 RX at 9600 baud, TEXTMSG mode, owner name GateSensor/GATE, GPS disabled, Bluetooth disabled) and verifies every setting before closing.
If you're using a different 433 MHz sensor than the KERUI D026, discover its code with:
make learn-sensorTrigger the sensor a few times and watch for repeating RF unknown: <decimal> lines. Copy the decimal into CODE_OPEN in firmware/include/config.h, re-run make upload, and the sensor will fire Gate: TRIGGERED on the mesh. See docs/learn-sensor.md for details.
├── Makefile # build targets (KiCad Docker + PlatformIO)
├── pcb/
│ ├── gate_sensor_pcb_v2.py # PCB generator script
│ ├── gate_sensor_v2.kicad_pcb # generated board
│ ├── test_netlist.py # 34-check PCB self-test
│ ├── generate_assembly.py # 3D assembly view generator
│ └── logo_silk.json # raccoon logo silkscreen data
├── firmware/
│ ├── platformio.ini # PlatformIO config (board=nanoatmega328new)
│ ├── src/main.cpp # bridge firmware
│ └── include/config.h # sensor codes, pin defs, timing
├── scripts/
│ └── flash-heltec-meshtastic.sh # Heltec flash + config
├── docs/
│ ├── schematic.md # schematic + netlist
│ ├── pcb.md # PCB design documentation
│ ├── firmware.md # firmware documentation
│ ├── assembly.md # assembly and setup guide
│ ├── learn-sensor.md # discovering a new 433 MHz sensor code
│ ├── bom.md # bill of materials
│ └── ordering.md # JLCPCB ordering guide
└── pin-outs/ # component pinout reference images~$52 total for one complete sensor node. See docs/bom.md for the full bill of materials.
ISC — see LICENSE.
| Qty | Value | Footprint | References |
|---|---|---|---|
| 4 | M3_MountHole | MH | MH, MH, MH, MH |
| 1 | 100nF | C1 | C1 |
| 1 | 100uF | C2 | C2 |
| 1 | 10k_PU | R5 | R5 |
| 1 | 2.2k | R1 | R1 |
| 1 | 3.3k | R2 | R2 |
| 1 | 4.7k | R6 | R6 |
| 1 | Arduino_Nano_Socket | U1 | U1 |
| 1 | Heltec_LoRa32_V3 | U3 | U3 |
| 1 | PWR_IN_ScrewTerm | J2 | J2 |
| 1 | PWR_SW_JST_PH_2pin | J4 | J4 |
| 1 | RXB6_433MHz_DirectSolder | U2 | U2 |
It measures 75 × 66 mm and has 2 copper layers, 1.6 mm thick.
15 parts. 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.
From the karamble/meshtastic-gate-sensor repository on GitHub, at the commit this page was made from: the board is pcb/gate_sensor_v2_assembly.kicad_pcb. PCBKit opens the board in the browser, with nothing to install.
Its repository publishes it under the ISC licence: you may reuse it on that licence's terms (keep the author's notice, and for a copyleft licence share your changes alike).

google/mozc-devices
Circuit diagrams and firmware source code for Gboard DIY keyboards

hoglet67/RGBtoHDMI
Bare-metal Raspberry Pi project that provides pixel-perfect sampling of Retro Computer RGB/YUV video and conversion to HDMI

mntmn/amiga2000-gfxcard
MNT VA2000, an Open Source Amiga 2/3/4000 Graphics Card (Zorro II/III), written in Verilog

hackclub/OnBoard
💡 Join 1,000 teenagers and make your first PCB with a $100 grant!

kenp-io/not-for-airpods-repairs
The content of this repository is licensed under the WTFPL License. Please have a close look at the terms before using this material.

Luos-io/luos_engine
Open-source and real-time orchestrator for cyber-physical-systems, to easily design, test and deploy embedded applications and digital twins.

Chrismettal/EleLab_v2
Cheap DIY lab system for hobbyists and the tinkering folk
