RDL UNO-PI

20
RDL UNO-PI www.researchdesignlab.com Page 1 RDL UNO-PI

description

It's quite common practice for an hobbyist/Electronic enthusiasts building an application on Raspberry Pi and Arduino stacked together. RDL UNO PI which reduces the circuit complexity between Raspberry and Arduino , RPI and Arduino shields can be stacked easily onto UNO-PI headers.One can easily handle PWM and Analog inputs by stack on RDL ATmega328 board programmed with Arduino IDE. Connectivity made easier by selectable jumper settings, enables the connection switching between RPI(GPIO pins),UNO(D0-D7) and External data(IO0-IO7) with Bi-Directional voltage level converter(3.3v-5v).On board DC-DC option provides stable current up to 2.5A and 3.3v-5v for the required circuit.

Transcript of RDL UNO-PI

RDL UNO-PI

www.researchdesignlab.com Page 1

RDL UNO-PI

RDL UNO-PI

www.researchdesignlab.com Page 2

Contents Arduino ........................................................................................................................................... 3

Raspberry Pi .................................................................................................................................... 3

RDL UNO-PI .................................................................................................................................. 4

Overview ......................................................................................................................................... 4

Features of RDL UNO-PI ............................................................................................................... 5

Features of RDL-UNO ATMega328 Development Board ............................................................. 5

RDL UNO-PI .................................................................................................................................. 6

BLOCK DIAGRAM ....................................................................................................................... 7

RDL UNO-PI PINS ........................................................................................................................ 8

FRONT HEADERS (RDL-UNO ATMega328)AND PINS....................................................... 8

BACK HEADER(RASPBERRY PI B/B+.) ............................................................................... 9

PORT SELECTION...................................................................................................................... 10

Raspberry Pi and RDL-UNO ATMega328 ............................................................................... 10

Raspberry PI B/B+ to External data line.................................................................................. 11

RDL-UNO ATMega328 to External data line .......................................................................... 12

Serial communication port selection(RX and TX) ....................................................................... 13

Raspberry Pi to RDL-UNO ATMega328 ................................................................................. 13

Raspberry PI B/B+ to External data line.................................................................................. 14

RDL-UNO ATMega328 to External data line .......................................................................... 15

Example for external data bus interface between raspberry pi and atmega 328 ........................... 16

STACK ON SHIELD ................................................................................................................... 17

RDL PI BREADBOARD ......................................................................................................... 17

RDL PI L298 MOTOR DRIVER ............................................................................................. 17

RDL PI XBEE........................................................................................................................... 18

RDL UNO GSM ....................................................................................................................... 18

RDL LCD UNO PI ................................................................................................................... 19

RDL GSM LCD UNO PI .......................................................................................................... 19

RPI RELAY SHIELD ............................................................................................................... 20

RDL UNO-PI

www.researchdesignlab.com Page 3

Arduino

“Arduino is an open-source electronics prototyping platform based on flexible, easy-to-

use hardware and software. It's intended for artists, designers, hobbyists, and anyone interested in

creating interactive objects or environments.” - www.arduino.cc

Learning / coding :

www.arduino.cc -> “Learning” and “Reference” categories

Raspberry Pi

The Raspberry Pi is a credit-card sized computer that plugs into your TV and a keyboard.

It is a capable little computer which can be used in electronics projects, and for many of the

things that your desktop PC does, like spreadsheets, word-processing and games. It also plays

high-definition video. We want to see it being used by kids all over the world to learn how

computers work, how to manipulate the electronic world around them, and how to program

Learning / coding :

http://www.raspberrypi.org/resources/learn/

http://www.raspberrypi.org/resources/make/

RDL UNO-PI

www.researchdesignlab.com Page 4

RDL UNO-PI

It's quite common practice for an hobbyist/Electronic enthusiasts building an application on

Raspberry Pi and Arduino stacked together. RDL UNO PI which reduces the circuit complexity

between Raspberry and Arduino , RPI and Arduino shields can be stacked easily onto UNO-PI

headers.

One can easily handle PWM and Analog inputs by stack on RDL ATmega328 board

programmed with Arduino IDE. Connectivity made easier by selectable jumper settings, enables

the connection switching between RPI(GPIO pins),UNO(D0-D7) and External data(IO0-IO7)

with Bi-Directional voltage level converter(3.3v-5v).On board DC-DC option provides stable

current up to 2.5A and 3.3v-5v for the required circuit.

Overview

This guide contains all information related to the Uno-Pi board.

The Uno-Pi PCB incorporates a standard Arduino (RDL-UNO ATMega328 standard header) and

standard Raspberry Pi B/B+ headers.

The PCB provides a three jumper settings (for boards port selection )

Raspberry Pi B/B+ to RDL-UNO ATMega328 and vice versa

Raspberry PI B/B+ to external data line

RDL-UNO ATMega328 to external data line

The PCB provides three jumper settings for serial communication

Raspberry Pi B/B+ to RDL-UNO ATMega328 and vice versa

Raspberry PI B/B+ to external data line

