Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   Sensors (http://www.chiefdelphi.com/forums/forumdisplay.php?f=173)
-   -   Need Help In Connecting Accelerometer (http://www.chiefdelphi.com/forums/showthread.php?t=113650)

idooriane 16-02-2013 12:37

Need Help In Connecting Accelerometer
 
Hey,
I have an accelerometer and gyro on the same board (photo below...), but I don't know how to connect them.
I think the model of the accelerometer is ADXL345 and about the gyro I don't know the model.


Thanks :)
NeatTeam #1943

Ether 16-02-2013 14:33

Re: Need Help In Connecting Accelerometer
 
Quote:

Originally Posted by idooriane (Post 1234344)
Hey,
I have an accelerometer and gyro on the same board (photo below...), but I don't know how to connect them.

TeamCodeOrange video:

3:56-6:06 gyro, uses PWM cable, connects to analog input

6:07-8:06 accelerometer (requires 4 PWM cables going to 4 PWM inputs on DSC, or a custom cable for plugging into I2C on DSC)

http://www.youtube.com/watch?v=5dCwb...me0nC_xUILWCam



idooriane 17-02-2013 05:29

Re: Need Help In Connecting Accelerometer
 
Quote:

Originally Posted by Ether (Post 1234395)
TeamCodeOrange video:

3:56-6:06 gyro, uses PWM cable, connects to analog input

6:07-8:06 accelerometer (requires 4 PWM cables going to 4 PWM inputs on DSC, or a custom cable for plugging into I2C on DSC)

http://www.youtube.com/watch?v=5dCwb...me0nC_xUILWCam



Thanks for the help!!

Alan Anderson 17-02-2013 10:27

Re: Need Help In Connecting Accelerometer
 
The ADXL345 example projects in LabVIEW have details on exactly how to wire it and exactly how to initialize and read values from it. I've only ever used the I2C communication, but I know it works, and it only uses four wires.

fovea1959 29-09-2013 13:39

Re: Need Help In Connecting Accelerometer
 
Has anyone seen a source for prefrabicated multidrop I2C cables?

What about SPI cables that can be attached to sidecar?

Joe Ross 29-09-2013 13:59

Re: Need Help In Connecting Accelerometer
 
We used 2 PWM cables for our SPI device. One was oriented traditionally and had power, ground, and one signal for the device. The other was oriented horizontally and carried the other 3 signals.

If you want to use SPI in java, be sure to grab the class here: http://firstforge.wpi.edu/sf/go/artf1567

fovea1959 29-09-2013 21:31

Re: Need Help In Connecting Accelerometer
 
will try that a little later this week.

Was wondering if anyone had cabled multiple devices to SPI or I2C, and how they fabricated cables.


All times are GMT -5. The time now is 08:08.

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi