Active TopicsActive Topics  Display List of Forum MembersMemberlist  Search The ForumSearch  HelpHelp
  RegisterRegister  LoginLogin
PowerHome General
 PowerHome Messageboard : PowerHome General
Subject Topic: IR signals out via a COM port ???? Post ReplyPost New Topic
Author
Message << Prev Topic | Next Topic >>
smarty
Super User
Super User
Avatar

Joined: May 21 2006
Location: United States
Online Status: Offline
Posts: 728
Posted: October 03 2009 at 15:45 | IP Logged Quote smarty

I am wondering if it is possible to send an IR signal out via a COM port.

My cable box (which accepts an 1/8" IR input jack) is located near my Quatech Serial device. The Quatech controls the TV and the A/V reciever, but not my cable box (at least not yet).

Since serial communication is just Rx/Tx/Grnd, I would think that sending IR signals (just signal & ground) should be possible. When combined with the Quatech device, my IR signals would go over my IP network, and then be fed straight into my cable box via a DB9 to 1/8" mono mini cable.

It shoulds good, but is it possible, and where can I find the right parts....

Ideas????   

__________________
Elk - Insteon - BlueIris - DMC1 - PowerHome - XLobby - HA_Bridge w/Dots - Brultech
Back to Top View smarty's Profile Search for other posts by smarty
 
BeachBum
Super User
Super User
Avatar

Joined: April 11 2007
Location: United States
Online Status: Offline
Posts: 1880
Posted: October 03 2009 at 17:31 | IP Logged Quote BeachBum

I don’t know if this is the direction you are heading or not. But it might get you started.

__________________
Pete - X10 Oldie
Back to Top View BeachBum's Profile Search for other posts by BeachBum
 
smarty
Super User
Super User
Avatar

Joined: May 21 2006
Location: United States
Online Status: Offline
Posts: 728
Posted: October 03 2009 at 19:56 | IP Logged Quote smarty

Something like this software link, with this hardware link2 but I still need to figure out how to get PH to speak with it.

Edited by smarty - October 03 2009 at 20:00


__________________
Elk - Insteon - BlueIris - DMC1 - PowerHome - XLobby - HA_Bridge w/Dots - Brultech
Back to Top View smarty's Profile Search for other posts by smarty
 
BeachBum
Super User
Super User
Avatar

Joined: April 11 2007
Location: United States
Online Status: Offline
Posts: 1880
Posted: October 03 2009 at 23:39 | IP Logged Quote BeachBum

So if you knew what data to send then you could use ph_comsendchar to get it out. Otherwise I would think Dave would have to include some kind of support for the device.

__________________
Pete - X10 Oldie
Back to Top View BeachBum's Profile Search for other posts by BeachBum
 
smarty
Super User
Super User
Avatar

Joined: May 21 2006
Location: United States
Online Status: Offline
Posts: 728
Posted: October 04 2009 at 11:17 | IP Logged Quote smarty

To answer Pete's question...

I know what IR codes I would like to have "come out" the other end of the Quatech serial port device....

....but I am pretty sure the IR pronto codes couldn't be sent as a ph_comsendstring() type command (or could they???)

If they could, that would be all I am looking for. I would connect the proper port of the quatech to the cable box with a cables that had a DB9 plug on one end and a 1/8" mono plug on the other (I would need to get the Tx or RX to ground part right).



__________________
Elk - Insteon - BlueIris - DMC1 - PowerHome - XLobby - HA_Bridge w/Dots - Brultech
Back to Top View smarty's Profile Search for other posts by smarty
 
BeachBum
Super User
Super User
Avatar

Joined: April 11 2007
Location: United States
Online Status: Offline
Posts: 1880
Posted: October 04 2009 at 12:12 | IP Logged Quote BeachBum

I don’t know as I have run out of runway on this one. Maybe Tony has some thoughts as he has played with Pronto if I remember correct.

__________________
Pete - X10 Oldie
Back to Top View BeachBum's Profile Search for other posts by BeachBum
 
dhoward
Admin Group
Admin Group
Avatar

Joined: June 29 2001
Location: United States
Online Status: Offline
Posts: 4447
Posted: October 06 2009 at 14:41 | IP Logged Quote dhoward

Smarty,

I took the time to look through the links and info on the LIRC pages. Unfortunately, PowerHome will not be able to directly communicate with any LIRC compatible hardware.

LIRC hardware is very simple and mainly consists of just an IR transmitter and relies upon the PC to do ALL the work to create an IR signal. It does this by very quickly toggling the DTR lines of a serial port (effectively switching 5 volts on and off) to mimic the actual pattern of an IR code. PowerHome has no support for this level of control of a serial port.

However, all is not lost. I reviewed the pages on the WinLIRC app that you linked to and you should be able to achieve simple IR control via PowerHome by using the ph_run command with the transmit.exe command line interface with WinLIRC. Basically you would need a LIRC compatible IR hardware transmitter and the WinLIRC software. The WinLIRC software runs in the system tray. You would do all IR code and configuration learning using the WinLIRC application. Transmit.exe (included with WinLIRC) is a command line interface that allows you to control WinLIRC via an executable followed by commandline parameters. You should then be able to use the ph_run function in PowerHome to call transmit.exe to communicate with WinLIRC to send IR commands.

I didnt get a chance to look at the actual sourcecode for transmit.exe but from what I read, it should be possible in the future to bypass transmit.exe and create an IR compatible controller that would communicate directly with the WinLIRC application (you would always need WinLIRC for the low level serial control).

HTH,

Dave.
Back to Top View dhoward's Profile Search for other posts by dhoward Visit dhoward's Homepage
 
smarty
Super User
Super User
Avatar

Joined: May 21 2006
Location: United States
Online Status: Offline
Posts: 728
Posted: October 06 2009 at 17:13 | IP Logged Quote smarty

Dang it... I did not see the "transmit.exe" control functionality of WinLinc. That was what I was looking for!

THANKS



__________________
Elk - Insteon - BlueIris - DMC1 - PowerHome - XLobby - HA_Bridge w/Dots - Brultech
Back to Top View smarty's Profile Search for other posts by smarty
 

If you wish to post a reply to this topic you must first login
If you are not already registered you must first register

  Post ReplyPost New Topic
Printable version Printable version

Forum Jump
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot delete your posts in this forum
You cannot edit your posts in this forum
You cannot create polls in this forum
You cannot vote in polls in this forum