Pages: [1]   Go Down
Author Topic: Please educate me on Attiny programmming  (Read 483 times)
0 Members and 1 Guest are viewing this topic.
London
Offline Offline
Sr. Member
****
Karma: 1
Posts: 269
Arduino has it all
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

I would like to start transferring sketches from my Arduino to stand alone Atmel MCUs. I've done lots of googling around about Attiny's, but some things do not ad up. Can you please help:

1) AdaFruit, SparkFun and Atmel are all selling ISP programers with a 6-pin or 10-pin cables dangling from them. Please do not laough, but how do I connect 6-pin cable end to the DIP-8 chip? Do I plug 6-pin cable into Arduino >> take the original chip out of Arduino >> plug Attiny into the place of original chip >> Download program from ISP programmer into the chip?

2) How programing chips work? Is it like when reset pin, on chip to be programmed, is pulled down, than some other pins are used to send instructions? Which pins need to be connected and how? Where can I find more?

3) I read AVRISP manual. Attiny85 and Attiny84 are not listed in a compatibility list. Am I hallucinating? Atmel chips are not compatible with Atmel's programmer?

4) What are the compatibility issues? Do all the programmers work with all the Attiny's or are there problems and exceptions?
Logged

Denmark
Offline Offline
Edison Member
*
Karma: 35
Posts: 1063
Happy Hobbyist
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

You can use your uno as an programmer.
For example like this:

http://www.ernstc.dk/arduino/attiny85.html

If you use a programmer you just make the same connections:

The 6 or 10 pin connectors and cable on the programmer are

MOSI - > connect to MOSI on Attiny
MISO - > connect to MiSO on Attiny
RESET -> connect to RESET on Attiny
SCK -> connect to SCK on Attiny

And VCC and GRND

You can find the pins in this cheet sheet

http://www.akafugu.jp/posts/resources/reference-sheet/
« Last Edit: December 09, 2012, 10:26:35 am by Erni » Logged

London
Offline Offline
Sr. Member
****
Karma: 1
Posts: 269
Arduino has it all
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Thanks. Does anybody know, is AVRISP Mk.II compatible with Attiny84 and Attiny 85?

« Last Edit: December 09, 2012, 10:41:54 am by DROBNJAK » Logged

Pages: [1]   Go Up
Jump to: