PaperTiny


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 Digispark board or the Adafruit Trinket board.
Thanks to Marc, Yashas, Shreyasi and Budi from Cocomake7 for the inspiration. The paper version of the Cocomake7 is here.

Back:


Paper PCB

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 Adafruit Bootloader

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 a Paperduino 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.
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/

With an AVR Programmer or a Paperduino 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:t85_default.hex:i

Software

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


Parts

  • Resistors:
  • 2x 2 kOhm
  • 1x 1,5 kOhm
  • 2x 68 Ohm
  • Capacitors:
  • 2x 100 nF
  • 1x 100 µF
  • Diodes:
  • 1x 1N4007
  • 2x Z-Diode 3,3V
  • Semiconductors
  • 1×7805
  • 2x Standart LED
  • Mechanical:
  • 1x IC socket, 8pins
  • 1x Pin-Strip male 1×2
  • 2x Pin-Strip female 1×4
  • Push Button

ATtiny Projects:

Technical Details: