I am making a project with 3 arduinos (2 slave, 1 master) and I want to know can I use the mpu6050 since it uses the I2c communication.
-
You're using I2C for the Arduino->Arduino communication?Majenko– Majenko2020年10月07日 16:56:30 +00:00Commented Oct 7, 2020 at 16:56
-
yes i am using itLil man– Lil man2020年10月07日 21:55:48 +00:00Commented Oct 7, 2020 at 21:55
2 Answers 2
Yes, but only from the master. You have one I2C bus with three slave devices on it - two arduinos and one mpu6050.
answered Oct 7, 2020 at 22:00
You can but keep the I2C wires less then about 30cm. If they are going to be further apart consider something like RS485 or CAN. Are you sure you need three?
-
Yes i do I am making a car/ drone combo youtube.com/…Lil man– Lil man2020年10月07日 21:53:32 +00:00Commented Oct 7, 2020 at 21:53