Skip to content
Book 5 cover: Embedded I/O, Sensor and Single-Wire Protocols
Book 5·Board-level & embeddedPlanned

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

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

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.

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.

ProtocolDepthGoverning spec
ADC interfaceanalog-to-digital converter interfaces (parallel, SPI, sigma-delta, SAR timing)Tier Aconverter datasheets (no single standard)
DAC interfacedigital-to-analog converter interfacesTier Aconverter datasheets (no single standard)
GPIOGeneral-Purpose Input/OutputTier AMCU reference manuals; JEDEC logic-level standards
PWMPulse-Width ModulationTier AMCU timer reference manuals (no single standard)
1-WireAnalog Devices (Maxim) 1-Wire busTier BAnalog Devices (Maxim) 1-Wire application notes (AN126, AN937)
BiSS-CBidirectional Synchronous Serial interface (C mode)Tier BiC-Haus BiSS C Protocol Description
DHT sensor protocolDHT11/DHT22 single-wire sensor protocolTier BAosong DHT/AM2302 datasheets
HDQTI HDQ single-wire battery-gauge interfaceTier BTI bq fuel-gauge datasheets
NEC IR protocolNEC infrared remote-control protocolTier BNEC (Renesas) µPD6121 datasheet; de-facto
Quadrature encoder interfaceincremental A/B/Z quadrature encoder signalsTier Bde-facto; encoder datasheets
RC5 / RC6Philips RC-5 and RC-6 infrared protocolsTier BPhilips RC-5 / RC-6 documentation
SIRCSony Infrared Remote Control protocolTier Bde-facto (Sony); public reverse-engineered docs
SSI (encoder)Synchronous Serial Interface for absolute encodersTier BStegmann/SICK SSI documentation (de-facto)
SWI (vendor single-wire)single-wire interfaces of several vendorsTier Bvendor datasheets (e.g. Microchip ATECC SWI, TI SWI) — several incompatible buses
UNI/OMicrochip UNI/O single-I/O busTier BMicrochip UNI/O Bus Specification
WiegandWiegand access-control interfaceTier BSIA AC-01 (Wiegand) (verify)
WS2812 LED protocolWorldSemi WS2812-type single-wire LED protocolTier BWorldSemi WS2812B datasheet
EnDatHeidenhain EnDat 2.2 encoder interfaceTier CHeidenhain EnDat 2.2 technical information
PS/2IBM PS/2 keyboard and mouse interfaceTier CIBM PS/2 Technical Reference (de-facto)

Book 5 is on 2 career paths

More on this shelf