1
完善资料让更多小伙伴认识你,还能领取20积分哦, 立即完善>
嗨,
我有X-NUCLEO-IKS01A1有4个MEM传感器,我看到这个板与arduino UNO兼容,我已经连接了与ST核板相同的板,但我找不到传感器给arduino UNO输出代码。我还将电路板连接到英特尔爱迪生,但我无法检测到传感器的地址。可以告诉我硬件的连接情况。 带有arduino UNO的X-NUCLEO-IKS01A1。我提供5V输入(Vin)并添加了上拉电阻。 感谢致敬, 拉迪卡 以上来自于谷歌翻译 以下为原文 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 |
|
相关推荐
6个回答
|
|
你好,
我建议从产品页面开始: http://www.st.com/en/ecosystems/x-nucleo-iks01a1.html 向下滚动到文档部分,您将看到一个 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:内容/翻译/ en.DM00134912.pdf 。它还包括一个原理图,显示所有传感器共享I2C总线。我建议也为所有单独的传感器下载数据表。每个传感器都有自己的地址,这些信息在数据表中提供。请注意,传感器需要的电压介于1,7 V(一个传感器1,9 V)和3,6 V之间,因此请确保您不要尝试用5 V电源供电。同时检查上拉电阻是否连接到3.3 V而不是5 V.否则可能会损坏芯片。 以上来自于谷歌翻译 以下为原文 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. |
|
|
|
还有一件事:传感器板上提供的Arduino Uno R3连接器是“标准化的”。如果您使用相同的电压电平(如我之前的评论中所述),电路板可以简单地连接到带有这些扩展连接器的任何微控制器电路板,并可以通过I2C总线使用。
以上来自于谷歌翻译 以下为原文 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. |
|
|
|
嗨大卫,
感谢您的回复,我已经将arduino uno board连接到了 X-NUCLEO-IKS01A1如图所示。我也连接了电路板 X-细胞核 - IKS01A1 对于Vin作为5V。我已经通过给SCL和SDA提供3.3V来增加上拉电阻。但是在arduino控制台中我无法看到任何输出。即使我也尝试过英特尔爱迪生,设备地址也没有检测到。我用来检查的代码是 https://github.com/ControlEverythingCommunity/LPS25HB/blob/master/Arduino/LPS25HB.ino https://github.com/ControlEverythingCommunity/HTS221/blob/master/Arduino/HTS221.ino 请你需要。我也不知道跳线设置。我不知道错误在哪里?!! 感谢致敬, 镭 dhika 以上来自于谷歌翻译 以下为原文 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?!! Thanks and Regards, Ra dhika |
|
|
|
你好,
如图所示,所有跳线应保持在原位。如果断开连接,则断开它们的电源。 请再次阅读上面的评论。 1)确保传感器的电源为1,9 - 3,6 V,而不是更多!否则他们可能会被损坏。 (你有万用表吗?) 2)传感器板上已有4k7上拉电阻! 3)您是否有任何仪器(逻辑分析仪等)来验证传感器是否在没有Arduino板的情况下工作? 以上来自于谷歌翻译 以下为原文 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? |
|
|
|
谢谢David ..对我帮助很大,但是来到压力传感器LPS25HB,这个传感器的引脚连接是不同的?因为如果我连接相同的连接作为温度传感器,我总是得到0 hpa作为输出...请帮帮我..
感谢致敬, 拉迪卡 以上来自于谷歌翻译 以下为原文 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 |
|
|
|
好的,让我们在链接的线程中继续讨论,以免复制它。
以上来自于谷歌翻译 以下为原文 OK, let's continue the discussion in the linked thread in order not to duplicate this. |
|
|
|
只有小组成员才能发言,加入小组>>
请教:在使用UDE STK时,单片机使用SPC560D30L1,在配置文件怎么设置或选择?里面只有SPC560D40的选项
2730 浏览 1 评论
3239 浏览 1 评论
请问是否有通过UART连接的两个微处理器之间实现双向值交换的方法?
1808 浏览 1 评论
3647 浏览 6 评论
6035 浏览 21 评论
1339浏览 4评论
198浏览 3评论
对H747I-DISCO写程序时将CN2的st-link复用为usart1,再次烧录时无法检测到stlink怎么解决?
350浏览 2评论
STM32G474RE芯片只是串口发个数据就发烫严重是怎么回事?
442浏览 2评论
STM32处理增量式编码器Z信号如何判断中断是正转的还是反向转的?
273浏览 2评论
小黑屋| 手机版| Archiver| 德赢Vwin官网 ( 湘ICP备2023018690号 )
GMT+8, 2024-12-23 07:56 , Processed in 1.305754 second(s), Total 87, Slave 72 queries .
Powered by 德赢Vwin官网 网
© 2015 bbs.elecfans.com
关注我们的微信
下载发烧友APP
德赢Vwin官网 观察
版权所有 © 湖南华秋数字科技有限公司
德赢Vwin官网 (电路图) 湘公网安备 43011202000918 号 电信与信息服务业务经营许可证:合字B2-20210191 工商网监 湘ICP备2023018690号