Sie sind auf Seite 1von 17

Pinguino PIC18F4550

waihung.net/pinguino-pic18f4550/

I’m trying out the Pinguino platform, which is made for Microchip PIC MCUs and it
mimics the Arduino environment.
It uses programming syntaxes that are very similar to the Arduino environment. It is
to make the programming of PICs easier.

Since it’s an open source platform, the firmware (bootloader) and schematics are
openly available at their website.

I’m using a PIC18F4550 which is one of the four supported 8 bit MCUs.

The
benefit
of the

PIC18F4550 is it has USB capabilities. With the Pinguino firmware, it can be


programmed without the Pickit programmer.

Following the official schematic, I’ve designed the PCB myself using eagle.

1/17
Another one of my usual routines, making a PCB at home.

2/17
3/17
4/17
Fully assembled board.

5/17
I’ll go through the installation but first you’ve to download the required files which is
provided in the link below.

https://www.dropbox.com/s/rlmc5rmot0anbx0/pinguino_installer.rar
6/17
There are 5 files required in the installation.

Bootloader v4.14
libusb 1.2.5.0
Python 2.6.6 32-bit (use 32-bit even if you’re on a 64-bit system)
wxPython 2.8
PyUSB 0.4.3

First, we have to upload the bootloader to the PIC using a Pickit programmer.

7/17
After programming the bootloader, disconnect Pickit 2 and connect the board
through USB to your computer.

8/17
A notification will pop-up saying that Windows is unable to find the driver. If not, go to
the Device Manager and you’ll see a hardware named ‘P8’ that has error.

Open up libusb and run bin/inf-wizard.exe. If the P8 device doesn’t show up, reset the
MCU.

It will then generate the required drivers.

9/17
Go back to Device Manager and update the driver of P8

Select Browse my computer for


driver software.

10/17
Browse to the folder where the driver was generated by libusb.

Install this driver software anyway.

11/17
Driver is successfully installed.

The device can now be found in Device Manager with no errors.

12/17
Install Python 2.6.6

Install wxPython.

13/17
After installing, let the batch command run. Do not close the window.

Install PyUSB.

14/17
Extract the Pinguino IDE zip file using winrar to C:\ (Must be C:\)

Launch

Pinguino.exe.

15/17
Select the correct board. Pinguino 4550 and USB bootloader.

Open up the Blink example and try to upload to the board.

16/17
Make sure the code is compiled successfully before uploading it.

Download Installer Files

17/17