Log in

View Full Version : ADXRS300EB Rate Gyro


rmeenaks
31-03-2004, 17:07
Hi,

I am now the proud owner of an ADXRS300EB and I want to hook this beauty up to the lego mindstorms sensor port. I already own the following interface connector:

http://www.techno-stuff.com/3wire.htm

so I think it should be pretty easy. I was thinking about connecting it following way:

AGND to Ground
AVCC to +5V
Rate Out to Signal

would this cause any problems? The interface produces about 6mA which should? be enough to drive the sensor. Am I correct? I dont want to damage the sensor since it is a bit expensive...

Any help is much appreciated. I really need to get this going, but I am not too electronic savy :(

Cheers,

Ram

dez250
31-03-2004, 17:11
please dont double post the same thread in more then one spot.

rmeenaks
31-03-2004, 17:26
Sorry, this is my first time on this Forum :(


Ram

coreyjon
31-03-2004, 20:44
It's alright that you double posted, as a newer member to the forum, I think people will understand that you where just unsure which area was the correct place to post, and you just wanted to get the info, no harm, no foul. Mike, loosen up a bit will you.

Also, the way your planning on wiring it sounds right, I mean it makes sense.

power to power, ground to ground, data to data.

The more and more I see what you can do with lego mindstorms, the more and more I want to go out and buy a kit, and a bunch of parts and just let loose.

rmeenaks
01-04-2004, 10:25
Thanks. I wasnt sure which forum to post it until I found the electrical forum. It seems that I can hook it up like this as well:

1) Connect +5V to pin 1 (AVCC)
2) Connect signal to pin 2 (RATEOUT)
3) Connect ground to pin 8 (AGND)
4) Connect +5 to pin 13 (PDD)
5) Connect ground to pin 12 (PGND)

I found this out which I did a search through the forums :]
Should of done that first. Now the quesion is is 6mA enough (or too much) to drive the sensor???

Cheers ,

Ram

Joe Ross
01-04-2004, 10:34
Now the quesion is is 6mA enough (or too much) to drive the sensor???

From the data sheet: POWER SUPPLY min typ max
Operating Voltage Range 4.75 5.00 5.25 V
Quiescent Supply Current 6.0 8.0 mA

KenWittlief
01-04-2004, 11:25
it cant be too much- the sensor will only draw what it needs - sounds like it should work - let us know what you end up doing with this - I think I have a mindstorm set lying around in the basement somewhere

rmeenaks
01-04-2004, 11:31
Hi,

Cool! Now off to my bench to get this thing working :D
I have lots of uses for this as I currently have an accelerometer as well (ADXL202E) hooked up to the mindstorms. I am planning on creating a two-wheeled balancing robot similar to LegWay, but with the ADXRS300/ADXL202 and a bit of Kalman filtering. This is just a proof-of-concept design to see if this combo works. This should be a very interesting project. This leaves me with more room to add yet another sensor to the mixture (like the Sharp distance sensor or a light sensor). I let you guys know when I finish this...

Thanks for all the help,

Ram

dez250
01-04-2004, 16:45
Hi,

Cool! Now off to my bench to get this thing working :D
I have lots of uses for this as I currently have an accelerometer as well (ADXL202E) hooked up to the mindstorms. I am planning on creating a two-wheeled balancing robot similar to LegWay, but with the ADXRS300/ADXL202 and a bit of Kalman filtering. This is just a proof-of-concept design to see if this combo works. This should be a very interesting project. This leaves me with more room to add yet another sensor to the mixture (like the Sharp distance sensor or a light sensor). I let you guys know when I finish this...

Thanks for all the help,

Ram

Hey Ram , good luck it seems Joe and Ken have set you on the right path, keep us updated on your pojects and if you have any other questions, were here to help. Also what mindstorms kit are you using this on, i havent seemed to find a good mindstorms kit that i could use to test rotational and yaw rate sensors on?

