This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

[参考译文] CCS/TM4C123GH6PM:有关 DTH11的帮助

Guru**** 2477885 points
Other Parts Discussed in Thread: TM4C123GH6PM

请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

https://e2e.ti.com/support/microcontrollers/arm-based-microcontrollers-group/arm-based-microcontrollers/f/arm-based-microcontrollers-forum/688765/ccs-tm4c123gh6pm-help-with-dth11

器件型号:TM4C123GH6PM

工具/软件:Code Composer Studio

您好!

我正在尝试使用 CCS 设置 TM4C123GH6PM LaunchPad 和 DHT11温度传感器之间的连接。 我从电路板发送开始信号、但在接收阶段遇到困难、因为我总是返回 一个高电平脉冲、当它应该是80us 低电平脉冲、然后是80us 高电平脉冲。 我的代码基于传感器制造商提供的库: https://github.com/adafruit/DHT-sensor-library。 下面包含了有关不断变化的脉冲的信息。 请提供帮助并感谢您抽出宝贵的时间!e2e.ti.com/.../AM2302.pdf

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。
    您好!
    看起来是单线总线通信。 您是否配置 GPIO 引脚以进行通信? 发送开始位后、您是否将 GPIO 重新配置为输入模式。 总线上是否有1k 的拉电阻器?