Skip to content

Cheers from Boarduino!

22 agosto 2009

Boarduino v1.0

Wow, the days at HAR were fuckin’ awesome.

Thanks to Mitch Altman and his willing friend I bought and build an Arduino clone: the Boarduino.

What is an Arduino?

Arduino is a tool for making computers that can sense and control more of the physical world than your desktop computer. It’s an open-source physical computing platform based on a simple microcontroller board, and a development environment for writing software for the board. [from Arduino – Introduction]

Boarduino Kit

Boarduino Kit

The Boarduino is 100% compatible with the Arduino software, the main differences are:

  • the USB port is replaced with a serial header (so you need a USB to TTL converter);
  • it can easily be inserted on a solderless breadboard;
  • you make it (: (soldering is a fun!). [this is true for the Arduino too]
Boarduino Kit - making

Boarduino Kit - da making

After a very relaxing soldering (really! it clears your mind! or it was the soldering vapours… never mind…) Mitch connected the Boarduino to the laptop and, wow, it worked :D

(If you, like me, don’t know how to connect the TTL cable remember: GRN means green, not ground! :P )

Boarduino Kit - yeah (:

Boarduino Kit - yeah (:

Today I flashed the ATmega328P with a sketch (the evergreen “Hello World!”) I found in the Arduino Software.

This is the code for the Boarduino:

void setup() {
  Serial.begin(9600);
}

void loop() {
  Serial.println("Hello World!");
}

and this is the result in the python interpreter:

>>> import serial
>>> ser = serial.Serial('/dev/ttyUSB0', 9600)
>>> while 1:
...     ser.readline()
... 
'rld!\r\n'
'Hello World!\r\n'
'Hello World!\r\n'
'Hello World!\r\n'

Cool, it worked :D

I have got some problems with /dev/ttyUSB0 because of brltty, I just removed it and everything is OK now.

From → computer, English, vita

One Comment
  1. Betty permalink

    TOSTI!!!!!! ..che non c’entra molto, ma fa sempre bene! :P

Lascia un commento

Inserisci i tuoi dati qui sotto o clicca su un'icona per effettuare l'accesso:

Logo WordPress.com

Stai commentando usando il tuo account WordPress.com. Chiudi sessione / Modifica )

Foto Twitter

Stai commentando usando il tuo account Twitter. Chiudi sessione / Modifica )

Foto di Facebook

Stai commentando usando il tuo account Facebook. Chiudi sessione / Modifica )

Google+ photo

Stai commentando usando il tuo account Google+. Chiudi sessione / Modifica )

Connessione a %s...

%d blogger cliccano Mi Piace per questo: