Hi everybody,
i'm stuck with my project.
Problem:
I need to communicate with 3 sensors (mpu6050, ms5611 and hmc5883l) thru the I2C bus.
All SCL pins connected to A5
All SDA pins connected to A4
All GND to GND
ALL Vcc to 3,3V
I have 3 seperate codes for those sensors and I don't know how to make 1 sketch code... Or I don't need to do that???
I need to get the pressure, altitude, gyro, compass and temp. info in serial monitor, becouse then I will use proccesing software to display graphically all mensioned parameters.
Can someone explain how successfully get the info from all three sensors? Or maybe someone can share somthing similar, where I would be able to figure out my questions?
Google have no examples ![]()
Thank you all.
very very green programer,
Ringaudas
mpu6050_V2.ino (8.38 KB)
MS5611_V5_i2c.ino (640 Bytes)
hmc5883l_V3_i2c.ino (3.29 KB)
