A practical hardware-design guide argues that small decisions across electronics, firmware, and enclosure design can lead to failed certification, costly returns, battery problems, copied products, or physical hazards. It presents 21 rules and offers a checklist for reviewing a design before fabrication. The rules covered here emphasize placing cable connectors together to reduce emissions; enabling the microcontroller watchdog and servicing it only when essential tasks are healthy; adding test points for manufacturing and debugging; and measuring real sleep current rather than trusting schematic estimates. They also recommend ground stitching vias, protecting debug ports against firmware extraction, and validating snap fits in the actual production material rather than relying on 3D-printed prototypes.
The electrical guidance challenges simplistic design habits: mixed-signal boards generally need a continuous ground plane beneath fast signals, not long star-ground returns, and external connections need appropriately placed ESD protection, with low-capacitance devices for fast data lines and TVS diodes on power inputs. The examples explain why these measures matter, including an AMS1117 regulator that can drain a 1,000mAh battery in roughly eight days at idle, and how ground-voltage differences can make cables act like antennas. The central argument is to design for real operating conditions, production testing, certification, and customer use - not merely a board that appears sound on the bench.
Summary generated by AI from the linked article. hn.today is not affiliated with Hacker News or Y Combinator.