USBDemo, something to learn USB a little bit


Closed Thread
Results 1 to 40 of 279

Hybrid View

  1. #1
    Join Date
    Sep 2003
    Location
    INDIA
    Posts
    161


    Did you find this post helpful? Yes | No

    Default

    Here's a small contribution from my end to support the good work.

    Thank you steve for the help

    regards.
    Attached Images Attached Images

  2. #2
    skimask's Avatar
    skimask Guest


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by charudatt View Post
    Here's a small contribution from my end to support the good work.

    Thank you steve for the help

    regards.
    And I would think that a similar dev board for a '4550 would be practically the same except for the obvious pin differences...
    I hope so...'cause that's what I'm building...still waiting on the '4550's though...

  3. #3
    Join Date
    Sep 2004
    Location
    montreal, canada
    Posts
    6,898


    Did you find this post helpful? Yes | No

    Default

    Sure,

    There's just a little something i would point so far. Yes the 1.5K is recommended if you don't enable the internal one as i did. Now i think the generic code do it for us... but for safety sake i did it in mine. the two 100nF could be replace with a 470nF. In some occasion it seems to be better when using a higher value. EasyPic 4 use 2X110nF but i changed it. It's just for safety sake so far. If it's working for you... use it

    Now, the Darrel's code mod comes really handy. It free 1 timer... really interesting...

    Instant Interrupts - Revisited, post 148
    http://www.picbasic.co.uk/forum/show...&postcount=148

    Thanks to everybody posting in here!
    Steve

    It's not a bug, it's a random feature.
    There's no problem, only learning opportunities.

  4. #4
    Join Date
    Jan 2007
    Posts
    70


    Did you find this post helpful? Yes | No

    Default 470nf cap substitute?

    Does anyone know if i can substitute a different value for the 470nf capacitor that pulls the usb+ to vcc? Somehow I haven't got any nf value capacitors - plenty of pf, uf...

    I read a post somewhere at some point where a guy said he was using a 2.2uf and it worked ok.

    Thanks

    Robert

  5. #5
    Join Date
    Jan 2007
    Posts
    70


    Did you find this post helpful? Yes | No

    Default usbdemo troubles!

    Hey!

    First, Mister E, thanks so much for putting this together, I can tell it will be a huge springboard for me, if i can ever get it to work!

    I already mentioned that I am using a 10pf capacitor instead of the 470nf one specified. I haven't got any nf capacitors at all! oi!

    Anyways, i loaded the included .hex(still cant compile it from source) and my computer recognizes an 'unknown usb device', not a HID device.

    Ive got a 4mhz resonator on there.. i tried it with a 20mhz and it didn't seem to do anything.

    Any advice please?! I took the day off work to do this stuff today, and it is frustrating!

    Thanks!

    Robert

  6. #6
    Join Date
    Jan 2007
    Posts
    70


    Did you find this post helpful? Yes | No

    Default thanks for the help

    i got it to work! Now to understand it all! Not to mention get it working alongside a USB bootloader.

    Thanks for the example. The code looks excellent. Way beyond anything I can conceive of.

    cheers.

  7. #7
    Join Date
    Oct 2003
    Location
    Australia
    Posts
    257


    Did you find this post helpful? Yes | No

    Talking Works a treat!!

    Yep got mine working today too!!! Woo Hoo!!

    Golly gosh, loaded Mr E's sample prgram, connected the USB cable and Presto - Windows detected it and it started to work first time!!!

    On the demo PCB I added a serial connector so that I can program the 18F4550 via serial ICSP, and also added a couple a RS422/232 line driver receiver so that the PC can communicate via USB to serial devices.

    I'm sure I'll have more to add once I've played around with this toy some more.

    Cheers
    Squib.

    See photo attached.
    Attached Images Attached Images  

Similar Threads

  1. Bits, Bytes Words and Arrays
    By Melanie in forum FAQ - Frequently Asked Questions
    Replies: 24
    Last Post: - 14th June 2016, 07:55
  2. How to receive stream of bytes using PIC USART
    By unifoxz in forum mel PIC BASIC Pro
    Replies: 34
    Last Post: - 20th June 2009, 10:38
  3. Replies: 9
    Last Post: - 31st July 2008, 08:56
  4. PICBasic newbie problem
    By ELCouz in forum mel PIC BASIC Pro
    Replies: 32
    Last Post: - 12th February 2008, 00:55
  5. USART interrupt not interrupting right
    By Morpheus in forum mel PIC BASIC Pro
    Replies: 12
    Last Post: - 6th March 2005, 01:07

Members who have read this thread : 1

You do not have permission to view the list of names.

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts