|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
| Thread Tools | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
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 |
|
#2
|
||||
|
||||
|
Re: Need Help In Connecting Accelerometer
Quote:
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 |
|
#3
|
|||
|
|||
|
Re: Need Help In Connecting Accelerometer
Quote:
|
|
#4
|
|||||
|
|||||
|
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.
|
|
#5
|
||||
|
||||
|
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? |
|
#6
|
||||||
|
||||||
|
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 |
|
#7
|
||||
|
||||
|
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. |
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|