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
raspberry_boards:paperduinopi_168 [2012/12/05 15:29]
admin
raspberry_boards:paperduinopi_168 [2020/06/11 22:13] (current)
Line 1: Line 1:
-**== Paper-Duino-Pi =======================================**+===== Paper-Duino-Pi ​168 =====
  
-{{ :​raspberry_boards:​paper-duino-pi_0961.jpg?​300 |}}+You find a general introduction here: 
 +[[raspberry_boards:​paperduinopi|Paper-Duino-Pi]]
  
- +{{:​raspberry_boards:​paper-duino-pi_0972.jpg?300|}}
-**== Introduction =========================================** +
- +
-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. +
- +
-{{ :​raspberry_boards:​paper-duino-pi_0965.jpg?300 |}} +
- +
- +
-**== Technical documentation ==============================**+
  
 Unfortunately one can't use the autoreset function of an actual Arduino, because of the missing DTR line on the serial connector of the Raspberry. Therefore the board was designed with the Atmega 168. With that chip one can burn the bootloader of the old Arduino NG. That Arduino has no autoreset but doesn'​t need one. That's why you have to reset the Arduino manually to upload a program. After the IDE compiled the sketch you have to reset the Arduino. Once you've done this the IDE starts to upload the program. Unfortunately one can't use the autoreset function of an actual Arduino, because of the missing DTR line on the serial connector of the Raspberry. Therefore the board was designed with the Atmega 168. With that chip one can burn the bootloader of the old Arduino NG. That Arduino has no autoreset but doesn'​t need one. That's why you have to reset the Arduino manually to upload a program. After the IDE compiled the sketch you have to reset the Arduino. Once you've done this the IDE starts to upload the program.
Line 21: Line 10:
 Same goes for the Paper-Duino-Pi:​ Just press the reset-button of the board after you clicked on the upload-button of the IDE (the IDE prints "​compiling"​). Release it as soon as the uploading begins (the IDE prints "​uploading"​). Then the upload of the program will start. After the upload is finished the Paper-Duino-Pi needs 6 seconds to start again. These 6 seconds are crucial, for the Paper-Duino-Pi waits for incoming serial dates. So be careful not to send any data because the Paper-Duino-Pi will start to burn these instead of the intended program! Same goes for the Paper-Duino-Pi:​ Just press the reset-button of the board after you clicked on the upload-button of the IDE (the IDE prints "​compiling"​). Release it as soon as the uploading begins (the IDE prints "​uploading"​). Then the upload of the program will start. After the upload is finished the Paper-Duino-Pi needs 6 seconds to start again. These 6 seconds are crucial, for the Paper-Duino-Pi waits for incoming serial dates. So be careful not to send any data because the Paper-Duino-Pi will start to burn these instead of the intended program!
  
-{{ :​raspberry_boards:​paper-duino-pi_0956.jpg?​300 |}} +{{:​raspberry_boards:​paper-duino-pi_0981.jpg?300|}}
- +
-{{ :​raspberry_boards:​paper-duino-pi_0958.jpg?300 |}}+
  
 For the header of the board a standard 26 pin header is used - just remove all unnecessary pins (keep the plastic). For the header of the board a standard 26 pin header is used - just remove all unnecessary pins (keep the plastic).
Line 30: Line 17:
 [[about:​manual|make a paper board]] [[about:​manual|make a paper board]]
 and how to  and how to 
-[[arduino_clones:​bootloader|burn a bootloader]]+[[arduino_clones:​bootloader|burn a bootloader]] ​(Arduino NG)
  
-**== For the Future =======================================** +---- 
- +==== Linux Modification ​====
-The board is designed with the reset pin (of the Atmega chip) connected to 3,3V (with 10 kOhm) and to the GPIO18 pin of the Raspberry Pi. It should be possible to use the autoreset with the GPIO18 as an DTR line. A modification of the Arduino IDE or the avrdude that pull the pin 18 in the right moment will do it. In the future the board in combination of an Atmega 328 can be used as an Arduino Uno clone. +
- +
-**== Linux modification ===================================**+
  
 For using the serial line of the Raspberry Pi you have to make some small modifications:​ For using the serial line of the Raspberry Pi you have to make some small modifications:​
Line 63: Line 47:
 [[http://​codeandlife.com/​2012/​07/​29/​arduino-and-raspberry-pi-serial-communication/​|www.codeandlife.com]] [[http://​codeandlife.com/​2012/​07/​29/​arduino-and-raspberry-pi-serial-communication/​|www.codeandlife.com]]
  
 +----
 +==== Paper-PCBs ====
  
-**== Paper-PCBs ===========================================** +{{:​raspberry_boards:​paper-duino-pi_13.jpg?​300|}}
- +
-{{:​raspberry_boards:​paper-duino-pi_13.jpg?​100|}}+
  
 {{:​raspberry_boards:​paper-duino-pi_13_publish.xcf.zip|paper-duino-pi_13.zip}} {{:​raspberry_boards:​paper-duino-pi_13_publish.xcf.zip|paper-duino-pi_13.zip}}
  
-**== Components ​===========================================**+---- 
 +==== Parts ====
   * Atmega168   * Atmega168
   * 4 low current LEDs   * 4 low current LEDs
Line 81: Line 66:
   * 26 pin header   * 26 pin header
  
-**=========================================================**+---- 
 +==== License ​==== 
 + 
 +The Paper-Duino-Pi 168 was designed by **Wolfgang Spahn** 2012.\\ 
 +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>​
  
 +----