我如何创建一种系统来控制使用C#语言的外部设备 [英] How do I create a system to control external devices in a language C #

查看:70
本文介绍了我如何创建一种系统来控制使用C#语言的外部设备的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我如何创建一种系统来控制使用C语言的外部设备.
例如灯具,小型汽车和LED的

How do I create a system to control external devices in a language C #
like lamps and small cars and LED`s

推荐答案

首先,您需要确定希望这些设备与硬件进行通信的方式.有很多选项:蓝牙,USB,以太网,并行端口,串行端口,GSM,Zigbee,WiFi,GPIO等.

然后,您将需要一个接口板,该接口板的一端仅具有上述接口之一,而另一端则具有晶体管(SCR,TRIAC,MOSFET等)或继电器触点,具体取决于接口的类型和尺寸.电气负载.

一旦做出决定,很可能其他人(可能在CodeProject上)已经为您完成了繁琐的工作,因此请在此处搜索可用的组件.
First you need to decide how you would like those devices to communicate with your hardware. There are many options: BlueTooth, USB, Ethernet, parallel port, serial port, GSM, Zigbee, WiFi, GPIO, etc.

Then you''ll need an interface board, which put simply has one of the above interfaces at one end and transistor (SCR, TRIAC, MOSFET, etc.) or relay contacts at the other end, depending on the type and size of the electrical load.

Once you have made that decision, chances are that someone else (probably here at CodeProject) has already done the messy work for you, so search here for available components.


这篇关于我如何创建一种系统来控制使用C#语言的外部设备的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