+ Post New Thread
Page 1 of 4 123 ... LastLast
Results 1 to 20 of 77

Thread: My experiments with PIC18F4550 <> USB

  1. #1
    Newbie level 5
    Points: 1,255, Level: 8

    Join Date
    Nov 2006
    Posts
    10
    Helped
    0 / 0
    Points
    1,255
    Level
    8

    pic18f4550

    After I found out one article regarding USB functions of PIC18F4550, I have decided to devote some time for experiments.

    At the beginning I took the necessary elements:



    1 pc Universal board
    1 pc. PIC18F4550
    1 pc. 40PIN Socet
    1 pc 20MHz Crystal
    1 pc USB Connector
    1 pc. 470nF Capacitor
    1 pc. 100nF Capacitor
    2 pc. 22pF Capacitors
    1 pc 4,7K Resistor
    Some wires ...

    There are some photos and scheme:

    PIN outs of the USB connector which I used





    PIN's of the used PIC18F4550:





    The minimum scheme necessary for the test:





    The board is done :



    After the assembling the scheme, I connected it to the USB of the PC without programming the PIC microprocessor.
    The result was null- Windows does not indicated that something was connected to the USB port.

    I started programming the microcontroller. I used a JDM programmer and one of my favourite software for PIC - PICPgm.




    At the beginning I downloaded from somewhere maybe an older version of the HEX file for the PIC.
    After the programming and connecting to the PC, the following mistake occurred : "USB Device not recognized"
    Unfortunately, It took me 2 hours for reading articles about this theme, until I found out where exactly is the problem.
    I am not using MPLab and the relevant programmer, and that's why It turns out that there is no FUSE configuration in the ready compilated HEX file that I use.


    "USB Device not recognized"


    "Found New Hardware"



    Finally I downloaded this file from Microchip:

    http://ww1.microchip.com/downloads/e...Setup_v1.3.exe


    All it does is to install files under C:\MCHPFSUSB.



    I programmed the PIC with the first HEX file that I have found out in "C:\MCHPFSUSB\fw\_factory_hex\picdemfsusb.hex"

    After the programming and connecting again to the PC USB port ... ·Yeah·... the expected sound could be heard!






    After drivers installed :








    To be contunied ...

  2. #2
    Member level 2
    Points: 1,384, Level: 8

    Join Date
    Nov 2006
    Location
    Itajubá MG Brazil
    Posts
    49
    Helped
    1 / 1
    Points
    1,384
    Level
    8

    pic18f4550 usb

    Great job! Keep going!



  3. #3
    Advanced Member level 5
    Points: 13,719, Level: 28
    blueroomelectronics's Avatar
    Join Date
    Sep 2006
    Location
    Toronto, Canada
    Posts
    1,679
    Helped
    164 / 164
    Points
    13,719
    Level
    28

    pic usb interface

    That's really neat, looks like a great project.



    •   Alt 

      advertising

        
       

  4. #4
    Member level 4
    Points: 1,376, Level: 8

    Join Date
    May 2007
    Posts
    77
    Helped
    2 / 2
    Points
    1,376
    Level
    8

    usb pic18f4550

    Wow cool project
    please do continue, it will save lots of time for people like me



  5. #5
    Junior Member level 3
    Points: 1,008, Level: 7

    Join Date
    Nov 2006
    Location
    pakistan
    Posts
    28
    Helped
    1 / 1
    Points
    1,008
    Level
    7

    pic18f usb

    keep it up buddy! there are some of very cool projects with pic18f4550


    1 members found this post helpful.

  6. #6
    Full Member level 4
    Points: 3,482, Level: 13
    Achievements:
    7 years registered
    atferrari's Avatar
    Join Date
    Jun 2004
    Location
    Buenos Aires - Argentina
    Posts
    223
    Helped
    4 / 4
    Points
    3,482
    Level
    13

    pic 18f4550 usb

    Any news out there?



  7. #7
    Junior Member level 1
    Points: 718, Level: 5

    Join Date
    Jun 2008
    Posts
    19
    Helped
    3 / 3
    Points
    718
    Level
    5

    pic18f4550

    Cool project!
    Could you please share your HEX files?



  8. #8
    Full Member level 6
    Points: 7,424, Level: 20
    TekUT's Avatar
    Join Date
    Jun 2008
    Location
    Italy
    Posts
    319
    Helped
    35 / 35
    Points
    7,424
    Level
    20

    pic18f4550 usb interface

    Nice idea, I've also planned to start with same design, below a link that may be useful to straight on:

    http://sourceforge.net/projects/pic18fusb/

    Cheers
    F.F. a.k.a. Powermos


    1 members found this post helpful.

  9. #9
    Full Member level 6
    Points: 3,914, Level: 14

    Join Date
    Jan 2006
    Location
    Singapore
    Posts
    378
    Helped
    44 / 44
    Points
    3,914
    Level
    14

    pic18f4550 usb

    Very good documentation. Good work.



  10. #10
    Newbie level 3
    Points: 567, Level: 5

    Join Date
    Dec 2007
    Posts
    4
    Helped
    0 / 0
    Points
    567
    Level
    5

    pic usb 18f4550

    hello there,

    i was wondering how did u manage to troubleshoot the "USB not recognized" problem? i have the same problem and the driver i installed, (d/l from Microchip) doesnt seem to work. what could be the problem here? please help!

    is it my driver? i've just downloaded it and unzip it into C directory, and when the PC notices the USB, it prompted me for driver. so i directed it to the folder. am i doing it correctly?

    thanks so much



    •   Alt 

      advertising

        
       

  11. #11
    Newbie level 5
    Points: 1,255, Level: 8

    Join Date
    Nov 2006
    Posts
    10
    Helped
    0 / 0
    Points
    1,255
    Level
    8

    pic18f4550 project

    Hi ecnbom,

    There is work HEX file incl. Config Bits.



  12. #12
    Newbie level 5
    Points: 1,255, Level: 8

    Join Date
    Nov 2006
    Posts
    10
    Helped
    0 / 0
    Points
    1,255
    Level
    8

    pic18f4550 usb project

    Hi carrie,

    I think (but no sure) that for "USB not recognized" problem is not guilty driver.
    This means that there is hardware problem.
    When I program PIC without Config Bits Windows show "USB not recognized".
    After program PIC as must – Windows show “Found New Hardware” and next step is driver.

    I read anywhere that USB connector must nearly to PIC USB PIN’s. Possible this too causation "USB not recognized" problem.



  13. #13
    Full Member level 1
    Points: 1,523, Level: 8
    hkBattousai's Avatar
    Join Date
    Jun 2007
    Location
    Turkey
    Posts
    117
    Helped
    5 / 5
    Points
    1,523
    Level
    8

    pic18f4550 usb interfacing

    This is a great project, congratulations.
    I will track this topic and wait for any progress.



  14. #14
    Banned
    Points: 811, Level: 6

    Join Date
    Dec 2007
    Posts
    44
    Helped
    1 / 1
    Points
    811
    Level
    6

    pic usb pc

    great project :)

    i have dealt alot with the 18f4550 and the 18LF4550 with USB..... i love the DLL interface..

    which one are you using?

    really dont like the COM port implemetation but havent tried the new version yet....

    cant wait for the pic 32 with USB OTG!!!!

    a whole new realm of possibilities!!

    :D:D



  15. #15
    Junior Member level 1
    Points: 663, Level: 5

    Join Date
    Mar 2008
    Posts
    15
    Helped
    1 / 1
    Points
    663
    Level
    5

    pic 18f4550 usb

    Thanks for the Post... I'm also working on my thesis using PIC18F4550.



  16. #16
    Newbie level 1
    Points: 420, Level: 4

    Join Date
    Jul 2008
    Posts
    1
    Helped
    0 / 0
    Points
    420
    Level
    4

    microchip mchpfsusb v2.2 installer

    Its a good project with neat explanation.



  17. #17
    Member level 4
    Points: 1,403, Level: 8

    Join Date
    Jul 2007
    Posts
    68
    Helped
    5 / 5
    Points
    1,403
    Level
    8

    pic18f4550 projects

    good project, but where is driver to be instal on window98?



    •   Alt 

      advertising

        
       

  18. #18
    Full Member level 5
    Points: 2,921, Level: 12

    Join Date
    Feb 2007
    Location
    USA
    Posts
    260
    Helped
    34 / 34
    Points
    2,921
    Level
    12

    pic usb projects

    I did something similar to you, but when I selected: "Install the software automatically" it didn't work.

    Where are the drivers for this device ?

    Added after 2 minutes:

    Never mind, I found them.

    Thanks.



  19. #19
    Advanced Member level 3
    Points: 9,134, Level: 22

    Join Date
    Nov 2006
    Posts
    983
    Helped
    59 / 59
    Points
    9,134
    Level
    22

    usb pic 18f4550

    great project , this may be the one which make me free from com port.

    any small application based on this .



  20. #20
    Member level 4
    Points: 1,403, Level: 8

    Join Date
    Jul 2007
    Posts
    68
    Helped
    5 / 5
    Points
    1,403
    Level
    8

    pic usb device not recognized

    dear, will it works with windows98?



+ Post New Thread
Page 1 of 4 123 ... LastLast