Skip to content

Arduino Uno 9 axis acceleration sensor (BMX055) reader implemented in Rust.

License

Notifications You must be signed in to change notification settings

kaaatsu32329/accelduino-rs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Arduino Uno Accelaration reader in Rust

Components

  • Arduino Uno (Probably possible with other AVR microcontrollers)
  • BMX055 (Japanese website)

Datasheet

Environment

  • Windows 11
  • rustc 1.68.0-nightly (37d7de337 2022-12-12)
  • cargo 1.68.0-nightly (70898e522 2022-12-05)
  • ravedude v0.1.5 (no git)

Setup

Hardware

Arduino Uno BMX055
5V VCC
GND GND
A4 SDA
A5 SCL

Software

cargo install ravedude

For details to avr-hal repository in GitHub.

Usage

cargo run --release

Output Examples

Start initializing
Finish sensor initializing
Start loop
ACCL -> X: 0.24412, Y: 0.11718, Z: 9.81382
GYRO -> X: 0.01304, Y: 0.00759, Z: 0.02083
ACCL -> X: 0.23436, Y: 0.11718, Z: 9.81382
GYRO -> X: 0.00146, Y: 0.00885, Z: 0.00139

Future outlook

  • Use magnetic sensors
  • Implement Madgwick filter
  • Sensor fusion for posture estimation

About

Arduino Uno 9 axis acceleration sensor (BMX055) reader implemented in Rust.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages