===== Paper-Duino-Pi =====
{{ :raspberry_boards:paper-duino-pi_0961.jpg?300 |}}
The Paper-Duino-Pi is an Arduino shield for the Raspberry Pi. Due to the fact that it is designed as Paper-PCB it is easy to create and one doesn't need a printed circuit board. All components are standard electronic parts that are easily available at your favorite electronic shop. Plus they are really cheap. All you need are some electronic knowledge and soldering skills.
{{ :raspberry_boards:paper-duino-pi_0967.jpg?200 |}}
One can use the Arduino IDE running on the Raspberry Pi to upload programs on the Paper-Duino-Pi. Once you uploaded the Firmata you have easy access to all the in- and outputs of the Arduino controlled by Pure Data, Python or Processing. This way it's just simple to connect sensores, buttons and potis to control your program running on your Raspberry Pi. It also functions vice versa: connect light, motors, step- and servomotors and control them with the software running on the Raspberry Pi.
**The version 3 has an additional shutdown and reset button on the GPIO 22 pin.**\\
\\
----
==== Technic ====
The board is designed with an 6.8kOhm resistor connected to 3,3V and the reset pin (of the Atmega chip) and a 4,7nF capacitor connected to the GPIO18 pin of the Raspberry Pi. It is possible to use the autoreset function with the GPIO18 instead the DTR line. A modification of the Arduino IDE and the avrdude that pull the pin 18 in the right moment do the trick.
Due to the fact that the Raspberry Pi runs on 3.3V the Serial Out (TX) of the Paper-Duino-Pi has a voltage divider. The Serial In on the Paper-Duino-Pi works with a 3.3V Serial Signal.
For the header of the board a standard 26 pin header is used - just remove all unnecessary pins (keep the plastic).
The Serial Baud rate of the Arduino Uno is to high so one have to burn the bootloader of an Arduino Duemilanove/ATmega328 on the chip. That is shown here:
[[avr_&_bootloader:bootloader|Burning the Bootloader]]
{{ :raspberry_boards:paper-duino-pi_0956.jpg?300 |}}
{{ :raspberry_boards:paper-duino-pi_0958.jpg?300 |}}
Here you can see how to
[[about:manual|make a paper board]].
For the header of the board a standard 26 pin header is used - just remove all unnecessary pins (keep the plastic).
----
==== Image & software modification ====
That image is based on the [[http://www.raspbian.org/|Raspbian wheezy 3.6]] including a reset and shutdown button on GPIO 22, the Arduino IDE with the GPIO autoreset on pin 18, PD-extended and the Firmata:\\
[[http://dernulleffekt.de/images/paper-duino-pi_24jan2014.img.7z|paper-duino-pi_24jan2014.img.7z]]\\
older version:\\
[[http://dernulleffekt.de/images/paper-duino-pi_15nov2013.img.7z|paper-duino-pi_15nov2013.img.7z]]\\
**Without the paper-duino-pi_v3.2 or a button connected to the GPIO pin 22 the Raspberry Pi will immediatly shut down after booting.**
All modifications are specified here:\\
[[raspberry_boards:duino-pi_modification|Paper-Duino-Pi - modifications]]\\
login: pi\\
password: raspberry\\
----
==== Paper-PCBs ====
**Version 3:**\\
{{:raspberry_boards:paper-duino-pi_32.jpg?300|}}
{{:raspberry_boards:paper-duino-pi_32.xcf.zip|Paper-Duino-Pi_v3.2}}
**Version 2:**\\
{{:raspberry_boards:paper-duino-pi_22.jpg?300|}}
{{:raspberry_boards:paper-duino-pi_22_publish.xcf.zip|Paper-Duino-Pi_v2.1}}
----
==== Parts ====
** for version 2:**
* Atmega328
* 28 pin IC socket
* 4x low current LEDs
* crystal 16MHz
* 2x capacitors 100nF
* 2x capacitors 22pF
* capacitor 47nF
* resistors: 3x 2kOhm, 3x 1kOhm, 1x 6.8kOhm
* reset button
* headers
* a 2x13 pin header
**plus these for version 3:**
* a second reset button
* resisters:1x 330Ohm, 1x 10kOhm
----
==== License ====
The Paper-Duino-Pi was designed by **Wolfgang Spahn** 2012-14.\\
It is licensed under a [[http://creativecommons.org/licenses/by-nc-sa/4.0/"|Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License]].
----