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.

[参考译文] LPSTK-CC1352R:如何启用 GPIO 引脚以控制开启和关闭水泵时的继电器模块

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

https://e2e.ti.com/support/tools/code-composer-studio-group/ccs/f/code-composer-studio-forum/1352126/lpstk-cc1352r-how-to-enable-a-gpio-pin-that-controls-a-relay-module-in-switching-a-water-pump-on-and-off

器件型号:LPSTK-CC1352R
主题中讨论的其他器件:CC1352R

您好!

仍然是 SimpleLink 器件的新特性。 我有一份 CC1352R1 LaunchPad 和 CC1352R LaunchPad SensorTag、12V 单通道继电器模块 SPDT、 2V 5W 蠕动液体泵、 直流/直流12V 至3.3V 5V 5V 12V 电源模块多路输出电压转换。

连接的要点是:

电源供应电源模块->连接到泵的电源模块->微控制器将命令继电器模块打开或关闭泵(断开连接)。

我正在从事一个将映像刷写到从 Contiki-NG makefile 生成的 SensorTag 中的项目、因为我正在将 Contiki-NG 平台用于物联网智能水文系统的项目。 我需要有关如何设置 SensorTag 的任何 GPIO 引脚以使其打开或关闭继电器的指导、方法可能是按下 sensortag 的"LEFT"按钮、 (我项目的更进一步是从边界路由器接收命令、该命令将成为微控制器打开/关闭继电器模块的信号)、但就目前而言、我需要帮助设置 GPIO 引脚、可能是在 CCS 中。

谢谢。

Hannaah