![]() ![]() ![]() ![]() ![]() People use a custom box for this such as a USBTinyISP or they use an Arduino board as an ISP like this. The go-between is called an ISP (In-System Programmer). To flash an ATTiny you need to use the SPI protocol and you won’t get your laptop talking that through a USB cable, so you need something to act as a go-between, taking the serial data being sent down the USB cable, turning it into SPI and pushing it through to the ATTiny. I could mention boot loaders and similar but I’d get out of my depth fairly soon. Not so with an ATTiny because it isn’t as clever. Teensy boards can blink lights just fine, but so can ATTinys, and ATTinys are smaller and cheaper.īut flashing a Teensy is very simple, you just plug a USB cable into it and use the usual Arduino IDE to load your code directly from a desktop or laptop. I’ve been using Teensy boards for several things lately and they are very good. Here’s the project: flash an ATTiny chip from a laptop using a Teensy board.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |