Show Posts
Pages: [1]
1  Using Arduino / Sensors / Re: Guide to gyro and accelerometer with Arduino including Kalman filtering on: June 09, 2011, 06:59:32 am
multimedia  smiley
2  Using Arduino / Sensors / Re: Guide to gyro and accelerometer with Arduino including Kalman filtering on: June 09, 2011, 06:20:23 am
Hey Lauszus, I finished my final year project in college. I thought I would show it on here so people can see what can be done with the code and sensor. Thanks again for you help!





3  Using Arduino / Sensors / Re: Guide to gyro and accelerometer with Arduino including Kalman filtering on: May 20, 2011, 06:39:53 am
yes sorry i meant z-axis.

ok, i'll try research into that. Or else i might be able to get an arduino mega.

Worst case scenario i can still work with the values i am getting
4  Using Arduino / Sensors / Re: Guide to gyro and accelerometer with Arduino including Kalman filtering on: May 20, 2011, 06:29:23 am
no i didn't plug it in because i didnt need to measure the x-axis.

I am using a pressure sensor also, and using an arduino Uno so only have 6 inputs  smiley-confuse

so it needs to be used for calculation even if you dont plan on printing the value?
5  Using Arduino / Sensors / Re: Guide to gyro and accelerometer with Arduino including Kalman filtering on: May 20, 2011, 05:31:41 am
hey Lauszus,

I got my sensor (nice and fast too,thanks for the germany tip!)

I have it all connected and it seems to be working. One thing i notice though is that tilting forward on the y-axis gives me values up to 60 but backwards on the y-axis i only get as high as 20. on the x-axis then i an even 40 on each side.

I notice you wrote to add in a piece of code to make it read full 360, is that why mine isn't reading right?

i tried putting in that code after
"  R = sqrt(pow(accXval,2)+pow(accYval,2)+pow(accZval,2));//the force vector
  accXangle = acos(accXval/R)*RAD_TO_DEG-90;
  accYangle = acos(accYval/R)*RAD_TO_DEG-90;"

But didnt change anything.

also i'm not connecting the z-axis because i don't need it. I assumed it wouldnt make a difference.

Just wanted to say thanks again for the code. Looks like my project will become what i dreamed  smiley I'll post a video up here when its done
6  Using Arduino / Sensors / Re: Guide to gyro and accelerometer with Arduino including Kalman filtering on: May 16, 2011, 01:34:15 pm
zip files under the youtube video. have to be logged in to see them i think
7  Using Arduino / Sensors / Re: Guide to gyro and accelerometer with Arduino including Kalman filtering on: May 14, 2011, 07:02:27 pm
looks like the 70 euro one is sold out anyway
8  Using Arduino / Sensors / Re: Guide to gyro and accelerometer with Arduino including Kalman filtering on: May 14, 2011, 05:24:37 pm
perfect. even better!

Do you know what is the difference between the 70 euro one and the 50 euro one??? specs look the same and the name is the same??


thanks again  smiley
9  Using Arduino / Sensors / Re: Guide to gyro and accelerometer with Arduino including Kalman filtering on: May 14, 2011, 03:17:55 pm
cool!

Yeah i already have Pd reading the serial and picking up values from my other sensor (pressure) and modulating sound. It's just sensing tilt i couldn't figure out.

you have saved me!

I'm going to order one of those. i'm in ireland,hope it arrives in time!

thanks again!

billy.
10  Using Arduino / Sensors / Re: Guide to gyro and accelerometer with Arduino including Kalman filtering on: May 13, 2011, 04:33:39 pm
Hey Lauszus!

First off thanks for posting, this looks great and could be exactly what i need!

basically i am creating a ball full of different sensors which will then act as a synthasizer.this is my final year project and i am stuck here with only a few weeks to go. I have other sensors but what i really want is to be able to read if the ball is being tilted forward or back,left and right and by how much so i can modulate sound accordingly.( i am not trying to measure the acceleration,just the amount it is tilted)

i have been searching all the different possibilities with gyroscopes and accelerometers but can't seem to find clear cut examples of what i want. It looks like your code here is what i need? If i was to buy the 6dof is it as simple as using the code you linked? and then i would be able to get proper tilt values?

I am only a beginner with arduino and just know the basics of reading sensors but i'm finding the task of measuring tilt a bit deep for me.

your help or advice would be greatly appreciated!

(a final year college student freaking out lol) Billy.
Pages: [1]