Flipper ZeroWorkshop

Loading the Blender model…

Flipper ZeroWorkshop
Lesson 19 of 50

I²C bus

0/50

Completed

Flipper Zero SimulatorDismantle, inspect and operate the device.
Interactive lab
Schematic
Lesson guide19 / 50

I²C bus

Two wires, many devices, addressed by 7-bit IDs.

Module: GPIO and buses

Hardware

SDA/SCL are open-drain with pull-ups. External I²C uses pins 15/16. Typical sensor: BMP280 at 0x76.

The planar prototyping module (External module small.pdf) lies flat against the GPIO side, a compact home for an I2C sensor.

Key specs

Pins
PC1 SDA, PC0 SCL
Speed
100/400 kHz

Firmware code

furi_hal_i2c_acquire(&furi_hal_i2c_handle_external);
furi_hal_i2c_read_reg_8(&furi_hal_i2c_handle_external, 0xEC, 0xD0, &id, 100);

Check yourself

I²C lines are…

  • Open-drain
  • Push-pull
  • Differential

← 18. UART serial · All lessons · 20. SPI bus →

Try it yourself

l19_i_c_bus.c

furi_hal_i2c_acquire(&furi_hal_i2c_handle_external);
furi_hal_i2c_read_reg_8(&furi_hal_i2c_handle_external, 0xEC, 0xD0, &id, 100);
Ready Line – API calls 0 Time 0 ms
Flipper CLI · virtual Ready
C · Flipper firmware API

Lessons

Lesson 01Tour of the Flipper ZeroLesson 02Enclosure and mechanicsLesson 03Exploded view and assemblyLesson 04The main PCBLesson 05STM32WB55 microcontrollerLesson 06Battery and chargingLesson 07USB-C and DFU recoveryLesson 08Monochrome 128×64 LCDLesson 09Drawing with the canvas APILesson 10D-pad and tactile switchesLesson 11Input events and the Back buttonLesson 12Menus and the GUI stackLesson 13Haptics, LED and speakerLesson 14GPIO header pinoutLesson 15Digital input and outputLesson 16PWM outputLesson 17Analog input (ADC)Lesson 18UART serialLesson 19I²C busLesson 20SPI busLesson 21CC1101 sub-GHz transceiverLesson 22Spectrum analyzerLesson 23OOK and ASK modulationLesson 24FSK and data rateLesson 25Decoding a synthetic remoteLesson 26Antennas and rangeLesson 27Low-frequency RFID basicsLesson 28EM4100 and Manchester codingLesson 29Read and emulate a synthetic tagLesson 30The antenna board coilsLesson 31NFC and ISO 14443Lesson 32Reading an NTAG synthetic tagLesson 33MIFARE Classic sectors and keysLesson 34AnticollisionLesson 35Emulating a synthetic NFC tagLesson 361-Wire protocolLesson 37DS1990A ROM and CRCLesson 38Infrared basicsLesson 39NEC protocolLesson 40Universal remote databaseLesson 41USB HID in a sandboxLesson 42USB CDC and mass storageLesson 43Bluetooth LE radioLesson 44Scanning BLE advertisersLesson 45microSD and FATLesson 46Firmware architectureLesson 47Writing an external app (FAP)Lesson 48Power managementLesson 49Security, ethics and lawLesson 50Capstone: assemble, operate, diagnose