cancel
Showing results for 
Search instead for 
Did you mean: 

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 detecting,P

nagaradhika93
Associate II
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

1 ACCEPTED SOLUTION

Accepted Solutions
Legacy member
Not applicable
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.

View solution in original post

6 REPLIES 6
Legacy member
Not applicable
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.

Legacy member
Not applicable
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.

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
Legacy member
Not applicable
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?

Posted on June 30, 2017 at 03:53

Thanks David ..it helped me a lot,but coming to pressure sensor LPS25HB, are the pin connections are different for this sensor in this board?? Because if I'm connecting the same Connections as temperature sensor,I'm getting 0 hpa as output always ...please help me..

Thanks and Regards,

Radhika

Legacy member
Not applicable
Posted on June 30, 2017 at 08:53

OK, let's continue the discussion in the linked thread in order not to duplicate this.