I2C Serial Communication between two Teensy 3.2

Status
Not open for further replies.

oceanblue

New member
Hi Everyone.
So I have a two teensy 3.2 boards and I would like to create a serial communication between the two.

I found a tutorial on Instructables.com: https://www.instructables.com/id/Communication-Between-Two-Arduinos-I2C/. However, the author uses two Arduino Uno.
I tried doing the same thing on my two teensy boards.

However nothing happens whenever I tried pushing the button on master board. Supposed to be, the led on the slave board should lit.


Could anyone help me on what connections and wiring should be done on my teensy boards?

Thank you!
 
Studying the respective data sheets and using an oscilloscope to diagnose the SDA and SCL lines would have told you a fundamental difference between Arduino and Teensy: While the Arduinos have the required pull-up resistors for the I2C lines integrated, the Teensys do not so to allow the use of optimized resistor values depending on line length, parasitic inductances and capacitances. For short connections, a good starting point is using a 3k3 or 4k7 resistor from each line, SDA and SCL, towards 3.3V.
 
Status
Not open for further replies.
Back
Top