
Embedded I/O, Sensor and Single-Wire Protocols
GPIO, PWM, ADC/DAC interfaces, 1-Wire, IR remotes, LED and encoder protocols.
- ~380
- pages planned
- 19
- protocols
- Wave 1
- release wave
- —
- chapters outlined
What this book covers
The scope of Book 5
From the series plan. Underlined names are Tier A protocols (several chapters), plain names Tier B (a full chapter), italic names Tier C (a compact section); bold labels group the topics.
- GPIO electricals: push-pull, open-drain, Schmitt, 5 V tolerance, level shifting, debouncing, interrupts
- PWM: timers, resolution, dead time, servo/ESC signals, fan tach
- ADC and DAC interfaces: parallel and serial converters, SAR and sigma-delta timing, DMA
- single-wire protocols: 1-Wire, HDQ, vendor SWI interfaces, UNI/O, WS2812-type LED protocol, DHT-type sensor protocol
- other everyday interfaces: IR remote protocols (NEC, RC5/RC6, SIRC), Wiegand
- encoder interfaces: quadrature, SSI, BiSS-C, EnDat overview
- PS/2
Labs: PWM RTL; 1-Wire ROM search and CRC-8; NEC IR decode; SPI-ADC read-timing simulation
Contents
Chapters are planned when writing starts
The scope above is this book's brief in the series plan. Its chapter-by-chapter outline is written when the book's turn comes, and appears here.
19 protocols at home here
Protocols this book teaches
From the series register. This book is each one's home: the place it is taught in full. Other books only use it.
| Protocol | Depth | Governing spec |
|---|---|---|
| ADC interfaceanalog-to-digital converter interfaces (parallel, SPI, sigma-delta, SAR timing) | Tier A | converter datasheets (no single standard) |
| DAC interfacedigital-to-analog converter interfaces | Tier A | converter datasheets (no single standard) |
| GPIOGeneral-Purpose Input/Output | Tier A | MCU reference manuals; JEDEC logic-level standards |
| PWMPulse-Width Modulation | Tier A | MCU timer reference manuals (no single standard) |
| 1-WireAnalog Devices (Maxim) 1-Wire bus | Tier B | Analog Devices (Maxim) 1-Wire application notes (AN126, AN937) |
| BiSS-CBidirectional Synchronous Serial interface (C mode) | Tier B | iC-Haus BiSS C Protocol Description |
| DHT sensor protocolDHT11/DHT22 single-wire sensor protocol | Tier B | Aosong DHT/AM2302 datasheets |
| HDQTI HDQ single-wire battery-gauge interface | Tier B | TI bq fuel-gauge datasheets |
| NEC IR protocolNEC infrared remote-control protocol | Tier B | NEC (Renesas) µPD6121 datasheet; de-facto |
| Quadrature encoder interfaceincremental A/B/Z quadrature encoder signals | Tier B | de-facto; encoder datasheets |
| RC5 / RC6Philips RC-5 and RC-6 infrared protocols | Tier B | Philips RC-5 / RC-6 documentation |
| SIRCSony Infrared Remote Control protocol | Tier B | de-facto (Sony); public reverse-engineered docs |
| SSI (encoder)Synchronous Serial Interface for absolute encoders | Tier B | Stegmann/SICK SSI documentation (de-facto) |
| SWI (vendor single-wire)single-wire interfaces of several vendors | Tier B | vendor datasheets (e.g. Microchip ATECC SWI, TI SWI) — several incompatible buses |
| UNI/OMicrochip UNI/O single-I/O bus | Tier B | Microchip UNI/O Bus Specification |
| WiegandWiegand access-control interface | Tier B | SIA AC-01 (Wiegand) (verify) |
| WS2812 LED protocolWorldSemi WS2812-type single-wire LED protocol | Tier B | WorldSemi WS2812B datasheet |
| EnDatHeidenhain EnDat 2.2 encoder interface | Tier C | Heidenhain EnDat 2.2 technical information |
| PS/2IBM PS/2 keyboard and mouse interface | Tier C | IBM PS/2 Technical Reference (de-facto) |
Also used here, taught in full elsewhere
Study paths
Book 5 is on 2 career paths
Board-level & embedded
Book 2PlannedUART, RS-232, RS-422 and RS-485
~340 pages planned · 13 protocols
Book 3PlannedSPI and Its Family
~360 pages planned · 15 protocols
Book 4PlannedI²C, SMBus, PMBus and I3C
~430 pages planned · 10 protocols
Book 6PlannedDebug, Programming, Test Access and Instrument Control
~460 pages planned · 31 protocols