USB IO BOARD
Introduction
This is a USB to IO expansion board that provides GPIO/PWM/SPI/UART/I2C/ADC interfaces. It uses a 3.3V/5V power supply compatible PIC18F45K50-QFN USB Microcontroller includes 28 pin headers to make it easy to plug into a breadboard or other circuit. and has a bootloader that allows for downloading or upgrading the firmware.
You can find the datasheet for the PIC18F45K50 microcontroller here:
Hardware
The above image provides a brief description of each pin assignment. There are two 14-pin headers (P2, P3), and one 5-pin header (P1), each with 2.54mm (0.1 inch) pitch.
The 5-pin header (P1) can use the PICkit In-Circuit Debugger. See here for more information:
[http://www.microchip.com/Developmenttools/ProductDetails.aspx?PartNO=PG164130 ]
The user can choose either 3.3v (default) or 5v supply by the position of R1 (soldering is required to change). For easy soldering, R1 size is 1608(0603).
You can download Fritzing part usbio.fzpz
Documentation
Schematic
Software
You have to install the cross compiler before IDE installation
Cross Compiler
MPLAB C18 v3.43 or higher
(From Microchip homepage : http://www.microchip.com/stellent/idcplg?IdcService=SS_GET_PAGE&nodeId=1406&dDocName=en010014&redirects=c18)
We've also tested C18 v3.47 Standard-Eval Version. It works well.
http://ww1.microchip.com/downloads/en/DeviceDoc/mplabc18-v3.47-windows-eval-installer.exe
In my case, Standard-Eval Version (Free of Charge) was downloaded for my code optimization. It is the trial version and can only be used for 60 days.
IDE
X IDE v1.51 or higher (From Microchip homepage : http://www.microchip.com/pagehandler/en-us/family/mplabx )
We've also tested the latest MPLABX-IDE v2.05. It works well. http://www.microchip.com/mplabx-ide-windows-installer
In process of installing of IDE, You should check them out C18 compiler and Linker in “Compiler Settings” below.