Skip to content

3d object rotated by a gyroscope sensor MPU6050 on an Arduino Uno/Nano with a SSD1306 OLED 128x64 pixel display.

License

Notifications You must be signed in to change notification settings

codingABI/3dGyro

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

42 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

3dGyro

3d object rotated by a gyroscope sensor MPU6050 on an Arduino Uno/Nano with a SSD1306 OLED 128x64 pixel display.

Video https://youtu.be/6d66vB9jD_s

License and copyright

My code is licensed under the terms of the MIT License Copyright (c) 2022-2026 codingABI.

Hardware

Arduino Uno/Nano with gyroscope sensor MPU6050 and a SSD1306 OLED 128x64 pixel display

breadboard

Running on breadboard was not very stable for me over time (occasionally i2c-bus freezes). The same circuit soldered on board ran stable.

Appendix

Schematic

schema

Used development environment

  • Arduino IDE 2.3.4 or 1.8.19
  • Arduino AVR Boards Version 1.8.6
  • Adafruit GFX Library 1.11.11
  • Adafruit SSD1306 2.5.13 (dont forget to uncomment #define SSD1306_NO_SPLASH in Adafruit_SSD1306.h to prevent the "Sketch too big" error)
  • I2Cdev (from https://github.com/jrowberg/i2cdevlib)

About

3d object rotated by a gyroscope sensor MPU6050 on an Arduino Uno/Nano with a SSD1306 OLED 128x64 pixel display.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages