Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
arduino_clones:papertiny [2018/05/24 21:22] admin [Firmware] |
arduino_clones:papertiny [2018/05/25 18:43] admin [Links & Knowledge] |
||
---|---|---|---|
Line 16: | Line 16: | ||
==== Firmware ==== | ==== Firmware ==== | ||
That's a manual for Linux, for Windows it could be done similar with the power shell.\\ | That's a manual for Linux, for Windows it could be done similar with the power shell.\\ | ||
- | You can either use the Digispark bootloader and their software or the Adafruit bootloader and their software.\\ | + | You can either use the Digispark bootloader together with the Digispart IDE modification or the Adafruit bootloader with the Adafruit software.\\ |
- | ====Burn The Adafruit Bootloader=== | + | ===Burn The Adafruit Bootloader=== |
Download the bootloader from here: [[https://github.com/adafruit/Adafruit-Trinket-Gemma-Bootloader]], unpack it and cd to the folder.\\ | Download the bootloader from here: [[https://github.com/adafruit/Adafruit-Trinket-Gemma-Bootloader]], unpack it and cd to the folder.\\ | ||
$ cd to_your_folder.../Adafruit\ Trinket/Adafruit-Trinket-Gemma-Bootloader-master/ | $ cd to_your_folder.../Adafruit\ Trinket/Adafruit-Trinket-Gemma-Bootloader-master/ | ||
- | With an AVR Programmer or a Paperduino [[avr_bootloader:bootloader|burn the bootloader]]. Connect the SCK, MISO, MOSI, Reset, GND and +5V pins. If the avrdude is installed run the following commands in your terminal. If avrdude is not installed run "sudo apt-get install avrdude" or "sudo pacman -S avrdude" depending on your linux. Depending on your programmer use for "-c" your protocol and for "-P" the port on your computer. For "-p" write t85 it stand for your chip the ATiny.\\ | + | With an AVR Programmer or a Paperduino [[avr_bootloader:bootloader|burn the bootloader]]. Connect the SCK, MISO, MOSI, Reset, GND and +5V pins. If the avrdude is installed run the following commands in your terminal.\\ |
+ | If avrdude is not installed run "sudo apt-get install avrdude" or "sudo pacman -S avrdude" depending on your linux. Depending on your programmer use for "-c" your protocol and for "-P" the port on your computer. For "-p" write t85 it stand for your chip the ATiny.\\ | ||
1. Erase the chip: | 1. Erase the chip: | ||
$ sudo avrdude -p t85 -c stk500v2 -P /dev/ttyACM0 -e | $ sudo avrdude -p t85 -c stk500v2 -P /dev/ttyACM0 -e | ||
Line 30: | Line 31: | ||
- | ====Burn The Digispark Bootloader=== | + | ===Burn The Digispark Bootloader=== |
Download the bootloader from here: [[https://github.com/micronucleus/micronucleus]], unpack it and cd to the folder.\\ | Download the bootloader from here: [[https://github.com/micronucleus/micronucleus]], unpack it and cd to the folder.\\ | ||
$ cd to_your_folder.../micronucleus-master/firmware/releases/ | $ cd to_your_folder.../micronucleus-master/firmware/releases/ | ||
- | With an AVR Programmer or a Paperduino [[avr_bootloader:bootloader|burn the bootloader]]. Connect the SCK, MISO, MOSI, Reset, GND and +5V pins. If the avrdude is installed run the following commands in your terminal. If avrdude is not installed run "sudo apt-get install avrdude" or "sudo pacman -S avrdude" depending on your linux. Depending on your programmer use for "-c" your protocol and for "-P" the port on your computer. For "-p" write t85 it stand for your chip the ATiny.\\ | + | With an AVR Programmer or a Paperduino [[avr_bootloader:bootloader|burn the bootloader]]. Connect the SCK, MISO, MOSI, Reset, GND and +5V pins.\\ |
+ | If the avrdude is installed run the following commands in your terminal. If avrdude is not installed run "sudo apt-get install avrdude" or "sudo pacman -S avrdude" depending on your linux. Depending on your programmer use for "-c" your protocol and for "-P" the port on your computer. For "-p" write t85 it stand for your chip the ATiny.\\ | ||
1. Erase the chip: | 1. Erase the chip: | ||
$ sudo avrdude -p t85 -c stk500v2 -P /dev/ttyACM0 -e | $ sudo avrdude -p t85 -c stk500v2 -P /dev/ttyACM0 -e | ||
Line 43: | Line 45: | ||
---- | ---- | ||
==== Software ==== | ==== Software ==== | ||
- | Follow the instruction for the Digispark board: [[http://digistump.com/wiki/digispark/tutorials/connecting]]\\ | + | Depending on your bootloader follow the instruction for the Digispark board: \\ [[http://digistump.com/wiki/digispark/tutorials/connecting]]\\ |
+ | or the instruction of the Adafruit Trinket board:\\ | ||
+ | [[https://learn.adafruit.com/introducing-trinket/introduction]]\\ | ||
---- | ---- | ||
==== Schematic ==== | ==== Schematic ==== | ||
- | {{:arduino_clones:schematic_papertiny.jpg?300|}}\\ | + | {{:arduino_clones:schematic_2.jpg?300|}} |
---- | ---- | ||
Line 75: | Line 79: | ||
===ATtiny Projects:=== | ===ATtiny Projects:=== | ||
- | [[https://cocomake7.github.io/#|CocoMake7]]\\ | + | [[https://cocomake7.github.io/#]]\\ |
- | [[http://digistump.com/wiki|Digispark]]\\ | + | [[http://digistump.com/wiki]]\\ |
- | + | [[http://highlowtech.org/?p=1695]] | |
- | === Adafruit Trinket=== | + | |
[[https://learn.adafruit.com/introducing-trinket/introduction]]\\ | [[https://learn.adafruit.com/introducing-trinket/introduction]]\\ | ||
- | [[https://learn.adafruit.com/introducing-trinket/setting-up-with-arduino-ide]]\\ | ||
- | [[https://github.com/adafruit/Adafruit-Trinket-Gemma-Bootloader]]\\ | ||
[[https://learn.adafruit.com/usbtinyisp/avrdude#for-linux|USBTinyISP for Linux]]\\ | [[https://learn.adafruit.com/usbtinyisp/avrdude#for-linux|USBTinyISP for Linux]]\\ | ||