Archive for the ‘Arduino’ Category

Driving a pair of 7 segments display with MSP430 Energia libraries

Cropped thumbnail

This is my second experiment with Energia LaunchPad boards. This time I wanted to see how difficult could be to adapt for the LaunchPad a program which I originally developed for Arduino. If are interested in how I did setup my Linux box for working with the LaunchPad and the Energia libraries, I’ve described the whole […]

(more...) »

Arduino Pong Alarm Clock

Cropped thumbnail

The Matrixclock project This little project was born to build a present for my son’s birthday, I had a couple of components laying around and I decided to make something new. Goals build an easy-to-use alarm clock with a personal touch use only components I already had in stock use as few components as possible […]

(more...) »

DIY AVR programmer notes

Cropped thumbnail

Recently I’ve built a small clone of LittleWire Attiny85 based AVR programmer. A few notes to make it work with my toolchain follows: Avoid permission errors on Ubuntu 12.10 Due to permissions on USB you can get the following error: usbtiny_transmit: error sending control message: Operation not permitted to fix it: $ cat  /etc/udev/rules.d/10-usbtinyisp.rules # […]

(more...) »

Controlling Arduino from OpenERP

Recently, I started learning OpenERP: what better occasion to develop a module to control an Arduino UNO Board? I’ve already blogged about PyFirmata (see: http://www.itopen.it/?s=pyfirmata), which is a python library to control an Arduino board flashed with Firmata firmware, this nice library integrates perfectly with OpenERP and let you read/write analog and digital values from […]

(more...) »

V-USB on Attiny85

V-usb attiny85

I’ve been recently fascinated by the V-USB project and its interesting applications to the ATtiny85 MCU. There are a couple of articles about its implementation on this tiny MCU but I’ve encountered many problems with the code and this is why I’m writing this notes. Most notable materials/projects I’ve found on the net are: V-USB […]

(more...) »

My first Arduino shield: Attiny programmer support

Arduino Attiny shield

I was simply tired of all that wires on my breadboard and I had a small chunk of a stripboard left from another project. This small shield (a bit forced since Arduino has a wierd holes matrix and it’s not compatible with a standard  stripboard or protoboard) speeds up the development integrating the hearthbeat led […]

(more...) »

Shrinked Arduino: flashing an Attiny 85

Programming an Attiny85

I’ve just started to explore the Attiny 85 small Arduino’s brother. To program the chip I’ve successfully followed the guide Programming an ATtiny w/ Arduino 1.0  , just a few quick notes: you can use Arduino IDE 1.0, after uploading Attiny Arduino libs into your sketchbook/hardware folder in the Arduino IDE: load Arduino as ISP sketch from examples […]

(more...) »

Arduino pong with 8×8 led matrix and MAX7219

Cropped thumbnail

Last night I had an hard time wiring a coupful of connectors to drive an 8×8 led matrix, my breadbord is now really a jungle of wires! Given that I had no datasheet for the led matrix, I tried several combinations of wiring schemes until I found the right one on http://arduino.cc/playground/Main/DirectDriveLEDMatrix. Wiring that beast is […]

(more...) »

Driving a 7-segments display with arduino CD4511 and pyfirmata

Cropped thumbnail

My experiments with the Arduino platform continue with a small 7-segments common cathode LED display and a cheap IC (Integrated Circuit) CD4511. This IC is basically a BCD (Binary Coded Decimal) to 7-segments driver, you feed it with a 4-bit array and it lights up corresponding segments on the display, additional pins on the IC allow […]

(more...) »

Arduino pyfirmata LDR semaphore

Cropped thumbnail

A few days ago I was experimenting with the firmata library on Arduino uno, the simple experiment I describe here is about a LED semaphore triggered by a Ligh Dependent Resistor (LDR). Firmata is a software library which implements the firmata protocol, better described in the website http://firmata.org/wiki/Main_Page : Firmata is a generic protocol for communicating […]

(more...) »