Go Down

Topic: Arduino Primo I2C problem (Read 110 times) previous topic - next topic

gcriscuolo

Hi, I try to mount some I2C devices at Arduino Primo but I can not get any results. I tried an I2C LCD that did not return any error but did not display any text. When I scan I2C devices I always return the same list, even if no external device is connected. Do you know if there is any configuration to run to use the bus? Thank you.

I2C scanner. Scanning ...
Found address: 9 (0x9)
Found address: 11 (0xB)
Found address: 13 (0xD)
Found address: 15 (0xF)
Found address: 17 (0x11)
Found address: 19 (0x13)
Found address: 21 (0x15)
Found address: 23 (0x17)
Found address: 25 (0x19)
Found address: 27 (0x1B)
Found address: 29 (0x1D)
Found address: 31 (0x1F)
Found address: 33 (0x21)
Found address: 35 (0x23)
Found address: 37 (0x25)
Found address: 39 (0x27)
Found address: 41 (0x29)
Found address: 43 (0x2B)
Found address: 45 (0x2D)
Found address: 47 (0x2F)
Found address: 49 (0x31)
Found address: 51 (0x33)
Found address: 53 (0x35)
Found address: 55 (0x37)
Found address: 57 (0x39)
Found address: 59 (0x3B)
Found address: 61 (0x3D)
Found address: 63 (0x3F)
Found address: 65 (0x41)
Found address: 67 (0x43)
Found address: 69 (0x45)
Found address: 71 (0x47)
Skip address: 72 (0x48)
Found address: 74 (0x4A)
Found address: 76 (0x4C)
Found address: 78 (0x4E)
Found address: 80 (0x50)
Found address: 82 (0x52)
Found address: 84 (0x54)
Found address: 86 (0x56)
Found address: 88 (0x58)
Found address: 90 (0x5A)
Found address: 92 (0x5C)
Found address: 94 (0x5E)
Found address: 96 (0x60)
Found address: 98 (0x62)
Found address: 100 (0x64)
Found address: 102 (0x66)
Found address: 104 (0x68)
Found address: 106 (0x6A)
Found address: 108 (0x6C)
Found address: 110 (0x6E)
Found address: 112 (0x70)
Found address: 114 (0x72)
Found address: 116 (0x74)
Found address: 118 (0x76)
Done.
Found 55 device(s).

pylon

Where did you connect the devices? The Primo has the I2C signals only on the special called SDA/SCL. Remember not connect a breakout board that has pull-ups on-board as the Primo already has pull-ups.

Post a wiring diagram or sharp photos of your setup.

Batman_429

I have seen this issue when the i2c lines are not properly connected or connected to vcc or gnd permanently. you will need to check you connections.
are you using any external pull ups, if yes whats the value?
this max IO voltage for this board is 3.3V make sure you are not exceeding that as well.

Thanks

Go Up