Pages: [1]   Go Down
Author Topic: Gyro, accelerometer, and compass  (Read 844 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Sr. Member
****
Karma: 0
Posts: 403
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I have all 3 sensor. a gyro, accelerometer, and compass. I got them all working too.

How would I now incorporate them all together?

-I know I need to tilt compensate the compass.
-I would like to get the information to make a virtual 3d model of the device
Logged

UK
Offline Offline
Shannon Member
****
Karma: 223
Posts: 12630
-
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

How would I now incorporate them all together?

To do what? You could 'incorporate' them together by wrapping an elastic band around them, but perhaps that isn't your goal.
Logged

I only provide help via the forum - please do not contact me for private consultancy.

Offline Offline
Sr. Member
****
Karma: 0
Posts: 403
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I would like to have the sensors check each other to reduce jitter from readings. I am trying to make a 3D model on the computer that is accurate from the unit.
Logged

UK
Offline Offline
Shannon Member
****
Karma: 223
Posts: 12630
-
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I am trying to make a 3D model on the computer that is accurate from the unit.

What does this mean? You want to produce a 3D image showing what the hardware looks like? You want to use the hybrid device as a 3D drawing device? Something else?
Logged

I only provide help via the forum - please do not contact me for private consultancy.

New Hampshire
Offline Offline
Full Member
***
Karma: 4
Posts: 179
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I am trying to make a 3D model on the computer that is accurate from the unit.

What does this mean? You want to produce a 3D image showing what the hardware looks like? You want to use the hybrid device as a 3D drawing device? Something else?

I think he means that he wants to be able to get an extremely accurate, where exactly am I pointing, and how fast am I accelerating (which could be turned into how fast am I going) readout for a computer. That combined with accurate GPS coordinates would then be good for tracking whats going on with something.

Why you didn't get a 3 Axis compass though is a little beyond me, because then there wouldn't be much requirement for programming your own compensation. And they're really cheap (actually most single axis or dual axis units are more expensive, though they may be more accurate)

But so when you say you want to compensate it for tilting. What degree of tilt compensation you want. Cause if you tilt the thing more then 10 degrees your numbers are going to be quite a bit off regularly, and anywhere past 45 degrees of tilt, and your practically going to be making up your direction out of gyro data.


Edit. Actually quick thing, make it a bit easier for us. Which sensors do you have exactly?
« Last Edit: December 27, 2012, 11:43:28 am by Nikarus » Logged

Offline Offline
Sr. Member
****
Karma: 0
Posts: 403
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I have these sensors
http://www.radioshack.com/product/index.jsp?productId=12310182
http://www.microcenter.com/product/390033/Compass_Module_3-Axis
http://www.radioshack.com/product/index.jsp?productId=2909788
Logged

New Hampshire
Offline Offline
Full Member
***
Karma: 4
Posts: 179
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset




....... then why do you need to do any tilt compensation, you've got a tri-axis compass
It should just be outputting 3 angles, then use the accelerometer to figure out which way down is.
if your jsu ttrying to find north it shoudl be enough to level the thing by hand and then get the reading. perhaps if your buildign a drone or something though youd need more work
Logged

Pages: [1]   Go Up
Jump to: