Pinguino Project: A PIC Microcontroller Based Arduino

This is a complete tutorial to make a PIC Microcontroller based Arduino.

Pinguino Project A PIC Microcontroller Based Arduino
This is a complete tutorial to make PIC microcontroller based Arduino, which can run Arduino programs on PIC18F4550 or PIC18F2550 microcontroller, one advantage on this microcontroller is that it doesn’t require any external programmers, since it has inbuilt USB support. So guys, let’s get started!

Step 1: Things Needed

Things Needed

  • PIC18F2550 (28pin) x1
  • Crystal 20Mhz x1
  • Capacitor -22pf x2
  • Resistor 470ohm x2
  • USB B type PCB mount x1
  • Capacitor 220nf x1
  • Jumpers (a few)
  • LED x1 or 2
  • Push button
  • Resistor 10K ohm x1

Step 2: Circuit Diagram for Pinguino Board

Circuit Diagram for Pinguino Board

Connect all the components as shown in the circuit diagram on Breadboard or you can make your own PCB board, here I used Breadboard for my project.

Step 3: Downloading PINGUINO IDE

Downloading PINGUINO IDE

Download Pinguino IDE from this website:

Step 4: Download Bootloader File!

Download Bootloader File…

Step 5: I used PICKIT2 which I Purchased it from Amazon

I used PICKIT2 which I Purchased it from Amazon

Here we just need to put microcontroller on to the ZIF socket and connect it to PC, open PICKIT2 software and upload the code.

NOTE: If you are using standard PICKIT2 then follow next step!

Step 6: How to use PICKIT2 to Upload HEX file to the PIC microcontroller

How to use PICKIT2 to Upload HEX file to the PIC microcontroller

Download PICKIT2 software here:

Download PDF from Microchip on uploading HEX file to PIC microcontroller using PICKIT2:…

PICkit is a family of programmers for PIC microcontrollers made by Microchip Technology. They are used to program and debug microcontrollers, as well as program EEPROM. Some models also feature logic analyzer and serial communications (UART) tool. The PICkit 2 — introduced in May 2005 — replaced the PICkit 1. The most notable difference between the two is that the PICkit 2 has a separate programmer/debugger unit which plugs into the board carrying the chip to be programmed, whereas the PICkit 1 was a single unit.

This makes it possible to use the programmer with a custom circuit board via an In Circuit Serial Programming (ICSP) header. This feature is not intended for so-called “production” programming, however. The PICkit 2 uses an internal PIC18F2550 with Full Speed USB. The latest PICkit 2 firmware allows the user to program and debug most of the 8 and 16 bit PIC micro and dsPIC members of the Microchip product line.

More info from this website:…

Step 7: After Bootloading

After Bootloading

Make Pinguino circuit and connect it to the computer through USB, upload Pinguino project drivers. You can download it from Pinguino official website and everything is ready to Code.

Pinguino BLINK

void setup()
void loop()
digitalWrite(USERLED, LOW); 
digitalWrite(USERLED, HIGH); 

For more examples:…

About The Author

Muhammad Bilal

I am a highly skilled and motivated individual with a Master's degree in Computer Science. I have extensive experience in technical writing and a deep understanding of SEO practices.

Leave a Comment

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.