sb-ocr / diy-spacemouse

A DIY navigation device for Fusion360
Other
1.26k stars 171 forks source link

6 Axis Sugestion #12

Open david0green94 opened 1 year ago

david0green94 commented 1 year ago

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.

LoganFraser commented 1 year ago

That depends how big the flight controller pcb is, I'd imagine. Do you have a link for it?

sb-ocr commented 1 year ago

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.

rodesch-ryan commented 9 months ago

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