Giter Club home page Giter Club logo

mpu6050-cemuhook-gyro's Introduction

MPU6050 Cemuhook gyro

Motion controls source with Cemuhook protocol for Cemu, yuzu, Ryujinx, etc. Using ESP8266 microcontroller and MPU6050 accelerometer and gyroscope IC.

Axes directions

PadTest demonstration

mpu6050-cemuhook-gyro's People

Contributors

kerjoe avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

mpu6050-cemuhook-gyro's Issues

Sending bad CRC header for use in Dolphin Emulator

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

Peek 2022-02-08 21-57

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

Peek 2022-02-08 22-15

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

Peek 2022-02-08 22-14

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! ^-^

Wrong gyroscope info after shake

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.
dX5QTg2Ie1
Although, when I shake it or just make some more intense movements, rotation shown by padtest is incorrect and the controller starts to drift
vGqYRUKwfM
(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?

Question regarding drifting

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?

Question regarding coding

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?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.