Timeline for What can't the ATtiny do that the Arduino can?
Current License: CC BY-SA 3.0
14 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Oct 1, 2017 at 11:13 | history | tweeted | twitter.com/StackElectronix/status/914448252749193216 | ||
Sep 29, 2017 at 7:30 | history | edited | DudeOnRock | CC BY-SA 3.0 |
added 3 characters in body
|
Mar 17, 2014 at 2:21 | vote | accept | DudeOnRock | ||
Aug 27, 2013 at 21:29 | comment | added | Kurt E. Clothier | @ChrisStratton Good point. I just imagine that someone who doesn't know the difference between a bare ATtiny or even an ATmega chip and an Arduino board has no idea what any of that even means (ports, run-time debugging, software USB, etc), so I doubt they would ever need to use them. If so, then they really need to learn a bit more about what they are doing so they are capable of solving simple problems as they are encountered. Then again, I guess that's kind of the mindset of all anti-arduino people such as myself. | |
Aug 27, 2013 at 12:15 | comment | added | Chris Stratton | While you can squeeze a lot into an ATTiny, do make sure your desirability comparison is to a bare ATmega in a similarly minimal circuit, and possibly a '168 from a price perspective (the yet smaller chips aren't necessarily cheaper in low quantities). | |
Aug 27, 2013 at 12:09 | comment | added | Chris Stratton | @Kurt actually there are ports of the much of the Arduino runtime libraries, and even software USB - but of course these have overhead. | |
Aug 27, 2013 at 10:46 | answer | added | Anindo Ghosh | timeline score: 1 | |
Aug 27, 2013 at 10:16 | answer | added | miceuz | timeline score: 5 | |
Aug 27, 2013 at 6:38 | comment | added | Kurt E. Clothier | For the vast majority of Arduino projects I have seen, ATtiny chips would be plenty capable. For the most part, you would be programming via SPI instead of the bootloader, and writing code in C or Assembly instead of the typical Arduino copy and paste from tutorials. | |
Aug 27, 2013 at 6:17 | comment | added | jippie |
It is not about the bootloader here (you can use an external programmer), but some libraries just don't compile to working code (I even understood not all will throw errors either). To the best of my knowledge there is no list of which functions work and which don't, but it doesn't hurt to learn understand how to program the hardware directly anyway because most Arduino functions come with quite a bit overhead. You mustn't want functions like pinMode(); and digitalWrite(); on an ATtiny, just right to the appropriate registers DDRx , PORTx directly. Many similar functions can be found.
|
|
Aug 27, 2013 at 5:32 | answer | added | Passerby | timeline score: 12 | |
Aug 27, 2013 at 4:27 | review | First posts | |||
Aug 27, 2013 at 4:29 | |||||
Aug 27, 2013 at 4:17 | comment | added | Ignacio Vazquez-Abrams | From what I read (which isn't admittedly very much), not all ATtinys have enough flash for the Arduino bootloader. You can probably still compile via Arduino and upload via AVRdude separately though. | |
Aug 27, 2013 at 4:09 | history | asked | DudeOnRock | CC BY-SA 3.0 |