Code for inertial sensor to Parallax USB datalogger with BASIC Stamp 2e
calomega
Posts: 4
I am trying to write a code to request data from an Analog Devices inertial sensor (ADIS16350) to be recorded on the Parallax USB datalogger using a BASIC Stamp 2e microcontroller. The sensor is SPI-compatible and I am able to connect all of the appropriate pins but I'm having difficulty mapping out the exact commands. Please let me know if you have any suggestions or links to sample source code that might address this problem.
Here is the datasheet for the inertial sensor:
http://www.analog.com/static/imported-files/data_sheets/ADIS16350_16355.pdf
Thanks!
Here is the datasheet for the inertial sensor:
http://www.analog.com/static/imported-files/data_sheets/ADIS16350_16355.pdf
Thanks!
Comments
I'm not aware of any sample code. You might look at other SPI devices that Parallax sells. For most products, there's always sample code linked from the webstore page for the product. Make sure you read the chapters in the Stamp Basic Manual on the SHIFTOUT and SHIFTIN statements.