USB HID Interface for PIC 18F4550 |
||
A question, a problem or a suggestion, don't hesitate : a little email |
||
The goal of this web page is to describe an USB HID interface. You will find : - The hardware, - The program for the PIC side, - The program dor the PC side. |
||
The hardware |
I have used the USB interface board modified for a 18F4550 PIC, i.e. : - 20 MHz quartz with adapted capacitors, - USB pull-up removed, - A switch on the RB4 pin (for the bootloader). |
|
HID interface, PIC side |
The PIC program is the "test06" from the "PIC 18F2550/18F4550 Test programs" web page. The program can be used with the HID bootloader. This program is an evolution of one of examples from Microchip : "USB Device - HID - Simple Custom Demo". |
|
HID interface, PC side(new release) |
You will find here (690 ko) program writen in C++ with Code::Blocks and the Win32++ library. When you hit the Connect button while the PIC board is connected to the PC, the buttons controling the LEDs are activated as the one to read the inputs. |
|
HID interface, PC side(old release) |
You will find here (41 ko) the PC program writen in Visual C++ Express 2008. To run it, you will need the ".NET Framework 3.5" de Microsoft" or equivalent. This program is based on the "USB Device - HID - Simple Custom Demo" from Microchip. |
|