Pages: 1 [2]   Go Down
Author Topic: What can the ATTiny85 do?  (Read 5258 times)
0 Members and 1 Guest are viewing this topic.
Grand Blanc, MI, USA
Offline Offline
Faraday Member
**
Karma: 92
Posts: 3941
CODE is a mass noun and should not be used in the plural or with an indefinite article.
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Yes it can, I've programmed sleep modes on both the ATtiny85 and the ATmega328P from the Arduino IDE. I use the Arduino-Tiny core with the IDE for programming the ATtiny: http://code.google.com/p/arduino-tiny/
Logged

MCP79411/12 RTC ... "One Million Ohms" ATtiny kit ... available at http://www.tindie.com/stores/JChristensen/

London
Offline Offline
Full Member
***
Karma: 0
Posts: 146
Ugi was not declared in this scope
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Magic - thanks Jack.  I'll try that core (I had been using one from HighLowTech) and LibC.
Logged

Wisconsin
Offline Offline
Edison Member
*
Karma: 4
Posts: 1001
I LOVE THIS STUFF!!!!
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Another idea is since the ATtiny85 has 4 PWM pins (or maybe 6, I can't remember), you can control a TLC5940 with it, which happens to have a library for it and is capable of outputting 16 PWM channels, which can be used for leds and/or servos.  If you don't wanna use it for that, then ladyada has lots of ideas. 

Logged

Accelerate to 88 miles per hour.

Offline Offline
Newbie
*
Karma: 0
Posts: 8
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I thought it would be best to post in this thread instead of starting a new one as I'm not sure if i can use them all.


I have been looking at a few different variations of this chip.


Breaking down the model number into a few bits
ATtiny[45] [v]-[10] [PU]

[25]/[45]/[85] As far as I can tell this refers to chips with slightly different functionality.
[v] Different speed grade. V means 0-4MHz, no v 0-10MHz not sure what that means as I thought the next number is clock speed
[10] Can be 10 or 20. Clock speed in MHz
[PU] Package type, either through hole or SMT.

I'm currently using the guide of "Shrinkifying" your Arduino project.

I think the 2nd number in the model number won't matter as by the look of it the chip has an internal clock.

So what I'm getting at is. For the "Shrinkify" project can I use any version of the ATtiny45 or ATtiny85 as long as its not one of the "V" versions? or can I use any of them.

Many thanks.
Logged

Grand Blanc, MI, USA
Offline Offline
Faraday Member
**
Karma: 92
Posts: 3941
CODE is a mass noun and should not be used in the plural or with an indefinite article.
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

I thought it would be best to post in this thread instead of starting a new one as I'm not sure if i can use them all.

Hello cjnewbs,

The 25/45/85 differ only in the amount of memory. 2K/4K/8K bytes of flash, but also 128/256/512 bytes of EEPROM and SRAM.

The "V" versions can operate from 1.8 to 5.5 volts, their max clock speed is 10MHz.

The "non-V" versions can operate from 2.7 to 5.5 volts, their max clock speed is 20MHz.

The datasheet is your friend smiley-grin  See the first page for a summary of features, including the memory sizes.

See section 21.3 for clock speed vs. supply voltage.

See section 25 "Ordering Information" for a breakdown of all the part numbers including package types.
Logged

MCP79411/12 RTC ... "One Million Ohms" ATtiny kit ... available at http://www.tindie.com/stores/JChristensen/

Offline Offline
Newbie
*
Karma: 0
Posts: 8
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Many thanks.

Was looking through the 200+ pages of the data sheet and realised the voltage difference for the v version after posting. Stupidly I was was just skimming through the whole document instead of reading through the 1st page as that would have answered my questions.
Logged

Grand Blanc, MI, USA
Offline Offline
Faraday Member
**
Karma: 92
Posts: 3941
CODE is a mass noun and should not be used in the plural or with an indefinite article.
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Many thanks.

Was looking through the 200+ pages of the data sheet and realised the voltage difference for the v version after posting. Stupidly I was was just skimming through the whole document instead of reading through the 1st page as that would have answered my questions.

No worries. Don'tcha love that the thing is 200+ pages and still called a datasheet?  smiley-lol
Logged

MCP79411/12 RTC ... "One Million Ohms" ATtiny kit ... available at http://www.tindie.com/stores/JChristensen/

Pages: 1 [2]   Go Up
Jump to: