Results 1 to 5 of 5
Thread: Test USB Expansion Card
-
02-27-2011, 02:41 AM #1
- Join Date
- Dec 2008
- Location
- California
- Posts
- 18
Test USB Expansion Card
Hello,
Let me give a quick background of where I am at...
I purchased components from Digikey.com to build 1 USB expansion, 4 Mastercards and 4 display cards, and the Boards I ordered from the Open Cockpits site...
I have so far assembled the USB card, and I am not sure if I programmed the Pic Controller (16C745)... anyone assembled a USB Expansion card with advice on how to program the pic?
Assuming I have programed the pic correctly, how would I go about testing the card? I had a hard time finding the actual SIOC software GUI that the tutorials talk about... honestly OC is very poorly organized ... (maybe to keep people from making their own cards?) ummm...
so in summery:
how do you program the 16C745 Pic for the USB Expansion card (what Clock, WDT,PWRT setting as well)
How do you test the USB Expansion card to see if it works without buying/assembling the other cards? (what software, what steps)
Any help would be great ...
P.S.
When all this is said and done, I think I'm gona write a dummies guide to Open Cockpits or a step by step detailed tutorial... that leaves no step out...
Mehdi
-
02-28-2011, 04:46 AM #2
- Join Date
- Dec 2008
- Location
- Poland
- Posts
- 30
Re: Test USB Expansion Card
From my discussion at OpenCockpit's forum.
Maybe that could help.
http://opencockpits.com/modules.php?...c=3500&forum=1
I found the problem.
PIC controller was badly programmed.
You said: "I not use specific parameters to write code to PIC ! ".
Well, what I had to do is to setup at least this settings to make it work:
Oscillator type: HS
Code protection: OFF
BODEN: enabled
WRT: enabled
any others: disabled
I think that the manual "How to program a PIC microcontroller" should be directly linked from the page where DISPLAY II is presented.
What I also suggest is to make it clear in the document that this manual is also valid for DISPLAYS II, beacuse at the moment it is not obvious that this settings are correct for other IOCards.
-
04-22-2011, 10:49 AM #3
- Join Date
- Jan 2011
- Location
- 54401
- Posts
- 25
Re: Test USB Expansion Card
I'm looking to do the same thing you did, but I'm not having much success finding a detailed BOM. Seems the info OC gives narrows things down to a family of components - but often not enough to specify a component. I was thinking, for example, since I need 3 stepper cards I’d order one kit and 2 PCB’s. Then examine each kit component and reverse engineer to generate a BOM. IC’s all have part# on them, resistors should be coded (probably all 1/4watters). Then order components to finish all cards. But if someone’s already done that legwork, great! How did programming the chips go?
-
11-08-2011, 07:56 AM #4
- Join Date
- Nov 2005
- Location
- Belfast, N.Ireland
- Posts
- 34
-
11-10-2011, 12:06 AM #5
- Join Date
- Jul 2008
- Location
- Best Coast USA
- Posts
- 9
Re: Test USB Expansion Card
I am working on a thread for us DIY'ers. I hope it will be of help to all of you guys. As for testing the USB Expansion without any other card hooked up.... it would be pretty basic... You hook it up, the computer makes the connected sound, loads drivers and you may get the LED to flicker. Thats just about it. If you ran controlador, you could see IOCardUSB running, a whole string of inputs and if you touched the analogue axis pins they would react. Thats about it.
simunut
Similar Threads
-
Trouble with 2nd USB expansion card
By Jerrymc3 in forum OpenCockpits General DiscussionReplies: 7Last Post: 05-01-2011, 11:00 AM -
USB Expansion Card
By Jerrymc3 in forum I/O Interfacing Hardware and SoftwareReplies: 2Last Post: 02-27-2011, 02:25 AM -
Expansion card buggy? Shows "ghost" inputs where there aren't...
By Michael737NG in forum OpenCockpits General DiscussionReplies: 0Last Post: 12-26-2010, 07:02 AM -
Problem with usb Expansion card
By Depth08 in forum OpenCockpits General DiscussionReplies: 4Last Post: 11-03-2010, 03:11 PM