Category Archives: arduino/wiring
CD4067 Multiplexer used to control LEDs
This tutorial will show how to control multiple LED outputs from a microcontroller using a CD4067 analog multiplexer. This is a stub. More explanation will follow, but for now, here are schematics and code for Arduino. Parts you’ll need: CD4067B … Continue reading
STP16C596 Shift Register
This tutorial will show how to control multiple LED outputs from a microcontroller using an STP16C596 shift register. The STP16C596 is similar to the popular 74HC595 shift register, but it’s nicer because it can sink a constant current to the … 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
A Tale of Two Pongs
When I start learning a new platform, I have a simple rule: If you don’t know what to do with it, make pong. What I love about pong is that it’s a simple rule set, easy to understand, and implementable … 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
RFID to Web Interface
This tutorial introduces a Processing interface sketch provides a GUI for the command-line interface written into the Arduino RFID example. You should read that tutorial first. The sketch shown here also allows you to upload tags it reads to O’Reilly’s … Continue reading
Arduino-based RFID reader
This tutorial shows how to make an Arduino-based RFID reader that reads Mifare tags and stores them in EEPROM. It is a modification of Alex Zivanovic‘s code on Tinker.it. Thanks to Alex and Massimo Banzi for the reference. Once you’ve … Continue reading
Multiple time stamp checks on a microcontroller
Sometimes you need to manage multiple events with a microcontroller that all require different timing. For example, you might want to control a servomotor (which requires a 20 millisecond delay), blink an LED once a second, and read some sensors … Continue reading
Fading an LED from a switch
This example uses a digital input to control a fading LED. The LED turns on when the switch goes from off to on, then fades slowly to black. It illustrates two principles: the idea of edge detection or state change … Continue reading