bmthomsen
11-02-2009, 04:52 PM
Hi, I apologize in advance for a noobish question....I'm trying to get this sensor to work with the BS2 Stamp kit for a class project, ·and I'm having trouble getting it to do anything. I have it wired up per the instructions in the demo PBASIC program (link below), and the X, Y, and Z values show up in the debug window as -1, and don't change. Checking with a logic probe shows correct voltage levels at Vin and Ground, and signals at the CLK, DATA, and CS pins. This is what the debug window shows:
·· MMA7455 3-Axis Accelerometer BS2 DEMO #1
···················· 8-Bit 2g Mode ; 64 LSB/g
···················· X=-1
···················· Y=-1
···················· Z=-1
I'm not sure what else to check. Anyone have any ideas?
Thx, Brian
(http://www.parallax.com/StoreSearchResults/tabid/768/txtSearch/Accelerometer/List/0/SortField/4/ProductID/585/Default.aspx)
·· MMA7455 3-Axis Accelerometer BS2 DEMO #1
···················· 8-Bit 2g Mode ; 64 LSB/g
···················· X=-1
···················· Y=-1
···················· Z=-1
I'm not sure what else to check. Anyone have any ideas?
Thx, Brian
(http://www.parallax.com/StoreSearchResults/tabid/768/txtSearch/Accelerometer/List/0/SortField/4/ProductID/585/Default.aspx)