Search in Pinguino World !!

Friday, April 23, 2010

LUA with Pinguino

This new tutorial explain how to use USB communications with LUA. This example was both tested on a computer an on a FONERA 2.0.
My goal is to use LUA to make a USB terminal.

See this tutorial on the tutorial website.

HOWTO use the run led !!

The Run led of Pinguino can be used as a normal led. This output is not defined in the list of pins, but you can use it as described below:

#define RUNLED PORTAbits.RA4

void setup()

void loop()

Sometimes it could be useful to use it as a general purpose led.

Zigbee shield for Pinguino

I work on a zigbee shield for Pinguino. I chose the Microchip MRF24J40MA because it is very cheap ( less than 10€ in France ). I designed this board to convert 5V signals to 3,3V.
Now i am working on the driver, i wrote a soft SPI library for Pinguino. Maybe Pinguino will be used as a remote control with this module.

Sunday, April 18, 2010

Still in Madrid :-)

I'm still in Campus Party today. All flights are cancelled from Madrid to Marseille, so i take this time to post on the blog.
Campus Party is a really nice event. I met a lot of people, some of them are Pinguino users and it's a chance to work with them for those 4 days. Others are just curious about our project, i tried to explain what are the differences beetween this project and Arduino and what are the advantages.
I received a nice Pinguino from Javi who is one of the ARDE Pinguino designer. I spent most of my time to interface LUA and Pinguino and speak with Paco (Furri) who is a very enthusiast user.
I never participated in a so big event in the past, but the Campus Party organisation is very professional and everything is done to let you spend your time to speak and exchange with people.
I will like that events like this one exist in France.
You can see some of the pictures of Campus Party and Madrid here.

So, thanks to everybody and congratulations to Campus Party.

Monday, April 5, 2010

Pinguino SMD

Yet another smd design from Spain............

Sunday, April 4, 2010

Just for fun !!

I designed this special pinguino to test a technic on plexiglass. It works, but i need to wait my order of USB connector to test it :(

It could be a way to do new objects.

Saturday, April 3, 2010

Hidden function in Pinguino

I am working with a GSM modem and Pinguino. To send command to the modem, i used the UART and AT commands. The problem was to set a correct time out when receiving answer from the modem. I wanted to use the millis instruction, but i was afraid by an overflow of the time variable.
So i decided to use a hidden variable in Pinguino, _millis. This variable is used in the arduinodelay library and is incremented every milli second. I copied this example of my code:
 #include <string.h>

unsigned char caractere;
unsigned char chaine[50];
long tempo;
unsigned char index;

unsigned char gsm_echo(unsigned char state)
if (state) Serial.print("ATE1\r");
else Serial.print("ATE0\r");
while (_millis<100)
if Serial.available()
if (strstr(chaine,"OK")!=0) return 0;
else return 1;

void setup()

void loop()
if (gsm_echo(0)==1) goto debut;
while (1);

The millis instruction in the setup function is just used to initialise the library.
_millis variable is already declared in the arduinodelay library.

Hope it will be useful for everybody.

Thursday, April 1, 2010

Pinguino Forum is open !!

Jeremy started a Pinguino Forum on his website. Yet another welcomed contribution and another way to share ideas, libs and many useful things for us.

Thanks to Jeremy.

Welcome to all users, sign up here.