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:

New Circuits



Popular Circuits

Cut Phone Line Detector
1,5V Earphones Audio Amplifier
Loudspeaker Protection 2
Low voltage lamp flasher
Acoustic Doppler Motion Detector
Adjustable Regulated Power Supply 0-15V
LEDs or lamps sequencer circuit
3-6V Xenon Strobe Light
LED sequencer
Super Oscillator Conversion
LM331 Frequency to Voltage Converter
Local Oscillator Stage
Constant Voltage measuring circuit
Auto Cutter mill circuit