usb io


Posted on Feb 5, 2014

This project is a 12-bit digital I/O extender using the Microchip PIC18f14k50 microcontroller which connects to an USB host port. The microcontroller is available in through-hole DIP20 and SMD packages, too. NOTE for beginners: PIC18F14k50 is a general purpose microcontrollerwhich has to be programmed before you can use it in the actual circuit.


usb io
Click here to download the full size of the above Circuit.

Please check out this link to learn more. The device is powered by the USB bus. The ports RB4-7, RC0-7 can be set on a bit-by-bit basis to input or output direction. All LEDs on the schematic are optional, and are only shown for testing the device. You can find the USB connector pinouts at A computer or an embedded RISC board with an USB host port can be used to control the I/O extender. The controlio example code uses libusb. This means that you don`t need a kernel driver to interface with it. The circuit is a full speed (12Mbit) vendor-specific USB device. It uses only the control endpoint 0, and is controlled by vendor-specific control requests. If you want to make your own host interface, the implemented control requests are: - a package/usbio/Makefile is being made (not yet ready, please ask for it if you need). Copy files from usbio. zip c/ directory to the SDK package/usbio/src/




Leave Comment

characters left:

Related Circuits

  • New Circuits

    .

     


    Popular Circuits

    Battery Current Sensor
    simple automatic street light system
    simple thermocouple amplifier
    auto answering circuit
    simple water level buzzer circuit
    Switching Delay Used by 555 Timer IC
    R/C-Plane altitude recorder
    SMPSU With A Relay
    Build a Lightning Detector
    Improve power supply rejection ratio PSR circuit diagram ISO124
    Simple Metal detector circuit with CD4030



    Top