PiDuino Assembly Guide

25/06/2014

This guide is the assembly instructions for the PiDuino Kit. The PiDuino enables the Pi to have real-time and analog capabilities.

First check all items are correct in the kit.

Kit Contents

  • 1k resistor
  • 10 resistor
  • 2 x 100nF capacitor
  • 2 x 22pF capacitor
  • 10uF capacitor
  • 3.3v voltage regulator
  • Atmega328p
  • red LED
  • 8MHz crystal
  • Push button
  • 28 pin ic socket
  • 4 way header
  • 2 x ten way header
  • 3 x two way header
  • 26way header
  • 28way IC socket
  • 3 x jumper
  • PCB

Start Soldering

If you are new to soldering then checkout this tutorial from Sparkfun.

Solder 3 x two way header.

==  Solder the two 22pF capacitor on C1 and C2. The capacitor has the number 22 printed on it.

== Solder the two 100nF capacitor on C3 and C4. The capacitor has the number 104 printed on it.

 

Solder the 10uF capacitor on C6. Check the polarity is correct.

 

==  Solder the 1k resistor on R2. Colour code Brown – Black – Red.

== Solder the 10k resistor on R1. Colour code Brown – Black – Orange.

== Solder the 8MHz crystal on Y1.

== Solder the 3.3v regulator on IC2.

== Solder the Push button on S1.

== Solder the red LED on LED1. Ensure the short lead is connected to the Cathode (k) on the PCB.

 

== Solder the 4 way header on JP6. Please note the Rev B PCB does not have a gap between JP6 and JP5, it will be a tight fit. Just push them together.

== Solder the 2 x ten way header on JP2 and JP5.

== Solder the 28 way IC socket on IC1.

Solder the 26way connector on CON4. Note the connector is mounted underneath and solder on top.

 

== Insert jumper on JP1, JP3 and JP4.

== Insert the Atmega328 IC on IC1.

Insert the nylon post and plug into the Raspberry Pi.

F

Install the Arduino IDE software and test from this guide.

Short URL:

Tags: , ,

2 Responses to PiDuino Assembly Guide

  1. David Whale on 20/07/2014 at 22:55

    You may like to know that my work experience student wrote 3 projects over summer for the PiDuino

    (1) An “etch-a-sketch” game using two variable resistors and a pygame window
    https://github.com/the3rdsun/Analog

    (2) A real time clock display using a persistence of vision update of a 4×7 segment display:
    https://github.com/the3rdsun/Display

    (3) Driving NeoPixels from python code:
    https://github.com/the3rdsun/NeoPixels

    Please do try these three projects out, as they demonstrate how the PiDuino and the RaspberryPi make a great combination for analog and real-time projects. The PiDuino code does the real time part of scanning the hardware, and data is transferred over the serial port back to the Pi, which does the “big brain” stuff in python.

    Note that each of these three examples uses an embedded version of pyserial on the raspberry pi to communicate via the RX/TX lines on the GPIO header. Most installs of raspbian OS on the Raspberry Pi have a console installed by default on these pins.

    You can disable the console by editing the file /boot/cmdline.txt and removing the reference to /dev/ttyAMA0

    Also edit /etc/inittab and put a ‘#’ comment marker in front of any getty line that refers to /dev/ttyAMA0

    Take great care with these files as if you get them wrong, you may prevent your Pi from booting properly.

    Then reboot your Pi, load the arduino sketch into the Piduino and run the associated Python program for that sketch, and you will see a project that uses two processors in the best possible combination – Arduino doing the real-time part in C, and the Raspberry Pi doing the “big brain” stuff in Python.

    David Whale
    @whaleygeek

  2. PiDuino Adventures | For Toffee on 10/09/2014 at 21:49

    [...] PiDuino comes in kit form so I had to get soldering first.  The instructions are nice and clear, however I have asked SKPang if they could adjust the sequence of events to [...]