Home        Store        Docs        Blog

Bar30 Sensor with Teensy 3.2

(Josefine Severholt) #1

I am trying to run the Bar30 (PCB) with a Teensy 3.2, but there is nothing happening over the i2c pins (checked with an oscilloscope). I am using the example code on the product page, and it is working fine when using an Arduino Due with the exact same code that i am trying to run on the Teensy. When running on Teensy, the values shown in the serial monitor are very unreasonable, and are still showing if i disconnect the sensor, so the sensor is not running at all.

The I/O pins on the Teensy are 3.3V. Cables are about 0.2m long.

Anyone know what might be the problem?

(Patrick José Pereira) #2


What pins are you using for the I²C ? It appears that the Teensy 3.2 has 19,18,13 and 17,16,14 to use with I²C0. Did you check if you are using the correct ones ? Do you have successfully tested this board with any other I²C sensor ? Can you show how did you connected everything ?