gco*_*828 -1 wireless electronics
我正在尝试启动一个项目,最终会检测到地下室的水并向楼上的电脑发送无线信号并根据该信号发送电子邮件.我是C#程序员,因此发送电子邮件应该非常简单.还有大量的水传感器,我确信我可以打开并连接到另一个无线发送信号的设备.无线发送信号是我卡住的地方.我一直在谷歌搜索,但在这个问题上找不到什么.我知道有一些东西可以做到这一点,但我想学习一些新的东西,甚至可能是一种新的语言,如果无线工具需要编程.
任何人都有使用独立设备的经验,您可以编程发送信号或知道可以处理的信息是什么?
The answer could depend on the requirements.
As a generic answer. If you want an easy way, I would go for a Linux embedded board and attach usb wifi dongle (IEEE 802.11) that you can use socket programming (TCP/IP stack) which is easy although it is over killing the embedded board. If you want something cheaper and have time to work on development and learn microcontroller programming, I would go for Arduino (or any similar boards) and attach a wireless module. If the water sensor that you would use only output logic high and low, you can use GPIO嵌入式板的读取传感器输出.您可以通过Arduino以类似的方式读取传感器,将传感器输出连接到微控制器的引脚.如果你选择Arduino,你需要学习AVR编程,这与C非常相似.如果你选择嵌入式Linux板,你可以使用任何可以编程的编程语言.
| 归档时间: |
|
| 查看次数: |
2790 次 |
| 最近记录: |