Differences
This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
|
raspberry_boards:paperduinopi_hat [2016/07/16 22:38] admin [Parts] |
raspberry_boards:paperduinopi_hat [2020/06/11 22:13] (current) |
||
|---|---|---|---|
| Line 23: | Line 23: | ||
| * capacitor 68nF | * capacitor 68nF | ||
| * 2x Z-diode 3.3V | * 2x Z-diode 3.3V | ||
| - | * resistors: 3x 2kOhm, 4x 1kOhm, 1x 6.8kOhm | + | * resistors: 2x 2kOhm, 4x 1kOhm, 1x 6.8kOhm |
| * 2x reset button | * 2x reset button | ||
| * one row headers, 2x8, 2x3, 1x4 | * one row headers, 2x8, 2x3, 1x4 | ||
| Line 44: | Line 44: | ||
| $ mkdir paper-duino-pi | $ mkdir paper-duino-pi | ||
| $ cd paper-duino-pi | $ cd paper-duino-pi | ||
| - | Download and unpack the files: | + | Download the files: |
| $ wget http://dernulleffekt.de/programme/paperduinopi_v05/paper-duino-hat_01.tar.gz | $ wget http://dernulleffekt.de/programme/paperduinopi_v05/paper-duino-hat_01.tar.gz | ||
| - | $ tar -xvf paper-duino-pi_Pi2_Jessy.tar.gz | + | And unpack: |
| + | $ tar -xvf paper-duino-hat_01.tar.gz | ||
| Run the setup: | Run the setup: | ||
| $ sudo chmod 755 setup | $ sudo chmod 755 setup | ||
| Line 75: | Line 76: | ||
| $ sudo nano /etc/rc.local | $ sudo nano /etc/rc.local | ||
| Write before "exit 0": | Write before "exit 0": | ||
| - | # run reset and shutdown script | + | printf ">>>>>>>> PAPER-DUINO-HAT 07_2016 http://dernulleffekt.de\n" |
| - | printf "Starts shutdown aund reset button on GPIO 22\n" | + | |
| - | /home/pi/paper-duino-pi/shutdownbutton_hat.py & | + | # run reset and shutdown script |
| - | # blink an LED | + | printf ">>>>>>>> Starting shutdown aund reset button on GPIO 22\n" |
| - | printf "Starts blinking LED on GPIO 27\n" | + | /home/pi/paper-duino-pi/shutdownbutton_hat.py & |
| - | /home/pi/paper-duino-pi/blink_hat.py & | + | |
| + | # blink an LED | ||
| + | printf ">>>>>>>> Starting blinking LED on GPIO 27\n" | ||
| + | /home/pi/paper-duino-pi/blink_hat.py & | ||
| To save and leave press: CTRL+O, Enter, CTRL+X\\ | To save and leave press: CTRL+O, Enter, CTRL+X\\ | ||
| Reboot: | Reboot: | ||
| Line 90: | Line 95: | ||
| {{:raspberry_boards:spi-connection_202802.jpg?400|}}\\ | {{:raspberry_boards:spi-connection_202802.jpg?400|}}\\ | ||
| - | Raspberry Pi | Arduino | + | Raspberry Pi | Paper-Duino-Hat |
| ====================================== | ====================================== | ||
| MOSI (GPIO 10) | MOSI (pin 11) | MOSI (GPIO 10) | MOSI (pin 11) | ||
| Line 97: | Line 102: | ||
| RST (GPIO 25) | Reset | RST (GPIO 25) | Reset | ||
| GND | GND | GND | GND | ||
| - | 3.3V | 3,3V | + | 3.3V | 5V |
| Run on the following commands:\\ | Run on the following commands:\\ | ||
| Line 113: | Line 118: | ||
| ---- | ---- | ||
| - | {{:raspberry_boards:paper-duino-hat_212231.jpg?400|}}\\ | + | ==== License ==== |
| - | ~~socialite:icon facebook twitter googleplus reddit~~ | + | |
| + | The Paper-Duino-Hat was designed by **Wolfgang Spahn** 2012-16.\\ | ||
| + | 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> | ||
| ---- | ---- | ||
| + | |||