
Meganecan gw
Barbedx/MeganeCAN
ESP32-based CAN-bus companion for Renault Megane 2 infotainment displays.

4-layer STM32 industrial gateway bridging RS-485/Modbus-RTU and CAN — KiCad schematic/layout + C firmware
STM32 CONTROLLER DESIGN is an open-source printed circuit board by shreyadascoder2004, from the shreyadascoder2004/stm32-can-modbus-gateway repository on GitHub, published under the MIT licence. It is a 4-layer board of 100 × 51.5 mm with 51 parts on 107 nets, routed with 125 tracks and 0 vias.
It is built around the MAX485ED, SN65HVD230D and TPS54233D, with the SS34 and SMBJ24A among its other parts. Its parts include 22 capacitors, 11 resistors, 5 ICs, 4 diodes and 4 connectors. It belongs with the interfaces and adapters boards and the STM32 boards of this library.
A 4-layer STM32-based industrial protocol gateway that bridges RS-485/Modbus-RTU networks with CAN bus networks — designed end-to-end from schematic to PCB layout in KiCad, with C firmware handling real-time protocol translation.
Industrial factory floors often run a mix of legacy RS-485/Modbus-RTU equipment (sensors, PLCs, HMIs) and newer CAN-based nodes (motor controllers, automotive-grade modules). This gateway lets a Modbus master (PC, PLC, SCADA system) read and write values on CAN-based devices without either side needing to natively support the other's protocol — the same role commercial gateways (e.g. Moxa, Advantech) fill in real deployments.
USB is reserved for local configuration/debug access.
See /hardware for the full KiCad project.
Written in C using the STM32 HAL, structured so the protocol logic is hardware-independent and separately testable:
modbus_crc.c — Modbus CRC16 checksummodbus_parser.c — Modbus RTU frame parsing and response buildingcan_mapping.c — Modbus register ↔ CAN ID lookup tablemain.c — HAL integration: UART receive interrupt, CAN filter/notification
setup, and the gateway's main translation loopClock tree: 8MHz HSE crystal → PLL → 168MHz SYSCLK, with CAN bus timing configured for 500kbps on the 42MHz APB1 peripheral clock.
See /firmware for the full STM32CubeIDE project.
Hardware: open hardware/*.kicad_pro in KiCad 8+
Firmware: open firmware/ as an existing project in STM32CubeIDE,
or import via File → Open Projects from File System
MIT
| Qty | Value | Footprint | References |
|---|---|---|---|
| 12 | 100nF | Capacitor_SMD:C_0805_2012Metric | C11, C12, C13, C14, C15, C16, C17, C18, C19, C20, C21, C22 |
| 4 | 10k | Resistor_SMD:R_0805_2012Metric | R2, R3, R6, R7 |
| 3 | 10uF | Capacitor_SMD:C_0805_2012Metric | C5, C7, C8 |
| 2 | 120 | Resistor_SMD:R_0805_2012Metric | R10, R11 |
| 2 | 20pF | Capacitor_SMD:C_0805_2012Metric | C9, C10 |
| 2 | 560 | Resistor_SMD:R_0805_2012Metric | R8, R9 |
| 2 | SS34 | Diode_SMD:D_SMA | D2, D3 |
| 1 | 100k | Resistor_SMD:R_0805_2012Metric | R4 |
| 1 | 100n | Capacitor_SMD:C_0805_2012Metric | C2 |
| 1 | 10nF | Capacitor_SMD:C_0805_2012Metric | C6 |
| 1 | 10u | Capacitor_SMD:C_0805_2012Metric | C1 |
| 1 | 2.2nF | Capacitor_SMD:C_0805_2012Metric | C4 |
| 1 | 22uF | Capacitor_SMD:C_0805_2012Metric | C3 |
| 1 | 22uH | Inductor_SMD:L_1210_3225Metric | L1 |
| 1 | 330 | Resistor_SMD:R_0805_2012Metric | R5 |
| 1 | 52.3k | Resistor_SMD:R_0805_2012Metric | R1 |
| 1 | 8MHz | Crystal:Crystal_SMD_3225-4Pin_3.2x2.5mm | Y1 |
| 1 | AP1117-33 | Package_TO_SOT_SMD:SOT-223-3_TabPin2 | U2 |
| 1 | CAN_TERMINAL | TerminalBlock_Phoenix:TerminalBlock_Phoenix_MKDS-1,5-2-5.08_1x02_P5.08mm_Horizontal | J4 |
| 1 | CAN_TERM_JUMPER | Connector_PinHeader_2.54mm:PinHeader_1x02_P2.54mm_Vertical | JP2 |
| 1 | DC_IN_24V | TerminalBlock_Phoenix:TerminalBlock_Phoenix_MKDS-1,5-2-5.08_1x02_P5.08mm_Horizontal | J1 |
| 1 | LED | LED_SMD:LED_0805_2012Metric | LED1 |
| 1 | MAX485E | Package_SO:SOIC-8_3.9x4.9mm_P1.27mm | U4 |
| 1 | RS485_TERMINAL | TerminalBlock_Phoenix:TerminalBlock_Phoenix_MKDS-1,5-3_1x03_P5.00mm_Horizontal | J3 |
| 1 | SMBJ24A | Diode_SMD:D_SMB | D1 |
| 1 | SN65HVD230 | Package_SO:SOIC-8_3.9x4.9mm_P1.27mm | U5 |
| 1 | STM32F407VETx | Package_QFP:LQFP-100_14x14mm_P0.5mm | U3 |
| 1 | SWD_HEADER | Connector_PinHeader_2.54mm:PinHeader_1x04_P2.54mm_Vertical | J2 |
| 1 | SW_Push | Button_Switch_SMD:SW_SPST_TL3305A | SW1 |
| 1 | TERM_JUMPER | Connector_PinHeader_2.54mm:PinHeader_1x02_P2.54mm_Vertical | JP1 |
| 1 | TPS54233 | Package_SO:SOIC-8_3.9x4.9mm_P1.27mm | U1 |

Barbedx/MeganeCAN
ESP32-based CAN-bus companion for Renault Megane 2 infotainment displays.

Himanshukohale22/Flight_control_controller_V1.2
Hardware files for universal flight controller for small UAV's.



silaswaxter/senior_design_buck_converter
A buck converter PCB design based on TI's TPS54233 IC



It measures 100 × 51.5 mm and has 4 copper layers, 1.6 mm thick.
51 parts, built around the MAX485ED, SN65HVD230D, TPS54233D and SS34. 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 shreyadascoder2004/stm32-can-modbus-gateway repository on GitHub, at the commit this page was made from: the board is STM32 CONTROLLER DESIGN.kicad_pcb and its schematic STM32 CONTROLLER DESIGN.kicad_sch. PCBKit opens the board in the browser, with nothing to install.
Its repository publishes it under the MIT licence: you may reuse it on that licence's terms (keep the author's notice, and for a copyleft licence share your changes alike).