Switch
Jochen0x90h·RoomControl·pcb/switch/switch.kicad_pcb
About the Switch PCB
Switch is an open source STM32 PCB design by Jochen0x90h, published on GitHub under the CC-BY-NC-4.0 license. It is a 2-layer board measuring 70.5 × 70.5 mm, with 29 components from 19 distinct parts.
Its main chip is the STM32F042F6Px, from the STM32 family. Other key parts include the MPQ6526GU and NCV7428MW. By type, the board carries 5 diodes, 5 resistors, 4 connectors, 4 relays, 4 switches and 4 capacitors.
It belongs with the iot & wireless and rf & radio designs in this gallery.
From the project
Smart home room controller based on nRF52840 with MQTT and and IEEE 802.15.4 radio support. Buttons and relays for lights and roller shutters can also be connected with a local bus using LIN physical layer
RoomControl =========== Smart home room controller based on nRF52840 with MQTT and and IEEE 802.15.4 radio support. Buttons and relays for lights and blinds can also be connected with a local bus using LIN physical layer.
Control ------- This is a 3D printed box with a display and digital potentiometer that gets installed in each room instead of the floor heating thermostat. It can control the heating valve using an opto-triac, connect to light and blind switches and relays using LIN physical layer and to battery-free switches (EnOcan) using an IEEE 802.15.4 radio interface.
Main components on the Switch
Switch bill of materials (BOM)
29 components, 19 distinct parts.
| Qty | Part | Footprint | Refs |
|---|---|---|---|
| 1 | MPQ6526GU | MPQ6526GU | U1 |
| 1 | STM32F042F6Px | STM32F042F6 | U2 |
| 1 | NCV7428MW | NCV7428MW | U3 |
| 1 | Conn_01x06 | Wago_236-406 | J1 |
| 1 | Conn_01x04 | Wago_236-404 | J2 |
| 1 | Conn_01x05 | PinHeader_1x05_P2.00mm_Vertical | J3 |
| 1 | Conn_01x04 | Switch_Mount | J4 |
| 4 | G6SU-2 | G6SU-2 | K1, K2, K3, K4 |
| 4 | D2F-01 | D2F-01 | SW1, SW2, SW3, SW4 |
| 1 | D | D_1206_3216Metric_Castellated | D1 |
| 1 | BAS40-05/BAT54C | SOT-23 | D2 |
| 2 | LED | DiodeHolesSwitch | D3, D4 |
| 1 | LED | LED_0805_2012Metric_Castellated | D7 |
| 1 | 10u/25V/X7R | C_1206_3216Metric | C1 |
| 1 | 22u/16V | C_0805_2012Metric | C2 |
| 2 | 100n | C_0603_1608Metric | C10, C11 |
| 1 | 10k | R_0603_1608Metric | R1 |
| 1 | 33k | R_1206_3216Metric | R2 |
| 3 | 330R | R_0603_1608Metric | R3, R4, R7 |
Switch design files
The KiCad project lives in the Jochen0x90h/RoomControl repository on GitHub; these links point at the commit this page was built from.
- Layoutpcb/switch/switch.kicad_pcb
- Schematicpcb/switch/switch.kicad_sch
Switch: common questions
What microcontroller does the Switch use?
The Switch is built around the STM32F042F6Px, from the STM32 family.
How big is the Switch PCB?
The Switch measures 70.5 × 70.5 mm, has 2 copper layers and is 1.6 mm thick.
How many components are on the Switch?
29 components, from 19 distinct parts. The full bill of materials is listed on this page.
Where can I download the Switch design files?
From the Jochen0x90h/RoomControl repository on GitHub, which has the KiCad layout and the schematic; the links under Design files point to each one.
Can I use the Switch design in my own project?
It is published under CC-BY-NC-4.0, which limits how it may be reused; read the license before building on it.
Can I test firmware for the Switch without the hardware?
Yes. HardLabs builds a simulation of the board from its netlist and BOM, so you can run and debug STM32 firmware against it before you order a PCB.
More boards in RoomControl
Similar boards
STM32
LumenPnP Motherboard
opulo-inc
149 × 95 mm296 parts4LCC-BY-SA-4.03.7kSTM32
Base
google
52.3 × 52.3 mm36 parts2LApache-2.02.9kSTM32
Type g
google
169 × 30 mm24 parts2LApache-2.02.9kSTM32
Main panel
google
234 × 84 mm26 parts4LApache-2.02.9kSTM32
Type a
google
150 × 30 mm14 parts2LApache-2.02.9kSTM32
Type c
google
188 × 30 mm17 parts2LApache-2.02.9k