rmeenaks
01-04-2004, 17:45
Hey Ram , good luck it seems Joe and Ken have set you on the right path, keep us updated on your pojects and if you have any other questions, were here to help. Also what mindstorms kit are you using this on, i havent seemed to find a good mindstorms kit that i could use to test rotational and yaw rate sensors on?


All the mindstorm kits (the RCX that is) are pretty much the same. They have versions 1.0 (which has an AC adapter + Batteries), RCX 1.5 (removed the AC adapter plug :mad: ), and RCX 2.0 (updated firmware and USB-based but similar to 1.5). All are compatible with each other. I have both a 1.5 and a 1.0. I am testing this on a 1.0-based RCX brick. I will definitely let you guys know how this goes. Thanks for all the help. I am really glad I found this site. A lot of cool and interesting stuff here....

Cheers,

Ram

Mark McLeod
02-04-2004, 09:52
I am really glad I found this site. A lot of cool and interesting stuff here....

Cheers,

Ram
You should try out the Hauppauge FIRST Robotics club too.
We do this "cool and interesting stuff."
:cool:

rmeenaks
02-04-2004, 10:41
Hi,

Dont know what the age group the Hauppauge FIRST targets, but I am over 30 ;)
So, can I still join....

Cheers,

Ram

PS: Saw the FIRST contest at Brentwood. Was cheering my local team all the way....

Mark McLeod
02-04-2004, 11:46
Hi,

Dont know what the age group the Hauppauge FIRST targets, but I am over 30 ;)
So, can I still join....


I'm WAY over 30 and they don't hold it against me!
Your experiments will inspire the students.

rmeenaks
02-04-2004, 12:25
I'm WAY over 30 and they don't hold it against me!
Your experiments will inspire the students.

Hmmm, when do you guys meet? I live just across the street from Hauppauge High in the apartment complexes (Windsor)....

Cheers,

Ram

Mark McLeod
02-04-2004, 12:54
Hmmm, when do you guys meet? I live just across the street from Hauppauge High in the apartment complexes (Windsor)....

Cheers,

Ram
During the FIRST season (January - April) just about every day 6pm to 10pm.
School is out for spring break after today though and we'll be at Nationals the week after.

If you're willing I'll set up a meeting where I can introduce some of the other adult mentors and you can see the robot when it returns from Nationals.
We can talk a little shop. The team has an ADXRS150EB in use on the robot and I have a 300 at home. I'm Comp Sci, so code is my primary interest, but we have mechanical and electrical mentors as well. We have also started a Mindstorm league in the Middle School.

Use my email to talk more: Mark.McLeod@ngc.com

rmeenaks
05-04-2004, 19:54
Hi,

Thanks to all. I now have a prototype and it is working like a champ! :D
Here is a picture of the interface:

rmeenaks
05-04-2004, 19:58
Hi,

Thanks to all. I now have a prototype and it is working like a champ! :D
Here is a picture of the interface:

Forgot to mention that now I am off to build the two-wheeled balancing robot using lego mindstorms. Yipeeee!!!


Cheers,

Ram

Ryan M.
05-04-2004, 20:27
Forgot to mention that now I am off to build the two-wheeled balancing robot using lego mindstorms. Yipeeee!!!


Cheers,

RamThat'll be fun. ;)

Out of curiousity, do you use the default firmware, or an alternative like Lejos, BrickOS (former LegOS), PBFORTH (ick.), etc?

rmeenaks
05-04-2004, 22:37
That'll be fun. ;)

Out of curiousity, do you use the default firmware, or an alternative like Lejos, BrickOS (former LegOS), PBFORTH (ick.), etc?

Currently using the default firmware with NQC just for testing the sensor. I will eventually use BrickOS since the response rate is alot faster. Doubt you can even do this with the default firmware/NQC. Havent tried Lejos nor PBForth. I'll post the my progress in the forums.....

Cheers,

Ram