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

USB interface
Goto page 1, 2  Next
 
Post new topic   Reply to topic    JP1 Remotes Forum Index -> JP1 - Hardware
View previous topic :: View next topic  
Author Message
Phriendly



Joined: 15 Sep 2003
Posts: 47

                    
PostPosted: Wed Sep 17, 2003 6:01 pm    Post subject: USB interface Reply with quote

I've got the USB interface working. The simple test software is working. I'm now working on the user interface for loading information into the remote.

Joe.
Back to top
View user's profile Send private message
The Robman
Site Owner


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

                    
PostPosted: Wed Sep 17, 2003 10:07 pm    Post subject: Reply with quote

Way to go Joe.
Back to top
View user's profile Send private message Visit poster's website
timdoyen



Joined: 19 Sep 2003
Posts: 2

                    
PostPosted: Fri Sep 19, 2003 4:02 pm    Post subject: Reply with quote

Joe,

What did you use to interface with USB? A microcontroller? A dedicated USB chip? What do the parts cost?

Very interesting,
Tim
Back to top
View user's profile Send private message
Phriendly



Joined: 15 Sep 2003
Posts: 47

                    
PostPosted: Sat Sep 20, 2003 1:53 am    Post subject: Reply with quote

timdoyen wrote:
Joe,

What did you use to interface with USB? A microcontroller? A dedicated USB chip? What do the parts cost?

Very interesting,
Tim

I used a dedicated USB chip. The cost is as follows:

Item1: $8.00 Qty 1 802300 USB 12 IO Chip DIP
Item2: $6.50 Qty 1 803504 USB CABLE PLUGA/BareEnd
Item3: $3.60 Qty 1 803507 USB Minimum Parts kit
SubTotal: $18.10
SalesTax: $0.00
ShipCost: $5.92
Total: $24.02

http://www.delcom-eng.com/products_USBIO.asp#DemoBrd

I built it on my own prototyping board so there was no extra cost there.

I have put together a information PDF file. But I don't know where to download it to. There is no file section here, and Rob is trying to get off Yahoo. So I guess I'll ask where to put it.

Joe.
Back to top
View user's profile Send private message
Mark Pierson
Expert


Joined: 03 Aug 2003
Posts: 3017
Location: Connecticut, USA

                    
PostPosted: Sat Sep 20, 2003 6:45 am    Post subject: Reply with quote

Phriendly wrote:
I have put together a information PDF file. But I don't know where to download it to.
Upload it to the Interface Designs folder over in the JP1 group Files section.
_________________
Mark
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: 21211
Location: Chicago, IL

                    
PostPosted: Sat Sep 20, 2003 3:51 pm    Post subject: Reply with quote

We're still keeping Yahoo around as a file section, until the software is ready to store files here.

Rob
Back to top
View user's profile Send private message Visit poster's website
Phriendly



Joined: 15 Sep 2003
Posts: 47

                    
PostPosted: Sat Sep 20, 2003 4:57 pm    Post subject: Reply with quote

Rob,
Thanks, Jim let me know that also. I uploaded a zip file (JP1-USB-0.01.ZIP) to JP1>Files>interfaces. This file has all the information needed to build a USB interface. Schematic, files, parts list.

Enjoy.
Joe
Back to top
View user's profile Send private message
Mark Pierson
Expert


Joined: 03 Aug 2003
Posts: 3017
Location: Connecticut, USA

                    
PostPosted: Sat Sep 20, 2003 5:03 pm    Post subject: Reply with quote

It looks pretty impressive... nice job!

Now all you need to do is work with Mark Pauker to put the communications routine into IR! Any chance you can create it as a DLL that IR can call?
_________________
Mark
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Phriendly



Joined: 15 Sep 2003
Posts: 47

                    
PostPosted: Sat Sep 20, 2003 5:24 pm    Post subject: Reply with quote

Thanks.

