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

    Fast Electronic Fuse
    Lead Acid Battery Charger with LED indicator
    Ambisonic Pan-Rotate
    Motor speed control circuit
    Proximity detector
    IF Converter
    LEDs or lamps sequencer circuit
    P89v51rd2 Interface With Adc Mcp3202
    Nite Rider Lights circuit
    Datalogging for Arduino
    HF linear amplifier circuit
    How To Build A Sequential Timer Using A Cmos 4017
    T-121 temperature sensors form a temperature control circuit diagram



    Top