diy-spacemouse
diy-spacemouse copied to clipboard
6 Axis Sugestion
Hi, How hard do you think it would be to modify the design for 6 axis? In the spirit of using parts laying around I realised a drone flight controller which are somewhat cheap and very available have at least 5 axis gyro + altitude. Just trying to work out how to pull the data from betaflight now.
That depends how big the flight controller pcb is, I'd imagine. Do you have a link for it?
I was playing with a similar idea by pairing the magnetometer readings with a gyro + accelerometer and calculating the Euler angles that way. That's why, in the first prototype, the sensor is placed on top of the platform. However, I found it a bit sticky and unreliable in terms of resolution for the amount of motion the knob is supposed to detect. It could be due to my poor programming, I only did a few quick tests, so I can't say for sure if t's the right approach or not.
david0green94 Flight boards designed for droned would be a major waste of space. Most of the components on the flight board would be dedicated to power management which can be done externally. Flight boards are also prone to power-based magnetometer drift on lower-end models, which is difficult to account for.
If this is an option people want to consider, I would recommend the LSM6DSR chip for 6DOF tracking. https://www.st.com/resource/en/datasheet/lsm6dsr.pdf