Category Archives: AVR

Programming a Christmas Tree

As we planned for Christmas this year, my partner suggested that maybe we should replace the lights for the tree. “While we’re at it,” she asked, “is there anything out there that’s more controllable than just the ones that twinkle … Continue reading

Posted in arduino/wiring, AVR, circuits, code | Tagged , , , | Leave a comment

A Few Good Reasons Why Peter Knight Rocks

Peter Knight works with Massimo and Alex and co. at Tinker.it. He’s written some great AVR code, which is useful in Arduino.  For example: Secret Thermometer takes advantage of the ATMega’s internal thermometer. Turns your ‘328-based Arduino into a thermometer … Continue reading

Posted in arduino/wiring, AVR, circuits | Tagged , , , | Leave a comment

Tilty ball: Controlling 64 LEDs and a 2-axis accelerometer

This example shows how to control 64 LEDs and read the input from two axes of an accelerometer on an Arduino.  The Arduino used here is a Duemilanove, but it will work on any of the models out there prior … Continue reading

Posted in arduino/wiring, AVR, circuits | Tagged , , | 1 Comment

8×8 LED matrix control on an Arduino Mega

Once you’ve mastered microcontroller programming, you might be tempted to control a lot of LEDs.  Lots of people have this desire once they master the basics. Many microcontrollers have a limited number of output pins, however, so you might think … Continue reading

Posted in arduino/wiring, AVR, circuits | Tagged , | 6 Comments

Controlling Inkjet Printers from a microcontroller

There was an interesting thread on the Sketching in Hardware mailing list a while back on how to control an inkjet printer.   Wendy Ju started the discussion. Following are some of the links from that thread: A closed, proprietary portable … Continue reading

Posted in arduino/wiring, AVR, BX-24, circuits, pBasic (Basic stamp), PIC | Tagged | 1 Comment

Converting an Arduino Diecimila into an ICSP programmer

Kimio Kosaka has made a way to program a virgin Atmega168 without a hardware programmer.  You use a modified version of the avrdude programming software that can access the extra pins of an FTDI USB-to-serial chip, do a little soldering … Continue reading

Posted in arduino/wiring, AVR, circuits, misc | Tagged | Leave a comment

AVR Microcontroller Fuse Calculator

Calculating the configuration fuses for microcontrollers is always a pain. Many programming environments can do this for you, but in case yours doesn’t, here’s a handy fuse calculator for calculating the fuses on Atmel’s AVR microcontrollers. Continue reading

Posted in arduino/wiring, AVR | Comments Off on AVR Microcontroller Fuse Calculator

Random Numbers and Physical Computing

That can take up lots of processing time, so it’s usually the first function to go when writing a microprocessor language.In fact, most of what you do in programming physical computing projects is to figure out how to deal with the world’s natural randomness and make it look smooth…. Your consciousness is a great leveller for the sensors that are your eyes, ears, skin, nose, and taste buds When you move a photoresistor from one room to another, your readings will be totally different, and all of a sudden, you have to re-calculate what is "average" and what constitutes the lighting change that you want. Continue reading

Posted in arduino/wiring, AVR, BX-24, misc, pBasic (Basic stamp), PIC, PicBasic Pro, XBee | Tagged , , | Leave a comment