JP1 Remotes Forum Index JP1 Remotes


FAQFAQ SearchSearch 7 days of topics7 Days MemberlistMemberlist UsergroupsUsergroups RegisterRegister
ProfileProfile Log in to check your private messagesLog in to check your private messages Log inLog in

source code for ir.exe

 
Post new topic   Reply to topic    JP1 Remotes Forum Index -> JP1 - Software
View previous topic :: View next topic  
Author Message
CollieJim



Joined: 02 Jan 2007
Posts: 26
Location: Western Australia

                    
PostPosted: Wed Jun 06, 2007 4:50 am    Post subject: source code for ir.exe Reply with quote

Is it possible to get the source code for IR.EXE? If so, where is it?

The parallel port on my ancient laptop failed, so I got a USB to Parallel Converter. Only to find it does not work.. I'm not sure why. The printer works with it. The cable I'm using is Tommy Tyler's "micro perf" circuit, which is powered by the remote.

Anyway, I have a USB Experimenters kit that I should be able to use if I can get IR's source code.

TIA
Jim
Back to top
View user's profile Send private message
The Robman
Site Owner


Joined: 01 Aug 2003
Posts: 21234
Location: Chicago, IL

                    
PostPosted: Wed Jun 06, 2007 7:44 am    Post subject: Reply with quote

IR.exe doesn't work with USB-to-Parallel converters because it uses "bit banging" to transmit the data, so the source code won't help.
_________________
Rob
www.hifi-remote.com
Please don't PM me with remote questions, post them in the forums so all the experts can help!
Back to top
View user's profile Send private message Visit poster's website
vickyg2003
Site Admin


Joined: 20 Mar 2004
Posts: 7073
Location: Florida

                    
PostPosted: Wed Jun 06, 2007 8:54 am    Post subject: Reply with quote

What you need is a USB-JP1 cable. I purchased one of these, and I must say its much more reliable than my Parallel-JP1 cable. I fiddle with the batteries on each and every JP1 remote that I have, to get them to work with the Parallel-JP1 cable, but the USB cable works all the time.
Back to top
View user's profile Send private message Visit poster's website
CollieJim



Joined: 02 Jan 2007
Posts: 26
Location: Western Australia

                    
PostPosted: Wed Jun 06, 2007 9:03 am    Post subject: Reply with quote

Thanks. I live in Australia and am in the process of verifying postage for a USB-JP1 cable from DIY-Gadget.

Without knowing the details of the protocol used to communicate with the interface (are they available?), giving 'bit banging' as a reason does not really tell me much.

With respect to my experimenter's board, I'm not thinking in terms of USB to Parallel. The board has 2 input lines and allows explicit independent control of 8 lines out.
Back to top
View user's profile Send private message
johnsfine
Site Admin


Joined: 10 Aug 2003
Posts: 4766
Location: Bedford, MA

                    
PostPosted: Wed Jun 06, 2007 9:28 am    Post subject: Reply with quote

If you could understand the IR.exe source code and you could recompile after minor changes, it sounds like your USB experimenter's board would give you plenty of control to make a new kind of JP1 interface.

IIRC the development system used to compile IR.exe is "Delphi". The language is Pascal (with certain Delphi specific extras).

I expect that would be harder and take longer than getting a JP1 USB cable.
Back to top
View user's profile Send private message Send e-mail Visit poster's website
The Robman
Site Owner


Joined: 01 Aug 2003
Posts: 21234
Location: Chicago, IL

                    
PostPosted: Wed Jun 06, 2007 10:30 am    Post subject: Reply with quote

I can send you a USB cable if you like. If I send it using Priority Mail International, the postage would be $11. It would cost less to send it via First Class Mail but I would need to weigh the envelope to get the exact rate, but it should be about $5 or $6.

Here's some more info on "bit banging":
http://en.wikipedia.org/wiki/Bit-banging
http://www.ganssle.com/articles/auart.htm
http://www.dwhoffman.com/bit_banging/bbi2c_preview.pdf
_________________
Rob
www.hifi-remote.com
Please don't PM me with remote questions, post them in the forums so all the experts can help!
Back to top
View user's profile Send private message Visit poster's website
CollieJim



Joined: 02 Jan 2007
Posts: 26
Location: Western Australia

                    
PostPosted: Wed Jun 06, 2007 1:04 pm    Post subject: Reply with quote

Pascal would not be much of a problem (I've been banging my head against the Silicon Wall for the past 30 years), but I don't have Delphi.

Rob, sounds good. How much is the USB cable, and how do I arrange payment?
Back to top
View user's profile Send private message
The Robman
Site Owner


Joined: 01 Aug 2003
Posts: 21234
Location: Chicago, IL

                    
PostPosted: Wed Jun 06, 2007 3:56 pm    Post subject: Reply with quote

CollieJim wrote:
Rob, sounds good. How much is the USB cable, and how do I arrange payment?

Click on the "Rob's Remotes For Sale" link in my sig for more info.
_________________
Rob
www.hifi-remote.com
Please don't PM me with remote questions, post them in the forums so all the experts can help!
Back to top
View user's profile Send private message Visit poster's website
The Robman
Site Owner


Joined: 01 Aug 2003
Posts: 21234
Location: Chicago, IL

                    
PostPosted: Wed Jun 06, 2007 11:41 pm    Post subject: Reply with quote

Hey Jim,
Postage will be just $3 US.
_________________
Rob
www.hifi-remote.com
Please don't PM me with remote questions, post them in the forums so all the experts can help!
Back to top
View user's profile Send private message Visit poster's website
e34m5



Joined: 14 Oct 2003
Posts: 675
Location: Atlanta

                    
PostPosted: Thu Jun 07, 2007 10:09 am    Post subject: Reply with quote

You would need Delphi to work on the IR code. I did some work on it a couple of years ago.

IIRC there weren't any special third party components used in IR.exe. It was all standard Delphi.
_________________
Paul
Back to top
View user's profile Send private message
CollieJim



Joined: 02 Jan 2007
Posts: 26
Location: Western Australia

                    
PostPosted: Thu Jun 07, 2007 11:21 am    Post subject: Reply with quote

Thanks. For a once-off project it appears a bit cheaper to get the USB cable...
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic       JP1 Remotes Forum Index -> JP1 - Software All times are GMT - 5 Hours
Page 1 of 1

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


 

Powered by phpBB © 2001, 2005 phpBB Group
Top 7 Advantages of Playing Online Slots The Evolution of Remote Control