Pages: [1]   Go Down
Author Topic: i can't get attiny84 working  (Read 200 times)
0 Members and 1 Guest are viewing this topic.
0
Offline Offline
Jr. Member
**
Karma: 0
Posts: 67
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Hi, i've used arduino to program a lot of ATtiny85, no problems. Now i need more pins, then i need attiny84. Connect it to my arduino uno, recheck the connections, select Attiny84 8mhz in boards, load blink example ...
1- burn bootloader = no errors (the same output messages with attiny85)
2- upload sketch = no error (same output messages with attiny85)
and the led is not blinking. Check again, change to 1mhz for test ... same result. Have test with 3 attiny84, with an attiny85 (and selecing the board) it's working.
Why i can't get my led blinking with attiny84?
Logged

Valencia, Spain
Online Online
Faraday Member
**
Karma: 146
Posts: 5490
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Maybe you're looking at the wrong pin.

Grab a multimeter and look at all the pins to see if one is going HI/LO.
Logged

No, I don't answer questions sent in private messages (but I do accept thank-you notes...)

0
Offline Offline
Jr. Member
**
Karma: 0
Posts: 67
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

done, all pins LO smiley-sad
Logged

Valencia, Spain
Online Online
Faraday Member
**
Karma: 146
Posts: 5490
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Try different pins...try direct port access.

Code:
DDRA = 255;
PORTA = 0;
delay(1000);
PORTA = 255;
delay(1000);
That will make 8 pins go LO/HI
Logged

No, I don't answer questions sent in private messages (but I do accept thank-you notes...)

Offline Offline
Sr. Member
****
Karma: 10
Posts: 339
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Hi, i've used arduino to program a lot of ATtiny85, no problems. Now i need more pins, then i need attiny84. Connect it to my arduino uno, recheck the connections, select Attiny84 8mhz in boards, load blink example ...
1- burn bootloader = no errors (the same output messages with attiny85)
2- upload sketch = no error (same output messages with attiny85)
and the led is not blinking. Check again, change to 1mhz for test ... same result. Have test with 3 attiny84, with an attiny85 (and selecing the board) it's working.
Why i can't get my led blinking with attiny84?

-try another attiny84 core
-check fuses are correct
-try avdude
-check reset pin is high

Here are some suggestions.
Logged

Pages: [1]   Go Up
Jump to: