This page lists my Arduino experiments and projects.
Disclaimer:
- I have near-to-zero experience in electronics hacks (I've always
been a programming addict);
- you will find here some things that here worked, but I cannot
guarantee they'll work for you (and without damaging anything).
I will try to give as much as information possible.
Quick-FAQ:
- what is "Arduino"? See www.arduino.cc or search
the net for "Arduino projects" (whoopeee!)
- what is "PDE" source file? (See here for an example).
It's a small C++ program source that you write to control
Arduino's GPIO (general-purpose I/O) hardware inputs/outputs.
- perché diamine non scrivi in italiano? ehi, ehi! nonostante
queste pagine siano spesso nel mio inglese maccheronico, ci troverete
sempre un po' di commenti in italiano.
Arduino specifications
- processor: AVR ATmega168
- flash memory: 16384 bytes (14336 available)
- EEPROM: 512 bytes
- RAM: 1024 bytes
- ports: SPI, TWI, 20+ GPIO lines, etc
Notes:
- flash memory endurance is some 10000 write/erase cycles;
- EEPROM contents will survive a reboot.
My Arduino experiments:
My Arduino ongoing projects:
My Arduino completed projects:
My Arduino hardware:
- I have an Arduino Diecimila board and two Arduino Mini boards.
Quick notes
TWI (2-wire interface) only requires two bidirectional data pins
(plus a GND pin and a VCC pin, but these are not "data" pins); as of
Atmel ATmega168 datasheet (page 82):
- "analog 5" (PC4): SCL (system clock)
- "analog 6" (PC5): SDA (system data)
Note: Arduino's "analog" pins are actually multipurpose pins (i.e.,
if you don't need neither analog nor TWI, they can work as common
digital GPIO pins).
SPI (serial port interface) uses 3 output data pins and 1 input
data pin when in "master" mode (or 3 input and 1 output when in
"slave" mode):
- "13" (PB5): SCK (slave clock input, master clock output)
- "12" (PB4): MISO (master in, slave out)
- "11" (PB3): MOSI (master out, slave in)
- "10" (PB2): SS- (slave select, active low)
Sad note: on pin "13" on the Arduino Diecimila there is the SMD LED
which we used for software debugging. When using SPI, that LED blinks
on SPI clock.