-
Notifications
You must be signed in to change notification settings - Fork 15
0 Getting Started
The key feature of the new 8Bit Mixtape is the easiness of uploading new codes using an audio communication protocol, means just playing a .wav sound file from your computer/smart phone (or walkman).
A specific bootloader (TinyAudioBoot) has to be installed on the chip to be able to do so. The bootloader is the first program that is started when you turn on your mixtape. you should see the right led blinking slowly. The bootloader is in waiting programmable mode for 5 seconds, and then starts the main program. If your board, doesnt blink for 5 seconds, maybe the bootloader has disappeared, see below for instructions on how to flash the bootloader (using ISP-programming).
very very simple!
Add this line to your "Additional Board Manager URLs" in the Preferences (click on the little square on the right to open an editable list):
http://8bitmixtape.github.io/package_8bitmixtape_index.json
Download this whole repository and find the path to the example codes: https://github.com/8BitMixtape/8Bit-Mixtape-NEO/tree/master/Code
- ** 8Bit Mixtape Library ** (under development, included since v0.0.13)
- **Adafruit library **
- WS_2812 Light
- See the full list
In case you use a fresh/new attiny, you need to upload the bootloader first, before being able to use it with the Audio-Programming.
Connect an ATTINY85 to your ISP-Programmer. Arduino as ISP works also fine.
Tools > Burn Bootloader
-
Burn fuses:
avrdude -P /dev/ttyACM0 -b 19200 -c avrisp -p t85 -U efuse:w:0xfe:m -U hfuse:w:0xdd:m -U lfuse:w:0xe1:m
sudo avrdude -P usb -b 19200 -c avrispmkii -p t85 -U efuse:w:0xfe:m -U hfuse:w:0xdd:m -U lfuse:w:0xe1:m
-
Flash Bootloader:
avrdude -v -pattiny85 -c avrisp -P/dev/ttyACM0 -b19200 -Uflash:w:/home/dusjagr/.arduino15/packages/8BitMixtape/hardware/avr/0.0.9/bootloaders/tinyaudioboot/AudioBootAttiny85_AudioPB3_LEDPB1.hex:i
avrdude -v -pattiny85 -c avrispmkii -P usb -b19200 -Uflash:w:/home/dusjagr/.arduino15/packages/8BitMixtape/hardware/avr/0.0.15/bootloaders/tinyaudioboot/AudioBootAttiny85_AudioPB3_LEDPB1.hex:i