>>Any chance you can create it as a DLL that IR can call?<<
Possibly. The current version calls a DLL. I've not looking into calling a DLL within a DLL. But I'm enjoying looking into new things.

Another version of Delcom's support software doesn't require a DLL, but I'm still not able to get that compiled w/ my Borland C++ builder 3.0. Most of the software from Delcom is written for Visual C, but I use what I have. I've talked w/ tech support @ Delcom re: it. But I kept working on the runtime linked DLL version till I got something that worked.

Joe.
Back to top
View user's profile Send private message
Mark Pierson
Expert


Joined: 03 Aug 2003
Posts: 3017
Location: Connecticut, USA

                    
PostPosted: Sat Sep 20, 2003 5:34 pm    Post subject: Reply with quote

Phriendly wrote:
The current version calls a DLL. I've not looking into calling a DLL within a DLL

So the current DLL is doing all the communications work? If that's the case, then IR should be able to make the same calls itself.

I know Dan Arnold made the modifications to allow IR to call John Fine's decoder DLL, so either he or Mark Pauker ought to be able to make the necessary calls to this USB DLL.
_________________
Mark
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Phriendly



Joined: 15 Sep 2003
Posts: 47

                    
PostPosted: Sat Sep 20, 2003 6:28 pm    Post subject: Reply with quote

Oh Yeah. I thought of that sometime during this project, just forgot it<G>. My code is written in C++ and I can send it to whoever is going to integrate into IR. Of course I can answer any questions re: what I had to do to get it working.

Joe.
Back to top
View user's profile Send private message
Dabbith



Joined: 04 Aug 2003
Posts: 55
Location: Anonia, CT

                    
PostPosted: Tue Sep 23, 2003 3:39 pm    Post subject: Reply with quote

Joe,
Would you be willing to post or send me the source for the sample program? If it's simple enough, I'll see if I can add it to IR, if it's more complex, creating a dll may be the way to go. There aren't any problems with calling a DLL from a DLL, it behaves just like calling a DLL from a normal program.

This should be nice as it would eliminate all of the voltage incompatibilities we run into so often here.

Also, how long did it take you to get your parts from Delcom?

Thanks,

Dan Arnold
Back to top
View user's profile Send private message
Mark Pierson
Expert


Joined: 03 Aug 2003
Posts: 3017
Location: Connecticut, USA

                    
PostPosted: Tue Sep 23, 2003 5:49 pm    Post subject: Reply with quote

Dabbith wrote:
Also, how long did it take you to get your parts from Delcom?

I ordered a set of components Sunday. They were shipped yesterday and I received them today (Delcom is in New York and I'm in Connecticut). Can't do much better than that! Very Happy
_________________
Mark
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Mark Pierson
Expert


Joined: 03 Aug 2003
Posts: 3017
Location: Connecticut, USA

                    
PostPosted: Tue Sep 23, 2003 7:09 pm    Post subject: Reply with quote

All the documentation for the Delcom USB chip is available online at:
http://www.delcom-eng.com/products_USBIO.asp#DemoBrd

It seems to me like it could be incorporated directly in IR or as an external DLL.
_________________
Mark
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Phriendly



Joined: 15 Sep 2003
Posts: 47

                    
PostPosted: Tue Sep 23, 2003 7:18 pm    Post subject: Reply with quote

Mark,
I'm needing to update the test software to check for an eeprom > 2k. Does the remote you use have an eeprom > 2k?.

I don't see a problem w/ the USB handling a bigger eeprom. I just need to check my comcept of how to detect the different eeproms so the software can then change how it access the I2C eeprom differences.

If your remote uses the >2k eeprom then the test program won't work w/ it. I can modidy the test program, hmmmmmm. I think I'll modify the test program so the user can select wether the eeprom is > 2k or <2k. That way I can still be working on the autodetect eeprom and those who are building the hardware will have something to use.

Joe.
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 - Hardware All times are GMT - 5 Hours
Goto page 1, 2  Next
Page 1 of 2

 
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