嘿,对于我的项目,我想用C#控制LED可以帮助吗? [英] hey for my project i want to control LED using C# can any one help?

查看:66
本文介绍了嘿,对于我的项目,我想用C#控制LED可以帮助吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

细节:项目中提供的选项是节省电力的概念是,如果检测到人体存在于室内,灯将打开,如果没有人在场,则关掉灯。

in我的项目我想通过LED显示灯光,请帮忙吗?

Detail : option provided in project is to save electricity the concept is that lights will switch on if it detects human presence in the room and switch off the lights if there is no human presence.
in my project i want to show lights through LED , Please any help?

推荐答案

控制LED':未经审查的I / O端口 - 1 - 使用并行端口控制LED(发光二极管) [ ^ ]



是否有任何建议我应该用什么硬件来检测人体存在?



相机,或者更好的还是使用 PIR [ ^ ] - 防盗警报中使用的类型应该便宜但有效。
Controlling LED''s: I/O Ports Uncensored - 1 - Controlling LEDs (Light Emiting Diodes) with Parallel Port[^]

"any suggestion what hardware should i use for detection of human presence?"

Camera, or better still use a PIR[^] - the type used in burglar alarms should be cheap but effective.


我会使用微控制器,请参阅:使用带PIC单片机的PIR传感器模块进行运动检测报警 [ ^ ]。如果您选择带有 UART 的微控制器,那么您可以轻松地将其与 PC 连接。
I would use a microcontroller, see, for instance: "Motion detection alarm using a PIR sensor module with a PIC Microcontroller"[^]. If you choose a microcontroller with a UART then you may easily connect it with the PC.


这篇关于嘿,对于我的项目,我想用C#控制LED可以帮助吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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