Networking and Comminications
This graph displays data from an MPU6050 accelerometer, Which is connected to an Arduino using I2C.
This is the MPU6050 board.
I used an old cable to connect the arduino the accelerometer. It had more than 4 pins, so I had enough for VCC, GND, SCL, and SDA. I clipped the ends of the cable and stripped the wires, and I ended up nice sturdy cable to attach the accelerometer to the arduino.
The I2C connection relies on several libraries that I incuded in my code (I2Cdev.h, MPU6050.h, and Wire.h{when needed}).
here the I2C connection is established.