I need Help with Triple Axis Accelerometer Breakout - MMA7361 code
Xavier
Posts: 26
Hi I'm new in this and I have basic stamps and a Triple Axis Accelerometer - MMA7361.
I need the code or routine to use the MMA7361 with basic stamp.
The Arduino code is:
http://www.geeetech.com/wiki/index.php/MMA7361_Triple_Axis_Accelerometer_Breakout
http://arduino.cc/forum/index.php/topic,38132.0.html
It would be great if someone could help. Thanks.
I need the code or routine to use the MMA7361 with basic stamp.
The Arduino code is:
http://www.geeetech.com/wiki/index.php/MMA7361_Triple_Axis_Accelerometer_Breakout
http://arduino.cc/forum/index.php/topic,38132.0.html
It would be great if someone could help. Thanks.
Comments
Which Basic Stamp do you have?
That particular unit has Analog outputs on each axis. The Basic Stamp does not have any Analog inputs as the Arduino has. You would have to add three channels of A/D on the hardware side before writing software for the Basic Stamp.
Welcome to the forums!
Some reading for Stamp ADC:
http://www.parallax.com/Portals/0/Downloads/docs/cols/nv/vol2/col/nv57.pdf
http://www.parallax.com/Store/Components/AllIntegratedCircuits/tabid/154/CategoryID/31/List/0/SortField/0/Level/a/ProductID/574/Default.aspx
I have BASIC Stamp 2 with Carrier Board and a basic stamp 2sx.
I already have the A/D with the Basic Stamp 2.
How can I join the A/D Basic Stamp 2 code with the Arduino MMA7361 code to finally have
a Basic Stamp 2 code.
Thanks, any help would be usefull.
Hi,
I couldn't get the A/D you told me, I could only get 2 of these:
http://www.parallax.com/StoreSearchResults/tabid/768/List/0/SortField/4/ProductID/575/Default.aspx?txtSearch=3202+B
How can I get It work, does the demo code you put works with these???
and How does it go in the board with the MMA7361???[h=2][/h]
If there is someone who could possibly help me I would like to get the raw value and mV like in the arduino, please.
Thanks.
I have connected properly the ADC and in the channels 0 and 1 are "X" and "Y" and in the MMA7361 I have connected the 5V, GND,"X","Y", and Gselect, I only have these connected.
And what I don't have connect is the "Z", 0G, Sleep, and Selftest pin from the MMA7361.