You'll need two pins on the ATtiny dedicated to emulating USB, but that's better than constantly having to hook up SPI lines, right? OK, I know that using a real programmer is much better in a lot of cases, but this is still an interesting way to reprogram small microcontrollers with cheap hardware. Once the bootloader and board definition files are in place, you can send compiled programs over USB directly to the ATtiny84. You'll just have to select the correct bootloader object (.hex) file, change which fuses you burn, and make a few changes to the boards.txt and platform.txt files in Arduino. ATBOY Minimal Retro Gaming Console Project tutorial by Arnov Sharma. A small retro console-like setup based around ATtiny85 x 0.96 OLED for playing space invaders, Tetris, etc. Solder an 8-pin male header onto the first row. The good news is that this process should work for other ATtiny microcontrollers that micronucleus supports, including the ATtiny85, ATtiny841 and ATtiny167. Solder the ATtiny85 SOD-8 (Surface mounted) onto the board. This meant having to go through the process of loading the micronucleus bootloader onto the ATtiny84, changing some fuses, and writing a custom board definition in Arduino.Īll that does not seem so bad, but it is a fairly lengthy process just to get a bootloader onto a single chip. While this is not anything new (the Digispark from Digistump does the same thing), I needed a bootloader with virtual USB for the Atmel ATtiny84, as it offered more pins over the ATtiny85. The Arduino Pro Mini is needed to upload the bootloader once, and then it simply acts as a 5V to 3.3V converter.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |