Windows driver for Pinguino

The last version of the bootloader is built with our Vendor ID and Product ID. This is a sublicense of Microchip for this project.
So on windows, you need a driver for Pinguino, the Microchip driver can not be used. But it can be simply adapted.
Download the MCHPFSUSB package on the microchip web site. Extract it in a new folder and go to \pc\MCHPUSB driver\Release\ .
Edit the mchpusb.inf file and replace the following lines:

[DeviceList]
%DESCRIPTION%=DriverInstall, USB\VID_04D8&PID_000B, USB\VID_04D8&PID_000C, USB\VID_04D8&PID_01F0 USB\VID_04D8&PID_01F1, USB\VID_04D8&PID_01F2, USB\VID_04D8&PID_01F3, USB\VID_04D8&PID_01F4, USB\VID_04D8&PID_01F5, USB\VID_04D8&PID_01F6

[DeviceList.ntamd64]
%DESCRIPTION%=DriverInstall64, USB\VID_04D8&PID_000B, USB\VID_04D8&PID_000C, USB\VID_04D8&PID_01F0 USB\VID_04D8&PID_01F1, USB\VID_04D8&PID_01F2, USB\VID_04D8&PID_01F3, USB\VID_04D8&PID_01F4, USB\VID_04D8&PID_01F5, USB\VID_04D8&PID_01F6

by those lines:

[DeviceList]
%DESCRIPTION%=DriverInstall, USB\VID_04D8&PID_FEAA, USB\VID_04D8&PID_000B, USB\VID_04D8&PID_000C, USB\VID_04D8&PID_01F0 USB\VID_04D8&PID_01F1, USB\VID_04D8&PID_01F2, USB\VID_04D8&PID_01F3, USB\VID_04D8&PID_01F4, USB\VID_04D8&PID_01F5, USB\VID_04D8&PID_01F6

[DeviceList.ntamd64]
%DESCRIPTION%=DriverInstall64, USB\VID_04D8&PID_FEAA, USB\VID_04D8&PID_000B, USB\VID_04D8&PID_000C, USB\VID_04D8&PID_01F0 USB\VID_04D8&PID_01F1, USB\VID_04D8&PID_01F2, USB\VID_04D8&PID_01F3, USB\VID_04D8&PID_01F4, USB\VID_04D8&PID_01F5, USB\VID_04D8&PID_01F6

Now save this file and use it as your pinguino driver when windows ask you for a specific driver.
You have just added a new product wich use the microchip driver.

Blink a led with Pinguino

This is the ‘hello, world’ of electronic !!

// Blinking a led with Pinguino
// jean-pierre MANDON 2008

#define led 0
#define tempo 250

void setup()
{
pinMode(led,OUTPUT);
}

void loop()
{
while (1) {
digitalWrite(led,HIGH);
delay(tempo);
digitalWrite(led,LOW);
delay(tempo);
}
}

The led is connected on the output 0 ( RB0 ).
Ouahhhhhhhhh, it works !!

Microchip Vendor ID and Product ID

Pinguino has now a regular VendorID/ProductID. It is used by permission from Microchip Technology Inc. under a sublicense agreement to me. This VID/PID may only be used with Microchip products.
This is the last step to start beta tests………………

Thanks to Microchip for supporting this project.

Pinguino 1.0

Pinguino is an Arduino like based on a PIC Microcontroller. The goal of this project is to build an integrated IDE easy to use on LINUX, WINDOWS and MAC OS X. Arduino is a powerful tool with some defaults. Some of this defaults are no native USB interface on the chip and the code length.
The IDE of Pinguino is built with Python. An integrated preprocessor translates specific Arduino instructions directly in C. This preprocessor reduces the code length and the execution speed. Pinguino hardware is based on a 18F2550. This chip has and integrated native USB module and an UART for serial link.
Finally the Pinguino IDE is a stand alone application with a C compiler (SDCC), assembler and linker (GPUTILS) and a bootloader based on the PUF VASCO project.
Pinguino is Open hardware and Open software. The IDE ( integrated development environment ) will be avalaible the 1st of september on www.hackinglab.org for windows and linux. Mac os x port will be avalaible in the next days.