Skip to main content
Challenges I2C: bits to byte
Hardware Medium I2C protocol Solves: 6

I2C: bits to byte

Author: CyberSamSU
Points
30

I2C (Inter-Integrated Circuit) is a two-wire (SDA — data, SCL — clock) serial protocol widely used for connecting microcontrollers and sensors. Unlike SPI, in I2C, after each byte is transmitted, the receiving side sends an ACK (acknowledgement) bit: pulling the SDA line to a low state (0) means "byte received".

In I2C, each byte is transmitted in MSB-first order (most significant bit first). Thus, for each character, 9 bits appear on the line: 8 data bits + 1 ACK bit (always 0).

Below is the sequence of bits on the SDA line captured by a logic analyzer (every 9 bits is one byte). Open the attached file and recover the message.

Discard the last (9th) bit of each group, read the remaining 8 bits as an MSB-first number, and then perform chr().

Attached files
i2c_sda_capture.txt Log in to download
SHA-256 checksums
i2c_sda_capture.txt: 0735d1e4970e557f01c9d35972d1af496fbb6cba7433191f04b358f42fd3b084
Theory: learn the topic
Hints 2
Opening a hint reduces the points you get for solving this challenge.
Hint 1 −3 pts Log in
Hint 2 −6 pts Log in
To submit a flag, log in.

First solvers

1. Абдул 08.09.2026
2. Лазиз 04.10.2026
3. Mirjaxon Qaxxarov 28.10.2026
4. Odam 04.11.2026
5. arcanum 11.11.2026
6. Asmaa Mottery 27.11.2026