Difference between revisions of "I2C + Arduino"
Jump to navigation
Jump to search
Djsullivan (talk | contribs) |
Djsullivan (talk | contribs) |
||
Line 3: | Line 3: | ||
The ''[https://www.arduino.cc/en/Reference/Wire (Wire library)]'' allows communication between the Arduino and other I2C compatible devices, for example another Arduino. To connect an I2C device, you must connect data(SDA) and clock(SCL) pins together, on the Uno these are pins A4 and A5. Also, both devices must share the same ground. | The ''[https://www.arduino.cc/en/Reference/Wire (Wire library)]'' allows communication between the Arduino and other I2C compatible devices, for example another Arduino. To connect an I2C device, you must connect data(SDA) and clock(SCL) pins together, on the Uno these are pins A4 and A5. Also, both devices must share the same ground. | ||
− | [[File:Master.png|left]] | + | [[File:Master.png|left|600px]] |
[[File:slave|right]] | [[File:slave|right]] | ||
[[Category:HowTos]] | [[Category:HowTos]] |
Revision as of 21:26, 13 December 2016
The (Wire library) allows communication between the Arduino and other I2C compatible devices, for example another Arduino. To connect an I2C device, you must connect data(SDA) and clock(SCL) pins together, on the Uno these are pins A4 and A5. Also, both devices must share the same ground.