Hi, i have tried to get my mpu9150 working on udoo. So first of all i used the i2c scanner from arduino.cc to get the adress of the sensor but that seems to be impossible. It displays only: No i2c devices found. The mpu9150 is ok because the i2c scanner works on my Arduino Uno. Can anybody confirm that the i2c scanner is not working on Udoo? Do you have a solution? Kind regards
Which Pins are you trying to use? Have you changed their 'function' from the default behaviour (EG GPIO) to I2C?
I used SDA, SCL and SDA1, SCL1. Both did not work. How can I change the default behavior? I think this could be the solution for my Problem
To avoid confusion, which pin numbers are you trying? Pin function is somewhat abstracted from pin number.
I can't check atm (on phone) but if you've checked the pinouts and documentation then you just need to map the pin function. The getting started guide covers that fairly well, pages 31-36 iirc. Basically most Pins have upto 7 'modes' or functions, defaulting to GPIO. Jump on IRC if you get stuck, we're quite helpful and don't bite (much).
Hi! I am also having issues with UDOO quad with Arduino Due. I am trying to see either Si4703 or TEA5767 devices on the i2c bus using the i2c scanner, but I am getting only 'No I2C devices found'. I have put 4k7 pull up resistors. I am using pins 20 and 21(SDA1 and SCL1 on SAM3X8E mcu) which are on top of AREF pin in the Arduino shield. I looked into <arduino dir>/hardware/arduino/sam/libraries/Wire/Wire.cpp and the SCL and SDA pins seems that are configured: Code: PIO_Configure( g_APinDescription[PIN_WIRE_SDA].pPort, g_APinDescription[PIN_WIRE_SDA].ulPinType, g_APinDescription[PIN_WIRE_SDA].ulPin, g_APinDescription[PIN_WIRE_SDA].ulPinConfiguration); PIO_Configure( g_APinDescription[PIN_WIRE_SCL].pPort, g_APinDescription[PIN_WIRE_SCL].ulPinType, g_APinDescription[PIN_WIRE_SCL].ulPin, g_APinDescription[PIN_WIRE_SCL].ulPinConfiguration); and also saw that PIN_WIRE_SDA is 20 and PIN_WIRE_SCL is 21. I don't know where to find the g_APinDescription declaration to see what it is for I2C.
It`s been said on here and the due forum , some part of the wire library does not work / are missing . The i2c_scanner does not work , but most of the library does.
Hi, this issue has been solved in Arduino version v1.5.7. I have succesfully tested the i2cscanner sketch on pin 20,21 (SDA, SCL) by programming the Udoo from a windows machine using Arduino v1.5.7. regards Peter