bmi160-esp32-minimal

Crates.iobmi160-esp32-minimal
lib.rsbmi160-esp32-minimal
version0.1.2
created_at2025-09-10 14:38:53.215795+00
updated_at2025-09-10 15:43:49.714936+00
descriptionMinimal BMI160 sensor driver for ESP32 using esp-hal
homepage
repositoryhttps://github.com/ROBLOXFEETRADNOTI4EVER/bmi160_super_minimalist_in_rust
max_upload_size
id1832609
size42,085
THEFFEETYMIGHTYMOO (ROBLOXFEETRADNOTI4EVER)

documentation

README

BMI160 on ESP32 – Super Simple Driver

Crates.io
Docs

This is a lightweight driver for the BMI160 6-axis IMU (accelerometer + gyro) on the ESP32.
Built with esp-hal, no useless extras.

Features

  • Only the essentials, no random dependencies
  • Works with no_std (good for embedded projects)
  • Reads accelerometer and gyroscope data
  • Uses I2C for communication
  • Converts raw values into g-force and deg/sec
  • Handles errors with proper Result types
  • Optional defmt logging if you need it

Usage

Add this to your Cargo.toml:

bmi160-esp32-minimal = "x.x.x"
Commit count: 7

cargo fmt