Skip to main content
Visitor II
June 22, 2017
Solved

Hi, I have bought X-NUCLEO-IKS01A1 having 4 sensors,I have see that X-NUCLEO-IKS01A1 is arduino uno compatible,How to interface that board with arduino UNO , I have tried the interfacing same like ST nucleio board but couldn't find the address detect

  • June 22, 2017
  • 2 replies
  • 1599 views
Posted on June 22, 2017 at 18:21

Hi,

I have X-NUCLEO-IKS01A1 having 4 MEM sensors ,I have seen that this board is compatible with arduino UNO,I have connected the board same as like the ST nucleio board,but I couldn't find the sensors giving output with arduino UNO code . I have also connected the board with Intel edison,but I couldn't detect the addresses of the sensors.Can you please let me know the hardware connection of 

X-NUCLEO-IKS01A1 with arduino UNO .I'm providing 5V as input (Vin) and added pullup resisters too.

Thanks and Regards,

Radhika

    This topic has been closed for replies.
    Best answer by
    Posted on June 22, 2017 at 18:36

    Hello,

    I suggest starting on a product page: 

    http://www.st.com/en/ecosystems/x-nucleo-iks01a1.html

     

    Scroll down to the documents section and you will see a

    http://www.st.com/content/ccc/resource/technical/document/user_manual/59/c5/45/7f/22/3d/4e/76/DM00134912.pdf/files/DM00134912.pdf/jcr:content/translations/en.DM00134912.pdf

     . It also includes a schematics revealing that all sensors are sharing an I2C bus. I would recommend downloading datasheets for all the separate sensors as well. Each sensor has it's own address and this information is provided in the datasheets.

    Please note that the sensors expect power supply between 1,7 V (one sensor 1,9 V) and 3,6 V so make sure you don't try to power them with 5 V. Also check that the pull up resistors are connected to 3,3 V and not 5 V. Otherwise you can damage the chips.

    2 replies

    Answer
    June 22, 2017
    Posted on June 22, 2017 at 18:36

    Hello,

    I suggest starting on a product page: 

    http://www.st.com/en/ecosystems/x-nucleo-iks01a1.html

     

    Scroll down to the documents section and you will see a

    http://www.st.com/content/ccc/resource/technical/document/user_manual/59/c5/45/7f/22/3d/4e/76/DM00134912.pdf/files/DM00134912.pdf/jcr:content/translations/en.DM00134912.pdf

     . It also includes a schematics revealing that all sensors are sharing an I2C bus. I would recommend downloading datasheets for all the separate sensors as well. Each sensor has it's own address and this information is provided in the datasheets.

    Please note that the sensors expect power supply between 1,7 V (one sensor 1,9 V) and 3,6 V so make sure you don't try to power them with 5 V. Also check that the pull up resistors are connected to 3,3 V and not 5 V. Otherwise you can damage the chips.

    June 22, 2017
    Posted on June 22, 2017 at 18:43

    One more thing: the Arduino Uno R3 connector provided on the sensor board is 'standardized'. If you use the same voltage levels (as mentioned in my previous comment), the board can simply be connected to any microcontroller board with these expansion connectors and is ready to be used over an I2C bus.

    Visitor II
    June 23, 2017
    Posted on June 23, 2017 at 15:32

    Hi David,

    Thanks for the reply,I have connected the arduino uno board with 

    X-NUCLEO-IKS01A1 as shown in the image.I have also connected the board 

    X-NUCLEO-IKS01A1 

    for Vin as 5V.I have added pull up resisters too by giving 3.3V to SCL and SDA.But in arduino console I'm unable to see any output. Even I have tried in Intel edison too,the device address is not detecting.The codes I'm using to check is

    https://github.com/ControlEverythingCommunity/LPS25HB/blob/master/Arduino/LPS25HB.ino

     

    https://github.com/ControlEverythingCommunity/HTS221/blob/master/Arduino/HTS221.ino

     

    Please do needful.I'm not knowing the jumper settings too.I'm not knowing where the mistake is?!!

    0690X00000603twQAA.jpgThanks and Regards,

    Ra

    dhika
    June 23, 2017
    Posted on June 23, 2017 at 16:34

    Hello,

    all the jumpers should remain in position, as the schematics suggests. If you disconnect them, it disconnects power from them.

    Please, read my comments above, one more time.

    1) Make sure the sensors are powered with 1,9 - 3,6 V, not more! Otherwise they can be damaged. (Do you have a multimeter?)

    2) There are already 4k7 pull-up resistors on the sensor board!

    3) Do you have any instrument (logic analyzer etc.) to verify the sensors are working without the Arduino board?