Category Archives: AVR
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
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
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
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
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
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
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