Ball Balancing with MPU6050 on Raspberry Pi 2 using ITG-MPU breakout board (MPU6050). This breakout board from aliexpress for $1.50. 40pin old IDE cable used to connect to raspi2 no interrupt, +vcc of the board is connected to +5v of raspi2 only sda, scl connected to raspi2. MPU data accessed regularly every 10ms (.01sec), sleep time reduced to allow data processing and draw. Codes for reading data from MPU6050 and complementary filter taken from the following blog: http://blog.bitify.co.uk/2013/11/reading-data-from-mpu-6050-on-raspberry.html. You can find the gem2.png image in /home/pi/python_games/gem2.png of Raspberry Pi 2.
forked from Opata/MPU6050-Ball-Balancing
Naohiro2g/MPU6050-Ball-Balancing
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
Ball Balancing with MPU6050 on Raspberry Pi 2
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published
Languages
- Python 100.0%