You can download the code to interface with the gp3 from the website.  I'm programming in java and using jamvm.  To access the serial ports I'm using c code and the Java Native interface JNI. 
 
Here's what I'm trying to do...
 
Break the world record for distance in a paraglider.  Currently, the record stands at 263 miles.  To help me do this I'm going to be using a flock of autonomous networked robotic gilders (2 meter gliders).  The gliders will be used as scouts to go ahead, find thermals, map them and send the info back to me. (short version)
 
-David
 





 

From: clathe@gmail.com
Date: Wed, 20 Dec 2006 17:30:10 -0500
To: gumstix-users@lists.sourceforge.net
Subject: Re: [Gumstix-users] Accelerometer implementation

That is a really interesting approach, hand't heard of the gp3 before. What are you using the accelerometer for, and have you got any of the code hammered out?


On Dec 20, 2006, at 5:26 PM, David McCutcheon wrote:

Here's what I'm doing:
 
gumstix <--- serial com uart ---> gp3 <--- pwm --- Dual-axis Accelerometer
 
gp3: http://awce.com/gp3.htm ($49)
bullet

8 general purpose I/O lines (digital input/output with special features like PWM or pulse output)

bullet

5 10-bit A/D inputs (separate from digital pins)

bullet

1 hardware PWM output (operates continuously)

bullet

1 hardware counter input (operates continuously)

bullet

1 LED under software control



Memsic 2125 Dual-axis Accelerometer:  http://www.parallax.com/detail.asp?product_id=28017 ($29)
 
Now there is a Tri-axis Accelerometer you can get through parallax.  Here is a link to different sensors: http://www.parallax.com/html_pages/products/componentshop/sensors.asp
 
I actually bought the robostix, but haven't gotten around to using it, so I can't give you much advice on it.

-David McCutcheon




> To: gumstix-users@lists.sourceforge.net
> From: chad@nonstatement.com
> Date: Wed, 20 Dec 2006 16:45:54 -0500
> Subject: [Gumstix-users] Accelerometer implementation
>
> Has anyone used an accelerometer with a gumstix without the robostix?
> I am thinking of using a 10-bit A/D, and didn't know the best way to
> go about it. Any suggestions?
>
> -Chad Lathe
>
> -------------------------------------------------------------------------
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to share your
> opinions on IT & business topics through brief surveys - and earn cash
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> _______________________________________________
> gumstix-users mailing list
> gumstix-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gumstix-users



Get free, personalized online radio with MSN Radio powered by Pandora. Try it!
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV_______________________________________________
gumstix-users mailing list
gumstix-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gumstix-users



Get the Live.com Holiday Page for recipes, gift-giving ideas, and more. Check it out!