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

    A SPECIAL INTERFACE Joystic ( 68HC11A1)
    Norton-amplifier
    LPF circuit for rear fill decode
    Simple battery charger circuit and battery level indicator with low battery recharge alarm
    24W amplifier using TDA1516
    Some interesting Projects
    A Bedside Lamp Timer Circuit Schematic
    Atari Punk Stepped Tone Generator



    Top