Arduino 1.01 and the Arduino Leonardo have been released! This is great news since the Leonardo bootloader and software feature set has now been clearly defined.
A complete Arduino®-Leonardo compatible board on a tiny USB-stick! Within the Arduino IDE, it's functionally equivalent to the Arduino Leonardo, that uses the new USB-enabled 16MHz ATmega 32U4.
This is a low-cost version of the StealthDuino! that does away with the USB flash-reader case, and actually offers better sensitivity on the reflective object sensor since it's not behind a thick, darkened plastic case! The board is encased in flexible heat shrink which protects it from electrical shorts, and the heat shrink can be easily trimmed back to expose the ISP-I/O header for external connections.
This is a great way to experiment with the new Arduino "Leonardo" platform! The Leonardo uses the new USB-enabled ATmega 32U4 MCU, with a very powerful bootloader/runtime environment that emulates both a USB mouse and keyboard, as well as a virtual COM port!
Arduino 1.0 includes new commands for the Leonardo such as "Mouse.move(xReading, yReading, 0);" and "Keyboard.write(inChar);", which moves the mouse and types keyboard characters. Very neat for PC interface projects! (note that these new commands do nothing on the UNO, Duemilanove, or older Arduino boards...)
It features some really cool I/O abilities:
- A QRE1113 reflective proximity sensor to simulate a variable analog signal connected to analog port A5 (the semi-translucent case does attenuate the signal a fair bit, but works fairly well!)
- A surface-mount Hall-effect (magnetic) sensor that acts as an ordinary normally-open switch. A magnet held an inch or so away closes the connection, and grounds the normally-high digital input 3 (D3). This input is also the hardware interrupt 0 (INT0), so it can be used to experiment with hardware interrupts.
- Three (3) programmable LEDs, including the standard Arduino® port D13 LED. Two of the LEDs are on PWM outputs 9 and 11 (OC1A, OC0A) to allow experiments with PWM dimming, etc.
- A 6-pin ISP port that follows the SparkFun® standard pinout. Could also be used as a hardware I/O port with four accessible I/O and power. An optional solder-jumper on the underside of the board allows the default ISP "MISO" connection to be swapped with analog port 4 (A4), allowing an external analog input.
Here’s a few sketches that demo the various LEDs and sensors on the StealthDuino.
- This one simply flashes the three LED's in sequence: StealthDuino_Leonardo_Blink_D9_D13.ino
- This one turns on the D13 LED when a magnet is brought near the Hall-effect sensor (akin to closing a contact, like a switch): StealthDuino_Leonardo_Magnet_Sense.ino
- This one reports to the serial monitor window the value of A/D channel A5, which is connected to the IR reflectance sensor. Shine a light, or hold a piece of paper directly over the sensor to see the value change. Note: open the serial monitor only -after- the board has "re-booted" (5-10 seconds or so after programming/insertion), and has made the double-beep sound in Windows, or the serial port won't be there, and all sorts of weirdness will happen! : StealthDuino_Leonardo_analog_serial.ino
A complete Arduino®-Leonardo compatible board on a tiny USB-stick! Functionally equivalent to the Arduino Leonardo, that uses the new USB-enabled 16MHz ATmega 32U4.