The instructions I have posted here are pretty much the same as instructions given by the incredibly awesome High-Low Tech Tutorial. I posted my version of the instructions here because I plan to make a couple of upcoming projects using ATtiny chips and figured I would show my process.
Remove these ads by
Signing UpStep 1Go get stuff
- Arduino
- Breadboard
- ATtiny85 (or ATtiny45)
- 10uF 16V electrolytic capacitor
- 220ohm 1/4 watt resistor
- LED
- solid core hookup wire
| « Previous Step | Download PDFView All Steps | Next Step » |













































Maybe there is a hardware solution or some sort of hack. I don't really know enough about these LCDs to help you.
http://www.instructables.com/id/Hookup-a-16-pin-HD44780-LCD-to-an-Arduino-in-6-sec/
I've tried everything to get this to work. I've tried both arduino 1.0 and 022 along with a capacitor and not, nothing ever works and I always get this when I click
to burn the bootloader:
avrdude: please define PAGEL and BS2 signals in the configuration file for part ATtiny85
avrdude: please define PAGEL and BS2 signals in the configuration file for part ATtiny85
Then I get this every time I go to upload sketch:
avrdude: stk500_paged_write(): (a) protocol error, expect=0x14, resp=0x64
avrdude: stk500_cmd(): protocol error
hope this helps,
Jacob
I am not certain why you are getting the second error. From my experience I have found that many ATTiny cores may not work with Arduino 1.0.
What version Arduino are you using?
http://search.digikey.com/scripts/dksearch/dksus.dll?KeywordSearch&site=US&keywords=ATTINY85V-10PU-ND
Did you change the pin numbers from 13 to 0 in the blink example?
I wonder if my chip is just bad but that seems unlikely.
I have tried it with and without the capacitor and both ended with the result above.
Thanks for any help
(http://hlt.media.mit.edu/?p=1695)
I tried to follow their instructions, but it didn't seem to work for me.
Thanks.
Thanks for the tip and thanks for a great instructable.
Thanks for any advice.
I have a tutorial on programming the ATtiny13 with the arduino (Arduino IDE 1.0). The tutorial is based on MIT high-low tech lab instructions with modifications for the Attiny13.
Blink.cpp:8:21: error: Arduino.h: No such file or directory
Blink.cpp: In function 'void setup()':
Blink:10: error: 'OUTPUT' was not declared in this scope
Blink:10: error: 'pinMode' was not declared in this scope
Blink.cpp: In function 'void loop()':
Blink:14: error: 'HIGH' was not declared in this scope
Blink:14: error: 'digitalWrite' was not declared in this scope
Blink:15: error: 'delay' was not declared in this scope
Blink:16: error: 'LOW' was not declared in this scope
I am using a mac with arduino 1.0 and a duemilanove board as the programmer. I am trying to program an ATtiny45. I triple checked the instructions. Do I need to modify an other files after dropping the contents of the zip file into the /hardware folder? do the attiny 45 board files need to be in the same hardware folder as the arduino hardware files?
Binary sketch size: 658 bytes (of a 4096 byte maximum)
avrdude: please define PAGEL and BS2 signals in the configuration file for part ATtiny45
avrdude: Yikes! Invalid device signature.
Double check connections and try again, or use -F to override
this check.
http://tronixstuff.wordpress.com/2011/11/23/using-an-attiny-as-an-arduino/#comment-9695
http://www.adafruit.com/blog/2010/10/06/sensor-tutorial-ir-detector-make-remote-controls-and-listeners-making-an-intervalometer-read-ir-commands-from-an-apple-remote-use-for-your-projects-and-more/
**************************************
In file included from /usr/lib/gcc/avr/4.5.3/../../../avr/include/util/delay.h:44:0,
from /usr/lib/gcc/avr/4.5.3/../../../avr/include/avr/delay.h:37,
from /home/zach/Desktop/Dropbox/Treeduino/Hardware/ArduinoCode/hardware/attiny45_85/cores/attiny45_85/wiring_private.h:32,
from /home/zach/Desktop/Dropbox/Treeduino/Hardware/ArduinoCode/hardware/attiny45_85/cores/attiny45_85/WInterrupts.c:36:
/usr/lib/gcc/avr/4.5.3/../../../avr/include/math.h:426:15: error: expected identifier or ‘(’ before ‘double’
/usr/lib/gcc/avr/4.5.3/../../../avr/include/math.h:426:15: error: expected ‘)’ before ‘>=’ token
See nibb's comment. All is well now.