I have a monitor which can be used also as television (it has a DVI-D connector AND a cable connector.) And for a while I have an infrared device on my computer which I use to synchronize my PDA and mobile phone.
I want the infrared/irDA device of my PC to send a signal to my monitor to switch between TV and PC mode. (Or to control the monitor in some other way, like turning it on and off during logon/logoff.) To do this I need to:
With nearly 30 years of programming experience, the code is no problem. But since my only knowledge of infrared devices is extremely limited, I need some useful hints and tips about this.
A Google search will provide plenty of links that are useful. But I could use help to find the most useful ones.
The Infrared Receiver is used to receive infrared signals and also used for remote control detection. There is an IR detector on the Infrared Receiver which is used to get the infrared light emitted by the Infrared Emitter. The IR detector have a demodulator inside that looks for modulated IR at 38 KHz.
You may be able to make a hollow cylinder of paper/cardboard and use it to limit off-axis Infrared signals from your remotes. Affix the cylinder to the IR sensor on your strip lights. Point the open end of the cylinder to the spot in the room where you use the strip-light remote the most.
In short IrDA is not the same as 'Consumer IR' see e.g. http://www.alanjmcf.me.uk/comms/infrared/IrDA%20faq.html#_Toc128227634 "Consumer-IR versus IrDA" and http://www.alanjmcf.me.uk/comms/infrared/IrDA%20uses%20%28brief%29.html#_Toc71546556 "Non-IrDA infrared"
That's the negative, for some more positive info see for instance How to programmatically use the mobile phone's IrDA to remote control a media player?
This looks like the most promising link:
http://msdn.microsoft.com/en-us/library/system.net.sockets.irdaclient.aspx
I think the IrDAClient class can do everything you need to do.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With