Chipper Board - ATtiny Programming Shield
by Hammock Boy in Circuits > Arduino
12834 Views, 66 Favorites, 0 Comments
Chipper Board - ATtiny Programming Shield
Unleash the full power of an Arduino in 10 different kinds of ATtiny chips.
The Chipper Shield allows anyone with an Arduino or AVR programmer to easily program ATtiny chips. ATtiny chips are the core behind many projects that only need a few pins and cost a fraction of an Arduino ($1-4). With access to PWM and Analog pins ATtiny chips can take on any project in 8, 14 and 20 pin form factors.
Want your own version of the board? The Kickstarter is live!
Features of this shield include:
The Chipper Shield allows anyone with an Arduino or AVR programmer to easily program ATtiny chips. ATtiny chips are the core behind many projects that only need a few pins and cost a fraction of an Arduino ($1-4). With access to PWM and Analog pins ATtiny chips can take on any project in 8, 14 and 20 pin form factors.
Want your own version of the board? The Kickstarter is live!
Features of this shield include:
- 100% Arduino compatible
- Program ATtiny 85/45/25/15/13 84/44/24 2313/4313 chips.
- Debug your program with 2 LEDs and a broken out sensor port.
- Compatible with either an Arduino board or AVR programmer
- House sensors on the proto area of the board with access to broken out power and ground.
- Reset a chip mid-program with the reset button.
History
When I first learned about ATtiny chips, I was ecstatic because there were a number of projects that I worked on where an Arduino was simply to big for the project/expensive.
First working with ATtiny chips proved to be frustrating however. It was a real hassle to wire the chip up in a breadboard program it, insert it into the project, realize something was wrong in the code and start all over again. Debugging was only agitated by the lack of indicators and inability to reset the chip.
What I needed was a way to debug the ATtiny chip without constantly prying it out of DIP sockets (poor legs). Thats when it hit me: AN ATTINY PROGRAMMING SHIELD!
The board is actually on its 3rd version.
First working with ATtiny chips proved to be frustrating however. It was a real hassle to wire the chip up in a breadboard program it, insert it into the project, realize something was wrong in the code and start all over again. Debugging was only agitated by the lack of indicators and inability to reset the chip.
What I needed was a way to debug the ATtiny chip without constantly prying it out of DIP sockets (poor legs). Thats when it hit me: AN ATTINY PROGRAMMING SHIELD!
The board is actually on its 3rd version.
Assembly and Datasheets
I have put together a series of guides on how to use the Chipper Board:
Here are the datasheets:
Here are the datasheets:
A Fun Example
For this example we are going to use a potentiometer to controle the brightness of an LED while running the ATtiny85 on an external 16MHz clock
Parts:
Burn the 16MHz bootloader to the ATtiny85 and then the above script.
After connect the 2 legs of the crystal to pins 3 and 4. Then connect the 22pf capacitors from each of the crystal's legs to ground.
Next hook up 5v and Gnd on the potentiometer and connect the middle pin to pin 2 on ATtiny85.
Lastly connect the resistor to pin 0 on the ATtiny85 and the LED which also connects to Gnd.
As you twist the potentiometer left and right one of the LEDs will change brightness from fully on to fully off.
Parts:
- 2x 22pF capacitor
- 16 MHz crystal
- 10K Pot
- 2x LED and 2x resistor for LED
- 10K Ohm resistor
void setup(){
}
void loop(){
int sensor_value = analogRead(A1);
int output = map(sensor_value,0,1023,0,255);
analogWrite(0,output);
}
Burn the 16MHz bootloader to the ATtiny85 and then the above script.
After connect the 2 legs of the crystal to pins 3 and 4. Then connect the 22pf capacitors from each of the crystal's legs to ground.
Next hook up 5v and Gnd on the potentiometer and connect the middle pin to pin 2 on ATtiny85.
Lastly connect the resistor to pin 0 on the ATtiny85 and the LED which also connects to Gnd.
As you twist the potentiometer left and right one of the LEDs will change brightness from fully on to fully off.
Please Support!
Please support this project on Kickstarter or spread the word. Any help is greatly appreciated!