PCB design of an RS-485 sensor board in KiCad with DFM checks
Design a 24 V RS-485 temperature and humidity sensor board in KiCad from block diagram to Gerbers: schematic, BOM within budget, an LTspice check of the power entry, a two-layer layout that passes the fab's rules, and a DFM review.
Industry project · for Halden Instruments, a maker of greenhouse climate controllers that needs a new temperature and humidity sensor board
Halden Instruments sells climate controllers to commercial greenhouses. Each controller talks to up to 16 sensor boards over a 200 m RS-485 cable using Modbus RTU. The current sensor board is ten years old, its humidity sensor is obsolete, and field returns show two failure causes: boards killed when an installer wired 24 V backwards, and boards damaged by surges on long cable runs.
The hardware lead has written the specification for the new board: - input 24 V DC nominal, working from 18 V to 30 V, protected against reverse polarity and surges on the power and RS-485 lines; - a buck regulator to 3.3 V, an STM32G031 microcontroller, a Sensirion SHT40 temperature and humidity sensor, and a half-duplex RS-485 transceiver with a jumper for the 120 Ω termination; - a two-layer FR-4 board of 50 × 35 mm with two M3 mounting holes, pluggable terminal blocks, and all parts on the top side for machine assembly; - a bill of materials under USD 8.50 per board at 500 units; - the fab's rules: 0.15 mm minimum track and gap, 0.3 mm minimum drill, 0.15 mm minimum annular ring and 1.6 mm board with 1 oz copper.
You will turn the specification into a block diagram and power budget, draw the schematic in KiCad, choose parts and build a costed BOM, simulate the input protection and regulator start-up in LTspice, lay out the board, run design rule checks against the fab's rules, and produce Gerbers, drill files, a placement file and a DFM checklist. Everything is free software. No board will be made unless you choose to order one.
Done looks like a KiCad project that passes ERC and DRC with zero errors, a BOM within budget, an LTspice result that shows the board survives reverse polarity and starts cleanly, and a fabrication package a contract manufacturer could quote from.
KiCad project (schematic and PCB) + costed BOM + LTspice simulation files and results + fabrication package (Gerbers, drill, placement, assembly drawing) + DFM checklist
Stack: KiCad, LTspice, Manufacturer datasheets, Distributor websites for pricing, A Gerber viewer (KiCad's GerbView)
- Correct schematic25
Every block in the specification is present with protection, decoupling, pull-ups, termination jumper and programming header, and ERC passes with zero errors.
- Sound parts and BOM15
Every part has a manufacturer part number, a footprint that matches its datasheet, stock at a distributor, and the BOM is under USD 8.50 at 500 units.
- Protection proved in simulation15
LTspice shows the board survives reverse polarity and a surge pulse on the input, and the regulator starts cleanly from 18 V and 30 V.
- Good layout30
The layout has a solid ground return, a tight buck regulator loop, short decoupling paths, the sensor kept away from heat, and DRC passes with the fab's rules.
- Manufacturable package15
Gerbers, drill, placement file, BOM and assembly drawing are complete and checked in a Gerber viewer, with a DFM checklist signed off.
Pass 60% · Merit 75% · Distinction 90%
Engineering Students
Diploma, B.Tech, B.E., BCA, MCA, or M.Tech students seeking practical experience.
Aspiring Developers
Developers who want to build proof-of-work capstone projects for tech resumes.
Job Seekers
Graduates looking for AI-evaluated code review & verified industry credentials.