background preloader


Learning Examples | Foundations | Hacking | Links Started by Carlyn Maw and Tom Igoe Nov, 06 Shifting Out & the 595 chip At sometime or another you may run out of pins on your Arduino board and need to extend it with shift registers. This example is based on the 74HC595. The datasheet refers to the 74HC595 as an "8-bit serial-in, serial or parallel-out shift register with output latches; 3-state." How this all works is through something called "synchronous serial communication," i.e. you can pulse one pin up and down thereby communicating a data byte to the register bit by bit. The "serial output" part of this component comes from its extra pin which can pass the serial information received from the microcontroller out again unchanged. "3 states" refers to the fact that you can set the output pins as either high, low or "high impedance." Here is a table explaining the pin-outs adapted from the Phillip's datasheet. Example 1: One Shift Register The Circuit 1. Make the following connections:

Related:  74HC595 - Shift registerTUTO ARDUINOHack

multiple rgb leds with shift registers Yes, I've made a thing using 96 RGB LEDs with 12 shiftregisters for the LEDs. Actually I'm not finished programming the thing yet (TTT), but the display works :-) In my case it's organized as 6 matrices of 4 by 4 LEDs each, hence 2 shiftregisters per matrix. Using 4 bits as row multiplexers, which really is identical in all of them, so I could have saved some shiftregisters (two or three).

kalshagar - Arduino and a Nintendo DS touch screen Quite easy to do, with inexpensive components (Touch screen is 10$, break board connector 4$ and just buy it, don't be a hero), but with one or two caveats. Sample, wiring and code here under. Everything is basically an application of Elm-chan's very good tutorial (but not in Japanese). Caveats and what you should know Don't buy the connector alone, just buy the breakboard, it's not posible to solder with a "usual" iron. Arduino to Twitter over USB - There are many reasons to want a project with the ability to provide status feedback. One useful method for providing feedback is by posting updates to Twitter. This enables one (or many people) to monitor a system from anywhere. It is even possible to, then, receive SMS updates to your phone. I will describe how your Arduino can become a versatile Twitter-enabled device.

arduino-tvout - A composite video output library for AVR/Arduino The goal of this project is to create a simple interupt driven library for generating composite video on a single AVR chip. Currently the output is NTSC or PAL at a resolution of 128x96 by default. The library currently works on ATmega168,328,1280,2560,644p,1284p,AT90USB1286 and more can be added by editing one file. Beta1 for version 1.0 is out!!! ArduinoBoardDuemilanove Overview The Arduino Duemilanove ("2009") is a microcontroller board based on the ATmega168 (datasheet) or ATmega328 (datasheet). It has 14 digital input/output pins (of which 6 can be used as PWM outputs), 6 analog inputs, a 16 MHz crystal oscillator, a USB connection, a power jack, an ICSP header, and a reset button. It contains everything needed to support the microcontroller; simply connect it to a computer with a USB cable or power it with a AC-to-DC adapter or battery to get started. "Duemilanove" means 2009 in Italian and is named after the year of its release. The Duemilanove is the latest in a series of USB Arduino boards; for a comparison with previous versions, see the index of Arduino boards.

ShiftPWM support topic. Latest update: Support not using the SPI Update August 9 2012:I finally had the time to completely rewrite the documentation. You can now find schematics for normal RGB LED's, LED strips and high power LED's on I also updated the library to include load balancing and made the initialization much cleaner. A Multi-Protocol Infrared Remote Library for the Arduino Do you want to control your Arduino with an IR remote? Do you want to use your Arduino to control your stereo or other devices? This IR remote library lets you both send and receive IR remote codes in multiple protocols. It supports NEC, Sony SIRC, Philips RC5, Philips RC6, and raw protocols. If you want additional protocols, they are straightforward to add.

PlanetArduino Use the Maxim MAX7219 LED display driver with Arduino in Chapter 56 of our Arduino Tutorials. The first chapter is here, the complete series is detailed here. Introduction Sooner or later Arduino enthusiasts and beginners alike will come across the MAX7219 IC. And for good reason, it’s a simple and somewhat inexpensive method of controlling 64 LEDs in either matrix or numeric display form. Furthermore they can be chained together to control two or more units for even more LEDs.

playground - InterfacingWithHardware These topics cover the hardware and software setup required to connect an Arduino device with a variety of electronic parts, chips and devices. A related topic not covered under this section is the shield, boards that plug directly into an Arduino's pin layout. Information on the creation and use of specific shields belongs in that section. Information on shields in general and their creation belongs here. See here for a table of shields and the Arduino pins they use. Control many PWM outputs with only 3 Arduino pins ShiftPWM is a software PWM library for Arduino that uses shift registers to expand the number of PWM outputs. With only 3 data pins, you can control an almost unlimited amount of PWM outputs. rh_count Relative Humidity Measurement using the Humirel HS1101 Sensor Arduino, BasicX BX24 and PICAXE-18X copyright, Peter H. Anderson, Baltimore, MD, Nov, '07 (Nov, '07). The discussion has be reworked to also include the Arduino.

MAX72XXHardware These two integrated circuits from Maxim are for driving either 64 individual Led's, or up to 8 digits of 7-segment displays. The drivers implement a SPI compatible slave interface that can be controlled from the Arduino using only 3 of the digital output pins. An extensive datasheet for the IC's is available from the Maxim homepage. Since both chips are very similar, I will use the term MAX72XX for both the MAX7221 and the MAX7219. Windows 1 | Get an Arduino board and USB cable In this tutorial, we assume you're using an Arduino Uno, Arduino Duemilanove, Nano, Arduino Mega 2560 , or Diecimila. If you have another board, read the corresponding page in this getting started guide.