Thursday 12 July 2012

USB device for controller a shift register

This simple USB HID device is connected up to a shift register which is used to control a number of LED outputs. It proves the principle of using the shift-register as a serial-to-parallel interface. Data is sent from the PC via USB to the PIC microcontroller, which in turn clocks serial data into the shift register.

The shift register displays a series of 8 bits, as received on the serial line, on the output pins. We're simply showing the state of the output pins by connecting a surface mount LED


No comments:

Post a Comment