Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Two IMU not working #9

Open
josef821 opened this issue Jul 26, 2020 · 8 comments
Open

Two IMU not working #9

josef821 opened this issue Jul 26, 2020 · 8 comments

Comments

@josef821
Copy link

hi. i have two Arduino uno and mpu6050. i set the port in ArduinoControllers.ini ( PORT 3 and PORT 17 ).
just port 3 working and port 17 not working. i check port 17 when game is running , it's not busy but port 3 is busy.
i set the one controller ( ShoulderYaw and ShoulderPitch has values ) with port 3, it works .
but port 17 not working even in one controller.
i test port 17 in arduino serial port.it works but not working in steamvr.

@r57zone
Copy link
Member

r57zone commented Jul 26, 2020

Hi, try changing port from 17 to 6 in device manager and change in TrueOpenVR settings.

@josef821
Copy link
Author

thank's for quick reply.
it's work now.but port 3 move right hand and port 6 move left hand.
but as this image https://user-images.githubusercontent.com/9499881/80840516-8e1e4280-8c0e-11ea-9a5f-96a890f12d29.gif
i want to move just one hand with arm and foream.
what should i do for that?

@r57zone
Copy link
Member

r57zone commented Jul 26, 2020

I completely forgot. Arduino must transmit data from two sensors at once

@josef821
Copy link
Author

so. what should i do?
Do i need to make changes to Arduino's code or c++ arduino controller ?

@r57zone
Copy link
Member

r57zone commented Jul 26, 2020

You need to connect 2 IMU sensors to one Arduino and slightly tweak the firmware so that the Arduino can transmit two rotations at once. The transmitted format is already described in the firmware.

Alternatively, you can just use the default, that is, use 1 rotation sensor for one hand.

@josef821
Copy link
Author

i connect two sensor on one arduino.
but i don't know what change need in arduino and c++ code.
can you help me and update driver and firmware for that?

@r57zone
Copy link
Member

r57zone commented Jul 26, 2020

Unfortunately, no, because I don't know how to connect 2 sensors correctly and change firmware for him

@int-mian
Copy link

int-mian commented Aug 8, 2020

you can parallel two sensor,and use AD0 to change their address,but i don't know how to change the firmware

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants