From cdf3182c8c59a53cd195e700a0dbe451a8743ec2 Mon Sep 17 00:00:00 2001 From: Aurelien Labrosse Date: Sat, 14 Nov 2026 00:51:36 +0100 Subject: [PATCH] docs: receiver wiring and assembly guide with SVG diagram hardware/receiver/ holds the tinyDecoders receiver docs, apart from the tinySensor emitter boards: connections (colour, ends, length), pull-ups and RXB6 decoupling, pin positions in the enclosure, the 1.9 mm headroom under the RXB6 shield, assembly order. Co-Authored-By: Claude Opus 5.5 --- hardware/receiver/WIRING.md | 67 +++++++++++++++ hardware/receiver/wiring.svg | 158 +++++++++++++++++++++++++++++++++++ openscad/README.md | 2 +- 3 files changed, 226 insertions(+), 1 deletion(-) create mode 100644 hardware/receiver/WIRING.md create mode 100644 hardware/receiver/wiring.svg diff --git a/hardware/receiver/WIRING.md b/hardware/receiver/WIRING.md new file mode 100644 index 0000000..cce8780 --- /dev/null +++ b/hardware/receiver/WIRING.md @@ -0,0 +1,67 @@ +# tinyDecoders receiver: wiring and assembly + +This is the **receiver** (433 MHz decoder with OLED, `tinyDecoders/`), not a tinySensor emitter. Emitter boards are documented in `hardware/tinysensor/`. + +- Firmware: `tinyDecoders`, env `promicro` (`pio run -d tinyDecoders -e promicro -t upload`) +- Enclosure: `openscad/receiver.scad`, Orca project `openscad/print/receiver.3mf` +- Boards: SparkFun-style Pro Micro 5 V / 16 MHz (ATmega32U4), RXB6 433 MHz superheterodyne receiver, 0.91" SSD1306 OLED 128×32 (I2C, 0x3C, onboard regulator) + +![Receiver wiring](wiring.svg) + +## Connections + +Every wire is **soldered at both ends** (no Dupont, no JST). Lengths include slack: cut on site. + +| From | To (Pro Micro) | Net | Colour | Ends | Length | +|---|---|---|---|---|---| +| RXB6 DATA (DATA end) | pin **4** (PD4 / ICP1) | radio data | green, 1 heat-shrink ring | soldered / soldered | 40 mm | +| RXB6 +5V (DATA end) | VCC splice | VCC | red | soldered / soldered | 60 mm | +| RXB6 GND (DATA end) | GND splice | GND | black | soldered / soldered | 40 mm | +| OLED SDA | pin **2** (SDA) | I2C data | green | soldered / soldered | 70 mm | +| OLED SCL | pin **3** (SCL) | I2C clock | yellow | soldered / soldered | 70 mm | +| OLED VCC | VCC splice | VCC | red | soldered / soldered | 80 mm | +| OLED GND | GND splice | GND | black | soldered / soldered | 70 mm | +| Pro Micro **VCC** (right row) | VCC splice | VCC | red | soldered / soldered | 30 mm | +| Pro Micro **GND** (right row, 2nd from USB) | GND splice | GND | black | soldered / soldered | 30 mm | +| RXB6 ANT (ANT end) | helical antenna 27.5 × Ø5 mm | antenna | — | soldered | — | + +Parts on the wires: + +| Part | Value | Between | Where | +|---|---|---|---| +| R1 | 3.3 kΩ | SDA – VCC | in line, at the Pro Micro end, in the free zone in front of the RXB6 (validated on the bench: ~4.3 V high, ~160 ns rise) | +| R2 | 3.3 kΩ | SCL – VCC | same | +| C1 | 100 nF ceramic | RXB6 +5V – GND | soldered on the RXB6 DATA-end pin stubs | +| C2 | 10 µF ceramic (X5R/X7R) | RXB6 +5V – GND | same, next to C1 | +| R3 (optional) | 10–47 Ω | in series in the RXB6 +5V, before C2 | RC filter against USB and OLED charge-pump noise | + +Not connected: RXB6 DER, the second +5V and both GND pins of the RXB6 ANT end, every other Pro Micro pin. + +## Pin positions in the enclosure + +Pro Micro top view, micro-USB against the rear wall, seen from the front of the box: + +| | Rear (USB) → front | +|---|---| +| Left row | TX0, RX1, GND, GND, **2**, **3**, **4**, 5, 6, 7, 8, 9 | +| Right row | RAW, **GND**, RST, **VCC**, A3, A2, A1, A0, 15, 14, 16, 10 | + +The first pin (9 / 10) is 1.5 mm from the front edge. The RXB6 lies across the box, DATA end on the left (near pins 2–4), ANT end on the right. Its DATA end carries +5V, DER, DATA, GND, with +5V and GND on the outside: **read the silkscreen** to know which pin falls to the front once the board is flipped. + +## Space under the RXB6 + +The RXB6 shield sits 1 mm above the Pro Micro components, 2.7 mm above its board. It covers the left-row pins 3, 2, GND, GND and the right-row VCC: their solder joints have about **1.9 mm** of headroom. + +- Solder the Pro Micro wires **before** fitting the RXB6, lying flat, leaving **sideways** (along X), never over the components. +- Signal wires: thin wire, 30 AWG wire-wrap (28 AWG at most). Power: 26 AWG is plenty (tens of mA). +- **One wire per pin** under the shield. Bring VCC out with a single red wire to a splice in the free zone in front of the RXB6 (above the front half of the Pro Micro), where the RXB6 +5V, the OLED VCC and R1/R2 join under heat-shrink. Take GND from the right-row GND next to RAW: it lies just behind the RXB6, not under the shield. +- The shield is at GND: put a piece of Kapton tape under it. + +## Assembly order + +1. Pro Micro: solder SDA, SCL, DATA, VCC and GND wires flat, sideways. Plug its 8 mm header pins into the plate rails (1.2 mm holes; drill them if the pins bind). +2. RXB6: cut the pins to 2–3 mm stubs, solder C1, C2 (and R3) on the DATA-end stubs, then the DATA, +5V, GND wires and the helical antenna on ANT. Kapton under the shield, flip the board onto its two supports (shield on the supports, ergots at its ends), drop of glue. +3. OLED: glue it in the face pocket, pins on the left (text upright), solder SDA, SCL, VCC, GND. +4. Make the VCC and GND splices with R1 and R2, heat-shrink. +5. USB test before closing: the OLED shows "Waiting for data", then decoded sources; RFLink lines come out on the USB serial port at 57600 baud. +6. Close the plate: 4 × M3×6 cylinder-head machine screws (pilot 2.5 mm, drill 2.8 mm if a screw binds). diff --git a/hardware/receiver/wiring.svg b/hardware/receiver/wiring.svg new file mode 100644 index 0000000..943c806 --- /dev/null +++ b/hardware/receiver/wiring.svg @@ -0,0 +1,158 @@ + + tinyDecoders receiver wiring (Pro Micro, RXB6, OLED 128x32) + + + + + tinyDecoders receiver: wiring + Firmware env promicro. Every wire soldered at both ends. Power nets drawn as labels: join them with one splice per net (see WIRING.md). + + + + OLED 0.91" SSD1306 + 128x32, I2C 0x3C + pins on the left, text upright + + SDASCLVCCGND + + + + + + + + RXB6 433 MHz + flipped, pin stubs up + DATA-end pins: check silkscreen + + +5VDERDATAGND + + + + + + ANT + n.c. + + + ANT: helical antenna + 27.5 x Ø5 mm, soldered + + + + + + micro-USB (rear wall) + Pro Micro 5 V / 16 MHz + top view + front (pins 9 / 10) + + TX0 + RX1 + GND + GND + 2 SDA + 3 SCL + 4 ICP1 + 5 + 6 + 7 + 8 + 9 + + + RAW + GND + RST + VCC + A3 + A2 + A1 + A0 + 15 + 14 + 16 + 10 + + + + + + + + + + + + + + + + + + + + + + + + + DATA (1 ring) + + + + + + + VCC + R1 3.3k + + + + + VCC + R2 3.3k + pull-ups at the Pro Micro end + + + + VCC + + + VCC + + + VCC + + VCC pin under the RXB6 shield: + one red wire out, flat, sideways + use this GND (rear of the RXB6, + not under the shield) + + + RXB6 decoupling, on the DATA-end stubs + VCC + + + + C1 100 nF ceramic + VCC + + + + C2 10 µF ceramic + optional: 10–47 Ω in series + in the RXB6 +5V, before C2 + + + + Wire colours + VCC 5 V (red) + GND (black) + data: SDA, DATA (+1 ring) + clock: SCL (yellow) + Same-name labels are one net. + Crossing lines without a dot + are not connected. + + diff --git a/openscad/README.md b/openscad/README.md index 430e285..fe67fd4 100644 --- a/openscad/README.md +++ b/openscad/README.md @@ -32,7 +32,7 @@ Les pièces prêtes à trancher sont dans `print/`, **un projet OrcaSlicer par m | `box.3mf` | Fond extérieur, Fond intérieur, Couvercle | n'imprimer qu'un des deux fonds : `ext` (presse-étoupe, extérieur) ou `int` (aérations, intérieur) | | `shield.3mf` | Abri, Assiettes | Chapeau, Fond, Clip (optionnel) ; 4 assiettes | | `stand.3mf` | Mât, Pied | pied de table, optionnel | -| `receiver.3mf` | Pupitre | Coque, Fond : pupitre du récepteur tinyDecoders (Pro Micro, RXB6, OLED), vis M3×6 à tête cylindrique | +| `receiver.3mf` | Pupitre | Coque, Fond : pupitre du récepteur tinyDecoders (Pro Micro, RXB6, OLED), vis M3×6 à tête cylindrique ; câblage : [`hardware/receiver/WIRING.md`](../hardware/receiver/WIRING.md) | | `mushroom.3mf` | Ailettes, Hat, White buttons, Ground, Divers, Foot, Support | Chapeau, Lamelles, Châssis, Plancher, Pied, Sol, Berceau, Bouchon, Pois Ø6 / Ø8 / Ø10 | `mushroom_cap.3mf` : chapeau du champignon tel qu'imprimé (réglages Orca de l'impression). Snapshot figé, hors de `export.sh`.