POST No. 2408091
Can i2c sensor be added to trutlebot3?
2021-11-10 14:36:50 k_kame
Dear Sir,

I bought a turtlebot3 and tried to add an i2c direction sensor, but it didn't work.

I connected the SparkFun MAG3110 (*1) to OpenCR's Arduino port 14 and 15 and executed the provided sample files, but the output from Arduino Uno and OpenCR were different.


So I read the OpenCR manual and noticed that the ROBOTIS shop description does not include I2C in the communication circuits, while the ROBOTIS e-Manual description includes Digital I/O I2Cx1.

Which is true?
Also, I would appreciate it if you could tell me how to use I2C with OpenCR.

Thank you very much.
2021-11-10 14:36:50
2021-11-10 16:40:49 Will Son


You may refer to the thread below regarding the use of I2C(wire) on OpenCR.



2021-11-10 16:40:49
2021-11-11 14:36:49 Kentaro Kameyama

Thank you for your comment.

After reading your discussion, I understand that OpenCR's I2C is implemented.

I have also confirmed that i2c is working by running other i2c devices.

I am going to investigate the problem of the MAG3310 direction sensor operation, including other causes.

Thank you very much.

2021-11-11 14:36:49
웹에디터 시작 웹 에디터 끝