USB pin configuration!!

Discussion in 'The Projects Forum' started by peak99, Nov 12, 2008.

  1. peak99

    Thread Starter New Member

    Nov 12, 2008
    hi there can someone help me how does a USB port work.. whats the configuration for it.. i was planning to use it in my project.. ill make a some device that would read something else.. using a reader with usb port. i want my screen pop up directly the data or information inside that reader..
    and also if someone could send me an IC pin configuration.. all of IC.. thanks..:)
  2. bertus


    Apr 5, 2008

    Here is a link to the hardware connection of the USB connector:

    For the pop-up you will need a driver for your reader that tells your operating system that a reader is connected and what to do with it.

  3. m.majid

    AAC Fanatic!

    May 28, 2008
    USB port is very simple to use but very complex to program

    USB connection is generally Master-Slave, Master manages the connection such as detecting device attached to port, addressing port, ... Master is generally a PC
    Slave is any peripheral and device such as printer, mouse, ...

    for communicating via USB port, you need a driver (a system program on PC) that deals with USB hardware and has some API to application software

    there are several communicating methodes to a USB connection called CLASS, each class has particular speed and configuration. for example there is class called HID (Human Interface Device) USB mouse and keyboard use this class

    also u need a firm ware (program on microcontroller) on Slave side,

    you must be a very expert system programmer to write your own USB class driver on PC, and firmware on Embedded system(µController)

    i recommend you use the available standard general classes, (HID, Mass Storage Device, ...)

    there are good examples of using USB port, with AVR Atmega micro controller, there is driver and source, firmware and source also a sample program you can find on Atmel site:
    Last edited: Nov 12, 2008
  4. peak99

    Thread Starter New Member

    Nov 12, 2008

    thanks for the information. hmmm actually im not that good when it comes to programming.. im doing a project.. and my idea is.. making an integrated circuit(ic) device reader that is some how attached to a USB device.. and when ic is putted in that device it can be seen on the monitor...

    can someone tell me what to do? cause i dont know where to start.
    what program should i used? what type of usb? if someone could help me doing this i would gladly appreciate it. email me here .. thanks for the replies.. sorry for asking too much.. i just really dont know..