Computer engineering · also Electrical engineering
Binary, hexadecimal and digital signals
Digital systems represent everything with bits, each of which is either 0 or 1. A group of eight bits is a byte, which can hold 256 different values. Binary is a place-value system like decimal, except each place is worth twice the one to its right. Hexadecimal uses sixteen symbols, 0 to 9 and A to F, so each hex digit stands for exactly four bits, which makes long binary values easier to read. Physically, a bit is a voltage: anything above one threshold counts as 1 and anything below another counts as 0, which makes digital signals robust to small amounts of noise.
Why it mattersReading a sensor's datasheet means decoding register values written in hexadecimal.