2017-06-22 09:21 AM
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
Solved! Go to Solution.
2017-06-22 09:36 AM
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
. 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.
2017-06-22 09:36 AM
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
. 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.
2017-06-22 09:43 AM
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.
2017-06-23 08:32 AM
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 ishttps://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?!!
Thanks and Regards,
Ra
dhika2017-06-23 09:34 AM
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?
2017-06-29 08:53 PM
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
2017-06-30 01:53 AM
OK, let's continue the discussion in the linked thread in order not to duplicate this.