我应该学习哪些技术才能以编程方式控制设备?

发布于 2024-08-21 04:14:51 字数 47 浏览 1 评论 0原文

我希望能够控制家用电器。

我不知道从哪里开始,有人有任何建议吗?

I'd like to be able to control household appliances.

I don't know where to get started, does anyone have any tips?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(4

も星光 2024-08-28 04:14:51

如果您指的是家用电器,则需要从 KNX 开始。 API 令人震惊地令人沮丧,既不好也不有趣;或者至少是我们几年前做某项工作的时候。

If by any chance you mean household appliances, youll need to start with KNX And, word to the wise, their API is shockingly frustratingly not nice nor fun; or at least it was when we did a job a few years back.

君勿笑 2024-08-28 04:14:51

1) 了解如何为您想要控制的设备构建电子电路。

2) 寻找能够满足您要求的微控制器。

3) 从制造商网站下载微控制器 SDK

4)学习如何编程

5) 完成后进行测试和部署。

当我们试图控制家里的用电时,我们就是用 PIC18F4520 微控制器所做的。

或者,6)购买已经完成的产品。 (也许是微软!)

1) Learn how to build an electronic circuit for the devices you want to control.

2) Find a microcontroller that can be able to fit your requirements.

3) Download the Microcontroller SDK from the manufacturer site

4) Learn how to program it

5) Test and deploy when done.

That's what we did with PIC18F4520 microcontrollers when we tried to control power usage from our homes.

Or, 6) Buy a product already done. (Microsoft perhaps!)

情深缘浅 2024-08-28 04:14:51

正如 Jammin 所建议的,可以使用 KNX。
KNX 是一种通常用于家庭/楼宇自动化的通信协议。有数百种 KNX 设备能够控制电气设备,但仅控制少数家用电器的成本就太高了。

我同意你应该学习如何使用微控制器,一个很好的起点是使用 Arduino 板。它们价格便宜,非常易于使用,并且有丰富的源代码和内容。可用教程。

尝试一个入门项目,例如让 arduino 打开灯。
尝试本教程

As Jammin suggests there is the possibility to use KNX.
KNX is a communication protocol typically used for home/building automation. There are hundreds of KNX devices capable of controlling electrical equipment but the cost would be overkill just for controlling a few home appliances.

I agree that you should learn how to use a microcontroller, a great starting point would be using an Arduino board. They are cheap, very easy to use with a wealth of source code & tutorials available.

try a starter project such as getting the arduino to turn on a lamp.
Try this tutorial

空城旧梦 2024-08-28 04:14:51

阅读“电子艺术”的第一章,了解功率晶体管的背景知识。然后学习微控制器。我推荐 AVR 和 avrisp mkII 编程器。它适用于 windows/linux/mac 和 gcc。 AVR 可以通过 USB、串行、SPI 以及额外的硬件、无线电进行通信。

Read the first capters of "The art of electronics" for a background on power transistors. Then learn about microcontrollers. I recommend AVRs, with the avrisp mkII programmer. It works with windows/linux/mac and gcc. AVRs can communicate over usb,serial,spi and given extra hardware, radio.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文