Go Down

Topic: What can the ATTiny85 do? (Read 6321 times) previous topic - next topic

Jack Christensen

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/
MCP79411/12 RTC ... "One Million Ohms" ATtiny kit ... available at http://www.tindie.com/stores/JChristensen/

Dr_Ugi

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

funkyguy4000

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. 

Accelerate to 88 miles per hour.

cjnewbs

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.

Jack Christensen


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 :D  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.
MCP79411/12 RTC ... "One Million Ohms" ATtiny kit ... available at http://www.tindie.com/stores/JChristensen/

cjnewbs

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.

Jack Christensen


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?  XD
MCP79411/12 RTC ... "One Million Ohms" ATtiny kit ... available at http://www.tindie.com/stores/JChristensen/

Go Up