RDL-UNO ATMega328 to external data line

The PCB Front design contains RDL-UNO ATMega328 Development Board headers(pins) and

back design contains Raspberry Pi B/B+ header so that Rasp fusion board will connected

between RDL-UNO ATMega328 Development Board and Raspberry Pi B/B+.

RDL UNO-PI

www.researchdesignlab.com Page 5

Features of RDL UNO-PI

Stackable UNO header for UNO Shields.

8 bit Bidirectional Voltage Converter

8 bit port selection

8 Onboard Led's.

DC-DC Power supply 2.5A

supports for Raspberry PI B/B+

Features of RDL-UNO ATMega328 Development Board

Atmega 328P- Controller

Standard I/O interface for UNO shield

Xbee foot print for RF/WIFI communication

Inbuilt Micro SD memory card slot for data logging Application

Programmable with Arduino Open Source

Stackable UNO header.

RDL UNO-PI

www.researchdesignlab.com Page 6

RDL UNO-PI

1. External Analog pins(ADC).*

2. DC input 12v.

3. Power supply DC 12v.

4. DC-DC 12v-5v 2.5A.

5. UNO Header.

6. Serial communication port selection(jumper setting) .

7. External I2C.

8. 8 bit Port selection (Raspberry Pi /Arduino/External data bus).

9. UNO Headers.

10. 8bit Status LEDS.

11. 8bit External I/O’s.

12. External SPI.

13. External Serial RX ,TX,GND.

* Works only with RDL UNO ATMEGA328 Stack on shields.

RDL UNO-PI

www.researchdesignlab.com Page 7

BLOCK DIAGRAM

RDL UNO-PI

www.researchdesignlab.com Page 8

RDL UNO-PI PINS

FRONT HEADERS (RDL-UNO ATMega328)AND PINS

FRONT HEADERS (RDL-UNO ATMega328)AND PINS

RDL UNO-PI

www.researchdesignlab.com Page 9

BACK HEADER(RASPBERRY PI B/B+.)

BACK HEADER(RASPBERRY PI B/B+.)

DATA PINS UNO PI CONFIGERATION

Raspberry PI b/b+ Arduino UNO External I/0's

GPIO 17 D2 IO0

GPIO 18 D3 IO1

GPIO 27 D4 IO2

GPIO 22 D5 IO3

GPIO 23 D6 IO4

GPIO 24 D7 IO5

GPIO 25 D8 IO6

GPIO 4 D9 IO7

RDL UNO-PI

www.researchdesignlab.com Page 10

PORT SELECTION

Raspberry Pi and RDL-UNO ATMega328

To connect Raspberry Pi to RDL-UNO ATMega328 and vice versa jumper settings for 8bit port

selection .jumpers must be connected to JP1 and JP2

RDL UNO-PI

www.researchdesignlab.com Page 11

Raspberry PI B/B+ to External data line

To connect Raspberry PI B/B+ to External data line jumper settings for 8bit port selection

jumpers must be connected to JP2 and JP3

RDL UNO-PI

www.researchdesignlab.com Page 12

RDL-UNO ATMega328 to External data line

To connect RDL-UNO ATMega328 to External data line jumper settings for 8bit port selection

jumpers must be connected to JP3 and JP4

RDL UNO-PI

www.researchdesignlab.com Page 13

Serial communication port selection(RX and TX)

Raspberry Pi to RDL-UNO ATMega328

For serial communcation between Raspberry Pi to RDL-UNO ATMega328 jumpers must be

connected between A and R

RDL UNO-PI

www.researchdesignlab.com Page 14

Raspberry PI B/B+ to External data line

For serial communcation between Raspberry PI B/B+ to External data line

jumpers must be connected between R and D

RDL UNO-PI

www.researchdesignlab.com Page 15

RDL-UNO ATMega328 to External data line

For serial communcation between RDL-UNO ATMega328 to External data line

jumpers must be connected between R and D

RDL UNO-PI

www.researchdesignlab.com Page 16

Example for external data bus interface between raspberry pi and

atmega 328

With reference to above diagram

GPIO17 and GPIO18 pins(Raspberry Pi) is connected to digital data pins D2 and D3

(UNO Header) by setting two jumpers at JP1 and JP2

GPIO27 and GPIO22 pins (Raspberry Pi) is connected to External data pins IO2 and IO3

by setting two jumpers at JP2 and JP3

D4 and D5 pins (UNO Header) is connected to External data pins IO4 and IO5) by

setting two jumpers at JP3 and JP4

RDL UNO-PI

www.researchdesignlab.com Page 17

STACK ON SHIELD

RDL PI BREADBOARD

RDL PI L298 MOTOR DRIVER

RDL UNO-PI

www.researchdesignlab.com Page 18

RDL PI XBEE

RDL UNO GSM

RDL UNO-PI

www.researchdesignlab.com Page 19

RDL LCD UNO PI

RDL GSM LCD UNO PI

RDL UNO-PI

www.researchdesignlab.com Page 20

RPI RELAY SHIELD