Entries from Spiff's Electronics Notebook tagged with 'Atmel'


Freeduino 2009 - a plain through hole modern 'duino (June 16, 2009)

This one's been waiting in the wings for a while. The Freeduino 2009 is a through-hole Arduino clone with Duemilanove level features like auto power-supply switching, reset on upload, and everything else you'd expect.

1dac4d55e07cf9d4c69ea37597f08259.image.325x235.jpg

The !


Posted by spiffed at 5:47 PM

Fading LED default test sketch (February 12, 2009)

For some time now, every Arduino bootloaded ATmega we've shipped has come with a default testing sketch that slowly pulses the LED on and off in a cyclic fashion.

A "fading" sketch using hardware PWM is included in the IDE distribution under ExamplesAnalogFading to fade an LED, but the Pin 13 status LED isn't connected to a hardware PWM pin.

The answer is to abuse the delayMicroseconds call to create crude software PWM. By setting the pin high; delaying; setting the pin off; and delaying for a different period, we can change the brightness simply by altering the delay.

One catch to this approach, is if you use purely the on/off delay to control the PWM speed, you're left with either a very fast fade or an unsettling flashing. Instead we keep the delay between 4 and 250 µs (about 3 to 4kHz) and add an additional loop around each on/off loop to set the fading speed. --You can't set the delayMicroseconds code to 0 or you'll get an unexpectedly long delay.

Finally, we use the serial port to output a rising count, just to ensure the serial port works.

Continue reading "Fading LED default test sketch"


Posted by spiffed at 11:11 AM

Introducing the StickDuino (August 25, 2008)

Whoa, how did we miss announcing this? The StickDuino is a fully featured Arduino clone (freeduino) that allows you to carry an Arduino compatible tool around in your pocket.

Head over to it's instructions or buy one below.

Fully Assembled Board Only


Posted by spiffed at 2:05 PM | Comments (0)

Assembled iDuino Kits (July 31, 2008)

We now carry fully assembled iDuino kits for those who need some but don't want to solder. Because they're a special order for assembly, there's a minimum order of 5 units.


Posted by spiffed at 9:35 PM

ATmega328P support in the Arduino IDE (July 21, 2008)

For some time, there's been over the upcoming ATmega328P. Basically an ATmega168 with twice as much flash, RAM, and EEPROM.

Some time ago, I was lucky enough to secure samples for another project, now after hours of tinkering, I'm pleased to show off the first working beta of a hacked IDE and bootloader.


Posted by spiffed at 3:10 AM

Introducing the DuinoStamp (June 26, 2008)

After working in collaboration with Justin Wyatt on his idea for a stamp-sized Freeduino, I'm pleased to introduce the DuinoStamp. It's a convenient breakout board allowing you to easily embed an Arduino compatible environment into your project. The same size as a 34-pin 0.600" DIP, it's easy to incorporate into bread-boards, perf-board, or PCBs. It contains all the components and connections you need, without including costly and large extras.

Head over to it's instructions or buy one below.

Full Kit Board Only


Posted by spiffed at 3:40 PM | Comments (0)

Arduino and Freescale MPX Pressure sensors (April 29, 2008)

Freescale makes a range of integrated pressure sensors with 0-5V analog outputs, in a vast array of configurations. Today, I've picked the MPXV5010DP, but you should be able to adapt this to a range of sensors.

Continue reading "Arduino and Freescale MPX Pressure sensors"


Posted by spiffed at 12:10 AM | Comments (0)

Introducing the USB7 (March 28, 2008)

I'd like to introduce you to my latest idea, the USB7. 6 digits of 7 segment awesomeness all controllable from a USB virtual com port (via AVR-CDC). You send it numbers, it displays them, what could be easier?

The protocol is very simple; the device accepts a string of numbers, '+', '-', '.', space, and upper/lower hex digits (A-E). The device will buffer up to 6 characters to display. When you send a newline or carriage return (0x0A or 0x0D) the display will update with the buffered data. Any other character is thrown away. It is important to remember that decimals take up no character space because they share a digit with the previous number. This means you can't start a string with a '.', you must first send a character (even space) then the '.'.

After the jump I'll set it up to show my download speed using LCD Smartie.

Continue reading "Introducing the USB7"


Posted by spiffed at 9:47 AM | Comments (2)

CGI 303A 20 (January 23, 2008)


The strange-part-du-jour, this DIP 20-sized blue object has only four pins.

Continue reading "CGI 303A 20"


Posted by spiffed at 12:30 AM