3.1 Electronics for firmware
The hardware your code drives: reading schematics, supplies and decoupling, logic levels, gates and flip-flops with their timing rules, and the analog…
Lessons
- Hardware fundamentals for firmware engineers · Reading schematics, pull-ups, regulators and decoupling.
- Digital logic for firmware engineers · Logic levels, gates, flip-flops, setup and hold, and timing diagrams.
- Analog circuits and sensor front ends · Dividers, RC filters, op-amps and interfacing common sensors.
- Reading datasheets and schematics · Where the answers are, min/typ/max, calculating from the tables and reading register maps.
Project: USB power bank
The electronics a firmware engineer has to get right, as code: LED resistors from Ohm's law, logic levels between 3.3 V and 5 V parts, measuring a battery through a divider, and reading a fuel-gauge chip from its datasheet.