Analyzing USB Comm


Results 1 to 14 of 14

Threaded View

  1. #1
    Join Date
    Dec 2008
    Posts
    48

    Default Analyzing USB Comm

    Hi All.

    This is something I have been working on a while, and as I discover more, the scope expands! I (still) want to create a device that connects between a keyboard and host PC that will trigger a remote process when the end-user types a certain string into the keyboard. I am currently using the 18F2550. Yes, I understand that the PIC 18F cannot be a USB host. I am not trying to host the USB keyboard but just want information that comes from it to the PC host.

    This has led me to looking into using an onboard comparator tapped into the D+ and D- lines and decipher the key strokes with code. Which is a big plus for size, since I may not need a USB PIC afterall. I think I can setup the comparator with the following information, but do not know exactly how. For example, I think that a threshold voltage of 1.25 Volts is probably going to work, but do not know where to connect the D+ and D- lines (that are tapped). Also, how do I work out the timing and setup the timer? Will one comparator suffice, or do I need to setup two comparators?

    Here is the information that I've got about the USB differential signaling:
    Transmitted signal levels are 0.0–0.3 volts for low and 2.8–3.6 volts for high in Full Speed (FS) and Low Speed (LS) modes.

    Now, if we go this far, I want to create something bigger than a keyboard detector! We can create another analysis tool for the workbench - a USB protocol analyzer.

    Any help?

    Thank you.
    Last edited by kirtcathey; - 8th January 2009 at 11:56.

Similar Threads

  1. USB CDC Communications for Dummies!
    By Squibcakes in forum USB
    Replies: 104
    Last Post: - 15th January 2014, 13:43
  2. Simple USB Comms Problem
    By awmt102 in forum mel PIC BASIC Pro
    Replies: 0
    Last Post: - 6th January 2010, 20:17
  3. One USB keyboard to Two USB Ports
    By picnaut in forum mel PIC BASIC Pro
    Replies: 1
    Last Post: - 11th June 2009, 00:04
  4. Big characters on HD44780 4x20
    By erpalma in forum mel PIC BASIC Pro
    Replies: 23
    Last Post: - 7th January 2007, 02:21
  5. USB PIC without USB Connection
    By Tissy in forum mel PIC BASIC Pro
    Replies: 9
    Last Post: - 26th December 2005, 17:39

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