GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - rvt/headtracker: Head Tracker using MPU6050/MPU9250 and ESP8266

BranchesTags
Open more actions menu

Latest commit

 

History

23 Commits
23 Commits

Folders and files

NameName
Last commit message
Last commit date
img
img
 
 
lib
lib
 
 
src
src
 
 
web
web
 
 
.gitignore
.gitignore
 
 
LICENSE
LICENSE
 
 
code.astylerc
code.astylerc
 
 
generateHtmlArray.sh
generateHtmlArray.sh
 
 
headtrack-mpu6050.stl
headtrack-mpu6050.stl
 
 
platformio.ini
platformio.ini
 
 
readme.md
readme.md
 
 
upload.sh
upload.sh
 
 

Repository files navigation

Head tracking with esp8266/esp8265 and MPU6050 or MPU9250

Installation

Install platform IO

# Build char* array for web
./generateHtmlArray.sh
platformio run --target upload -e wemos
platformio device monitor --baud 115200

How to use

The device will create a new network so for a once time setup you need to have your computer or mobile phone connect to this network and congirue the wifi.

Wifi Config Menu

If you did monitor your device it will show you the IP address of the access point.

While you are at it go to the setup page to tell setup the location and protocol to send data to. You can also calibrate the MPU (Motion Processing Unit). Read the instructions carefully!

Calibration menu

  • FreePie protocol sends Yaw Pitch and Roll using the FreePie format. This has been tested with OpenTrack
  • OpenTrackUDP sends Yaw Pitch and Roll using a simple floar array. This has been tested with OpenTrack.

Where to put the MPU

I have designed a little box that can be printed using a 3D printer. It´s a bit tricky to print but it will work out if you put up some support material. The STL file (mpu6050_holder.stl) is included. Then I have sewed it on a baseball cap. I´s very light and you will hardly fill it.

Holder for MPU6050 menu

The ESP8266 can be put in a other box and you can connect the MPU6050 and ESP8266 using a 5 wire shielded cable. Make sure it´s not longer than 1.5 to 2 meter (I have tested 1.5m) otherwhise I2C communication mght fail.

calibration and zero

Within the setup page there is a tool to setup calibration and setting 'zero' orientation. Calibration of the mpu9250 is unfortunatly more than tricky, but if you have questions please ask.

TODO

  • guide trought calibration for imu's
  • show calibration values on UI + quality of qualibration (mpu 9250)
  • add more IMU's like the ICM-20948
  • code cleanup, this was somewhat hacked together to create a MVP
  • add more output protocols.

About

Head Tracker using MPU6050/MPU9250 and ESP8266

Topics

eps8266esp8285headtrackingmpu6050mpu9250opentrackxplane

Resources

Readme
BSD-3-Clause license
Activity

Stars

40 stars

Watchers

3 watching

Forks

11 forks
Report repository

Releases

Packages

Used by

Contributors

Languages

You are visitor 01402520 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.