Results 1 to 5 of 5
  1. #1
    10+ Posting Member
    Join Date
    Dec 2008
    Location
    California
    Posts
    18
    Contribute If you enjoy reading the
    content here, click the below
    image to support MyCockpit site.
    Click Here To Contribute To Our Site

    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

  2. #2
    25+ Posting Member
    Join Date
    Dec 2008
    Location
    Poland
    Posts
    30
    Contribute If you enjoy reading the
    content here, click the below
    image to support MyCockpit site.
    Click Here To Contribute To Our Site

    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.

  3. #3
    25+ Posting Member
    Join Date
    Jan 2011
    Location
    54401
    Posts
    25
    Contribute If you enjoy reading the
    content here, click the below
    image to support MyCockpit site.
    Click Here To Contribute To Our Site

    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?

  4. #4
    25+ Posting Member



    Join Date
    Nov 2005
    Location
    Belfast, N.Ireland
    Posts
    34
    Contribute If you enjoy reading the
    content here, click the below
    image to support MyCockpit site.
    Click Here To Contribute To Our Site

    Re: Test USB Expansion Card

    Quote Originally Posted by mabderezai View Post
    Hello,
    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...
    I look forward to the dummies guide as I am starting at the very beginning using the OC cards!

  5. #5
    Our new friend needs to reach 10 posts to get to the next flight level
    Join Date
    Jul 2008
    Location
    Best Coast USA
    Posts
    9
    Contribute If you enjoy reading the
    content here, click the below
    image to support MyCockpit site.
    Click Here To Contribute To Our Site

    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

  1. Trouble with 2nd USB expansion card
    By Jerrymc3 in forum OpenCockpits General Discussion
    Replies: 7
    Last Post: 05-01-2011, 11:00 AM
  2. USB Expansion Card
    By Jerrymc3 in forum I/O Interfacing Hardware and Software
    Replies: 2
    Last Post: 02-27-2011, 02:25 AM
  3. Expansion card buggy? Shows "ghost" inputs where there aren't...
    By Michael737NG in forum OpenCockpits General Discussion
    Replies: 0
    Last Post: 12-26-2010, 07:02 AM
  4. Problem with usb Expansion card
    By Depth08 in forum OpenCockpits General Discussion
    Replies: 4
    Last Post: 11-03-2010, 03:11 PM

Tags for this Thread