View Full Version : Need Help In Connecting Accelerometer
idooriane
16-02-2013, 12:37
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.
http://frc-labs.com/wp-content/uploads/2012/03/GyroAccelerometer1.jpg
Thanks :)
NeatTeam #1943
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=5dCwbZ-xYgY&feature=share&list=PLkS1F9cM-fqBIVntkvQme0nC_xUILWCam
idooriane
17-02-2013, 05:29
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=5dCwbZ-xYgY&feature=share&list=PLkS1F9cM-fqBIVntkvQme0nC_xUILWCam
Thanks for the help!!
Alan Anderson
17-02-2013, 10:27
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
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
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
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.
vBulletin® v3.6.4, Copyright ©2000-2017, Jelsoft Enterprises Ltd.