4 ms·
Awesome work. I just dove into the world of AVR programming and bought a bunch of ATTINY85's. Super easy to work with, extremely versatile, and low power consum
by alexk307 5y ago
Awesome work. I just dove into the world of AVR programming and bought a bunch of ATTINY85's. Super easy to work with, extremely versatile, and low power consumption.
- titzer 5y agoDo you use a USB programmer, or did you buy ones that have a USB programmer built in?
- unwind 5y agoThe ATtiny85 is a rather small 8-bit microcontroller, and controllers in that size range generally don't have peripherals on the complexity level of USB. So no, there are no 85s with USB programming support built in. Truth be told, the 85:s are a bit old now, it was released around 2005. But even the more modern "[012]-series" [1] don't support USB, it is kind of the point. The linked Wikipedia page says: ATtiny microcontrollers specifically excludes various common features, such as: USB peripheral, DMA controller, crypto engine, or an external memory bus. [1]: https://en.wikipedia.org/wiki/ATtiny_microcontroller_comparison_chart https://en.wikipedia.org/wiki/ATtiny_microcontroller_compari...
- titzer 5y agoOk, thanks. (I meant a USB programmer integrated onto a board with the ATTiny85 soldered on). To answer my own question, there are these[1] USB boards that you can pop the ATTiny85 in to program it. I wrote an AVR emulator back in the day, and yeah, they definitely don't have USB :-) [1] https://www.mouser.com/ProductDetail/SparkFun/PGM-11801?qs=WyAARYrbSnY7wU%2FagggNyw%3D%3D&mgh=1&gclid=CjwKCAiA9tyQBhAIEiwA6tdCrIEfq-9YLObacBDGsyEpDIOdQaPPKZxCvPw86AIBU1Qf-1xBqTrhjBoCeDEQAvD_BwE https://www.mouser.com/ProductDetail/SparkFun/PGM-11801?qs=W...
- garaetjjte 5y agoThere are AVRs with USB, in XMEGA series. But that's probably dead market segment, if you want something more complex than ATtiny/mega you usually go to ARM Cortex-M nowadays.
- alexk307 5y agoI flashed the Arduino bootloader on mine by using my Arduino Uno as a programmer