USB Low Pin Kit
USB is very common interface today. If you look around, many of devices today comes with a USB port. Computers, printers, routers, usb keys, etc. All this devices have a USB controller inside. These devices can be divided in two groups:
- USB Host (like a computer, routers, modern LCD TV’s);
- USB Device (like flash drive, mouse, keyboard);
Most of hobby electronic projects still are in RS232 serial communications world. Think in that great market,
Microchip create a very smart line of microcontrollers, USB capable, to move your projects to future. They have great introductory kits, one of them is the “Low Pin Count USB Development Kit”.
These boards contain a PIC18F14K50 microcontroller and can help you to grow up your USB knowledge and with a few steps you still able to create a mouse device, a USB temperature meter or a USB-Serial converter.
My idea is create a little board with most of Microchip kit, but less parts then all these boards. Only the basic
components to get the microcontroller up and running the Microchip USB Library examples. PIC18F14K50 is a really
basic device and after some research I found what you can do and what you can not do with it:
- What you can do: USB HID (Human Interface Devices) like mouse, keyboards, sensors, serial-usb converters, etc
- What you can not do: USB storage devices, like USB flash drives
USB storage is a problem because of memory limitations on PIC18F14K50 family.
The circuit design is very simples. Basically all you need is
- 12MHz Crystal;
- USB connector;
The circuit still have a ICSP header for device programming and debugging. It’s USB powered, so you can pay
attention on current drain (500mA max.). See below:
connect wires and breakout boards. I don’t put a RESET switch on board because I think it’s not necessary (does your mouse have a reset button?). The final design you can view above:
For more detail: USB Low Pin Kit
We recommend EasyEDA for electronic circuit design.
From Schematic Drawing to PCB Production, Just Need One Tool
Cheap PCB Prototype: 10 pcs 2 layers only $10, quick delivery, 100% E-test