Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
arduino_clones:papertiny [2018/05/23 22:38]
admin
arduino_clones:papertiny [2020/06/11 22:13] (current)
Line 3: Line 3:
 {{:​arduino_clones:​papertiny_193919.jpg|}}\\ {{:​arduino_clones:​papertiny_193919.jpg|}}\\
 The PaperTiny in an Arduino board based on Paper PCB and an ATtiny85 chip. It has USB on board and can be programmed like an Arduino.\\ The PaperTiny in an Arduino board based on Paper PCB and an ATtiny85 chip. It has USB on board and can be programmed like an Arduino.\\
-One can use it like the [[http://​digistump.com/​wiki/​digispark|Digispark]] board.\\+One can use it like the [[http://​digistump.com/​wiki/​digispark|Digispark]] board or the [[https://​learn.adafruit.com/​introducing-trinket/​introduction|Adafruit Trinket]] board.\\
 Thanks to Marc, Yashas, Shreyasi and Budi from [[https://​cocomake7.github.io/#​|Cocomake7]] for the inspiration. The paper version of the Cocomake7 is [[arduino_clones:​papercocomake7|here]].\\ Thanks to Marc, Yashas, Shreyasi and Budi from [[https://​cocomake7.github.io/#​|Cocomake7]] for the inspiration. The paper version of the Cocomake7 is [[arduino_clones:​papercocomake7|here]].\\
  
Line 10: Line 10:
 ---- ----
 ==== Paper PCB ==== ==== Paper PCB ====
-{{:​arduino_clones:​papertiny_12.jpg?​200|}}\\ +{{:​arduino_clones:​papertiny_20.jpg?​200|}}\\ 
-{{ :​arduino_clones:​papertiny_12.zip |}}\\+{{ :​arduino_clones:​papertiny_20.zip |}}\\
  
 ---- ----
 ==== Firmware ==== ==== Firmware ====
 +That's a manual for Linux, for Windows it could be done similar with the power shell.\\
 +You can either use the Digispark bootloader together with the Digispart IDE modification or the Adafruit bootloader with the Adafruit software.\\
  
-Burn The Digispark ​Bootloader:​\\ +===Burn The Adafruit ​Bootloader=== 
-That'​s ​manual ​for Linux for Windows ​it could be used similar in combination with the power shell.\\+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/​ 
 +With an AVR Programmer or 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: 
 +    $ sudo avrdude -p t85 -c stk500v2 -P /​dev/​ttyACM0 ​ -e 
 +2. Set the fusebits to E:FE H:DD L:E1 : 
 +    $ sudo avrdude -p t85 -c stk500v2 -P /​dev/​ttyACM0 -B 6 -v -U lfuse:​w:​0xe1:​m -U hfuse:​w:​0xdd:​m -U efuse:​w:​0xfe:​m 
 +3. Burn the bootloader:​ 
 +    $ sudo avrdude -p t85 -c stk500v2 -P /​dev/​ttyACM0 -U flash:​w:​trinketgemma_v1.hex:​i 
 + 
 + 
 +===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.\\
 +On Debian together with Arduin 1.8.5 use the old 2.01 version of the bootloader: [[https://​github.com/​micronucleus/​micronucleus/​releases/​tag/​v2.01]]\\
     $ 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 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 systhemAnd depending ​on your programmer use for "​-c" ​that protocol and for "​-P"​ the port on your computer.For "​-p"​ write t85 that 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 46:
 ---- ----
 ==== 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]]\\ 
 +**Select the "​Adafruit Trinket 8MHz" board from Tools/Board and "​USBtinyISP"​ from Tools/​Programmer.**
 ---- ----
 ==== Schematic ==== ==== Schematic ====
-{{:​arduino_clones:​schematic_papertiny.jpg?300|}}\\+{{:​arduino_clones:​schematic_2.jpg?300|}}
  
 ---- ----
 ==== Parts ==== ==== Parts ====
   * **Resistors:​**   * **Resistors:​**
-  * 2x 220 Ohm+  * 2x 2 kOhm
   * 1x 1,5 kOhm   * 1x 1,5 kOhm
   * 2x 68 Ohm   * 2x 68 Ohm
   * **Capacitors:​**   * **Capacitors:​**
-  * 1x 100 nF+  * 2x 100 nF
   * 1x 100 µF   * 1x 100 µF
   * **Diodes:**   * **Diodes:**
Line 62: Line 80:
  
 ===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]]\\
  
 ===Technical Details:=== ===Technical Details:===
 +
 +{{:​arduino_clones:​attiny_pinout.png?​600|}}\\
 +
 [[http://​www.atmel.com/​Images/​Atmel-2586-AVR-8-bit-Microcontroller-ATtiny25-ATtiny45-ATtiny85_Datasheet.pdf|ATtiny85 Datasheet]]\\ [[http://​www.atmel.com/​Images/​Atmel-2586-AVR-8-bit-Microcontroller-ATtiny25-ATtiny45-ATtiny85_Datasheet.pdf|ATtiny85 Datasheet]]\\
  
Line 77: Line 95:
  
 ---- ----
-~~socialite:icon facebook twitter googleplus reddit tumblr~~+==== License ==== 
 + 
 +The PaperTiny was designed by **Wolfgang Spahn** 2017-18.\\ 
 +It is licensed under a [[http://​creativecommons.org/​licenses/​by-nc-sa/​4.0/"​|Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License]]. 
 + 
 +<​html>​ 
 +<a rel="​license"​ href="​http://​creativecommons.org/​licenses/​by-nc-sa/​4.0/"><​img alt="​Creative Commons License"​ style="​border-width:​0"​ src="​https://​i.creativecommons.org/​l/​by-nc-sa/​4.0/​88x31.png"​ /></​a>​  
 +</​html>​
  
 ---- ----