has any body interfaced microcontroller to accelerometer,accelerometer which i am using gives digital output in SPI/I2C form,can any body siggest me how i can use this accelerometer.
There are examples for all of Parallax's microcontrollers (Stamps, the SX, and the Propeller) of interfacing both SPI and I2C devices including accelerometers. If you're specifically interested in the AT89c52, you'll have to use Atmel's support forums for the information you want.
Parallax sells both the Memsic 2125 dual axis and the Hitachi H48C triple axis accelerometer. The webstore pages for these products have links to all sorts of interfacing example and coding samples. The Hitachi device does use SPI.
Comments
Parallax sells both the Memsic 2125 dual axis and the Hitachi H48C triple axis accelerometer. The webstore pages for these products have links to all sorts of interfacing example and coding samples. The Hitachi device does use SPI.
There are all sorts of examples in the Nuts and Volts Columns of the use of I2C (and SPI) with Stamps. The index is here:
www.parallax.com/Resources/NutsVoltsColumns/tabid/272/Default.aspx
Memsic 2125: www.parallax.com/Store/Microcontrollers/BASICStampModules/tabid/134/txtSearch/accelerometer/List/1/ProductID/93/Default.aspx?SortField=ProductName%2cProductName
Hitachi H48C: www.parallax.com/Store/Microcontrollers/BASICStampModules/tabid/134/txtSearch/accelerometer/List/1/ProductID/97/Default.aspx?SortField=ProductName%2cProductName
Post Edited (Mike Green) : 12/17/2008 6:32:47 AM GMT