PIC18F2550 Pinguino

Features
This version of the Pinguino board is built with a Microchip PIC18F2550 chip. It works with a 20 MHz crystal and is USB 2.0 compatible.

The characteristics of this board are:


 * 18 digital input/output with 5 shared analog inputs,


 * UART for serial communications,


 * 2 fast PWM outputs ( 3000 Hz ),


 * 5 analog inputs.

There is one switch to reset the board. When reset is held, the board is in bootloader mode waiting for an upload from the development computer for 5 seconds. After 5 seconds, the current program is run.

This board can be powered by the USB connector subject to computer power limitations. It can be powered by an external power supply from 4.2Vcc to 5.5Vcc. You can add an onboard regulator to provide 5V Vcc for the microcontroller chip (using a 7805 voltage regulator for example).

Schematics and PCB of the board can be found here: 

This is an inkscape version of the PCB: 

PIC18F2550 Features: Reference PIC18F2550 features not, or not yet, supported by Pinguino.

Pins

 * Analog input hardware available, but no software support
 * If one pin between 13 and 17 is used as analog input, all those pins are configured as analog inputs.
 * With bootloader v1, you must also connect a run switch and can not use digital Output

First Programs : 6 ways to blink a LED
Here are 6 ways to blink the built-in Led (User Led) on your new Pinguino board.

Pinguino Self-replication
Self-replication is any process by which a thing will make a copy of itself



This code allows you to copy the bootloader of your Pinguino into a new blank (or not) chip. This has been successfully tried with a PIC18F2550. It should work also with a PIC18F4550 but it has not been tested.

Programming Hardware and Schematic
What do you need ?
 * 3 transistors
 * 2 LEDs
 * 5 resistors
 * an external 12V power supply. (12V from the computer is OK)