kerjoe / mpu6050-cemuhook-gyro Goto Github PK
View Code? Open in Web Editor NEWGyroscope for Cemuhook based on ESP8266 microcontroller and MPU6050 accelerometer and gyroscope IC
Gyroscope for Cemuhook based on ESP8266 microcontroller and MPU6050 accelerometer and gyroscope IC
First of all thank you so much for this project, when I found it, I've got a smile on my face that someone already did most work for me! However, I have an issue and I couldn't fix it by myself. When I'm gently rotating MPU6050 it works flawlessly, without drift or clipping.
Although, when I shake it or just make some more intense movements, rotation shown by padtest is incorrect and the controller starts to drift
(Note, that the position and rotation on the beggining and the end of gif are the same and it's in constant position on the end)
Do you have any ideas what I might have done wrong and how to fix it?
Hello! I've previously posted on here and you were kind enough to help me out. I've since gotten the parts and set up the sensors. While everything works fine and I can use PadTest to see how my controller is reacting, it does suffer from drifting yaw. After some quick research, I found that at least for other projects using DMP could fix this issue. Is it possible to use this for the program, or would it not work?
Hello! Before anything, thanks a lot for this project, I've been testing it for a few days with multiple emulators and so far it's been working wonderfully!
...except with the Dolphin Emulator, this emu doesn't seem to be able to connect to the Arduino DSUServer, using the logs built in the emulator you can see many errors popping up when powering on the Arduino and the Emu starts trying to connect to it
To reproduce it yourself, go to Controllers, under Wii Remotes click on Configure for the Wiimote required
Move into the Motion Input tab, click on Alternate Input Sources, add the IP and port of the Arduino, save & exit
Then enable logging on Dolphin, go to View, and check both View Log and View Log Configuration
On Log Configuration, change "Verbosity" to "Info", and check the "Controller Interface (CI)" logs
Then power the arduino and have a sight of the errors coming!
I have asked on the Dolphin Emu discord server and they told me Dolphin doesn't really make anything different for the client side of things compared to plain cemuhook, so this is a bit strange
I tried looking into both the code of the Arduino Server and the Dolphin DSUClient by myself but I don't know much of anything about coding really, so I hope you'll be able to fix it! ^-^
Hello! I managed to find your work after looking over the web for a while, and I'd thought nobody had thought of this yet. I'm completely new to arduino and coding, and was working on a small project for a controller. I see this is using the MPU6050 for gyro controls. Does it need to use the wifi ESP8266 module? I have my gyro unit set up with an arduino nano, and was was hoping I could send the data from the just usb out. Is this something that can be done?
Dear KerJoe:
I have some suggestions after used your calibration code.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.