Adapter Board for Arduino & Raspberry Pi(ARPI600 )

Overview

Arduino is a massive ecosystem, if there's a way for the Raspberry Pi GPIO interface to adapt to Arduino pinouts, it is possible to use the Pi together with vast Arduino shields and hardware/software resources. The ARPI600 is just intended for this.

What's more, the ARPI600 also support XBee modules, make it easy to add wireless feature to your great project.

Supported Pi

  • Raspberry Pi 1 Model A+
  • Raspberry Pi 1 Model B+
  • Raspberry Pi 2 Model B
  • Raspberry Pi 3 Model B

ARPI600 Features

  • Compatible with Arduino UNO, Leonardo, easy to connect with various Arduino shields.
  • XBee connector for connecting various XBee modules.
  • Sensor interface for connecting various sensors.
  • Onboard USB TO UART for serial port debugging, also can be configured as XBee USB adapter.
  • Onboard ADC, 10 bit, 38KSPS, 11 channels (6 channels for Arduino interface, 5 channels for sensors)
  • Onboard RTC.

What's on the ARPI600

ARPI600-intro
1.Arduino connector : for connecting Arduino shields
2.ICSP interface : Arduino ICSP
3.XBee connector : for connecting XBee communication modules
4.Sensor interface : for connecting sensors
5.Raspberry Pi connector : for connecting Raspberry Pi
6.USB TO UART
7.TLC1543 : AD converter
8.PCF8563 : RTC
9.CP2102
10.32.768KHz crystal : for RTC
11.Power indicator
12.XBee state LED
13.XBee and Arduino interface RESET button
14.XBee EASYLINK button
15.RTC battery holder : for CR1220 button battery
16.TLC1543 reference voltage configuration jumper
17.RTC jumper
18.UART jumper

  • when connecting P_RX and CP_TX, P_TX and CP_RX respectively, USB TO UART is connected to Raspberry Pi serial port.
  • when connecting XB_RX and CP_TX, XB_TX and CP_RX respectively, USB TO UART is connected to XBee serial port.
  • when connecting XB_RX and P_TX, XB_TX and P_RX respectively, Raspberry Pi serial port is connected to XBee serial port.

19.Arduino AD selection jumper

  • short 2 and 3 : Arduino A0-A5 as AD input.
  • short 1 and 2 : Arduino A0-A5 as digital control.

20.Arduino I2C selection jumper

  • short the jumper : Arduino A4-A5 as I2C control (the A4-A5 of Arduino AD selection jumper should be opened)

21.Arduino SPI selection jumper

  • short 1 and 2 : Arduino D11-D13 as SPI control (default)
  • short 2 and 3 : Arduino D11-D13 as digital control.

Development Resources

Wiki

ARPI600 Dimension

ARPI600-size

**How to use ARPI600 with external sensor kits **

  • In the following operations, the ARPI600 should be installed to the RPi board firstly, or else the ARPI600 cannot work with the sensor kits.

Color Sensor

  • Install the ARPI600 to the RPi board;
  • Connect the sensor to the corresponding pins on the ARPI600, according to the following table:
Color Sensor Pins ARPI600 Pins
LED 3.3V
OUT P0
S3 P4
S2 P3
S1 P2
S0 P1
GND GND
VCC 3.3V
  • Copy the folder Color_Sensor into the Raspberry Pi system, and then power up the device. Enter the terminal and run the following commands:
    cd Color_Sensor
    chomd +x Color_Sensor // Grant execution permission for the first run
    sudo ./Color_Sensor
  • The program performs the white balance adjustment to the sensor and it may take 2 seconds. When finished, you can see relative data of RGB are outputted on the terminal. A color check list is helpful for finding out what the measured color it is.
  • Press the keys Ctrl+C to end the program.

Flame Sensor

  • Install the ARPI600 to the RPi board;
  • Connect the sensor to the corresponding pins on the ARPI600, according to the following table:
Flame Sensor Pins ARPI600 Pins
DOUT P0
AOUT T_A6
GND GND
VCC 3.3V
  • Copy the folder Flame_Sensor into the Raspberry Pi system, and then power up the device. Enter the terminal and run the following commands:
    cd Flame_Sensor
    chomd +x General_Sensor //Grant execution permission for the first run
    sudo ./General_Sensor
  • The signal indicator will turn on, when the sensor is close to a fire. And it will turn off, when the sensor is away from the fire.
  • The terminal output changes along with the distance from the sensor to the fire.
  • Press the keys Ctrl+C to end the program.

Notice: The flame sensor is designed to detect fire only, but it is not fireproof itself. When using it, please keep a safe distance from the fire to avoid burning out.

Hall Sensor

  • Install the ARPI600 to the RPi board;
  • Connect the sensor to the corresponding pins on the ARPI600, according to the following table:
Hall Sensor Pins ARPI600 Pins
DOUT P0
AOUT T_A6
GND GND
VCC 3.3V
  • Copy the folder Hall Sensor into the Raspberry Pi system, and then power up the device. Enter the terminal and run the following commands:
    cd Hall_Sensor
    chomd +x General_Sensor //Grant execution permission for the first run
    sudo ./General_Sensor
  • The signal indicator will turn on, when the sensor is close to a magnet. And it will turn off, when the sensor is away from the magnet.
  • The terminal output changes along with the distance from the sensor to the magnet.
  • Press the keys Ctrl+C to end the program.

Tilt Sensor

  • Install the ARPI600 to the RPi board;
  • Connect the sensor to the corresponding pins on the ARPI600, according to the following table:
Tilt Sensor Pins ARPI600 Pins
DOUT T_A6
GND GND
VCC 3.3V
  • Copy the folder Tilt_Sensor into the Raspberry Pi system, and then power up the device. Enter the terminal and run the following commands:
    cd Tilt_Sensor
    chomd +x General_Sensor //Grant execution permission for the first run
    sudo ./General_Sensor
  • The signal indicator will turn on, when the sensor is being vibrated or in a tilted state. And it will turn off, when the sensor is laid flat. By reading the indicator, you can get to know whether the module is in a condition of vibrating or tilting.
  • Press the keys Ctrl+C to end the program.

Infrared Reflective Sensor

  • Install the ARPI600 to the RPi board;
  • Connect the sensor to the corresponding pins on the ARPI600, according to the following table:
Infrared Reflective Sensor Pins ARPI600 Pins
DOUT P0
AOUT T_A6
GND GND
VCC 3.3V
  • Copy the folder Infrared_Reflective_Sensor into the Raspberry Pi system, and then power up the device. Enter the terminal and run the following commands:
    cd Infrared_Reflective_Sensor
    chomd +x General_Sensor //Grant execution permission for the first run
    sudo ./General_Sensor
  • The signal indicator will turn on, when the sensor is close to a barrier. And it will turn off, when the sensor is away from the barrier.
  • The terminal output changes along with the distance from the sensor to the barrier.
  • Press the keys Ctrl+C to end the program.

Laser Sensor

  • Install the ARPI600 to the RPi board;
  • Connect the sensor to the corresponding pins on the ARPI600, according to the following table:
Laser Sensor Pins ARPI600 Pins
DOUT P0
GND GND
VCC 3.3V
  • Copy the folder Laser_Sensor into the Raspberry Pi system, and then power up the device. Enter the terminal and run the following commands:
    cd Laser_Sensor
    chomd +x General_Sensor //Grant execution permission for the first run
    sudo ./General_Sensor
  • The signal indicator will turn on, when a barrier is placed above the sensor. And the signal indicator will turn off, when the barrier is away from the sensor. By reading the status of the indicator, you can get to know whether the sensor has detected the barrier.
  • Press the keys Ctrl+C to end the program.

Moisture Sensor

  • Install the ARPI600 to the RPi board;
  • Connect the sensor to the corresponding pins on the ARPI600, according to the following table:
Moisture Sensor Pins ARPI600 Pins
DOUT P0
AOUT T_A6
GND GND
VCC 3.3V
  • Copy the folder Moisture_Sensor into the Raspberry Pi system, and then power up the device. Enter the terminal and run the following commands:
    cd Moisture_Sensor
    chomd +x General_Sensor //Grant execution permission for the first run
    sudo ./General_Sensor
  • Insert the sensor into the soil and water the soil little by little. And then you may find the terminal output changes.
  • Press the keys Ctrl+C to end the program.

Rotation Sensor

  • Install the ARPI600 to the RPi board;
  • Connect the sensor to the corresponding pins on the ARPI600, according to the following table:
Rotation Sensor Pins ARPI600 Pins
SIA P0
SIB P1
SW P2
GND GND
VCC 3.3V
  • Copy the folder Rotation_Sensor into the Raspberry Pi system, and then power up the device. Enter the terminal and run the following commands:
    cd Rotation_Sensor
    chomd +x Rotation_Sensor //Grant execution permission for the first run
    sudo ./Rotation_Sensor

  • There are three actions of the rotary encoder: clockwise rotation, anticlockwise rotation, and reset button press. The terminal output of the module varies with different actions.
    Turn right!
    Turn left!
    Turn down!

  • Connect SIA, SIB, SW of the module to CH0,CH1,CH2 of a logic analyzer (purchased separately), respectively.
    For clockwise rotation, the waveform outputs are shown as below:
    img3

  • For anticlockwise rotation, the waveform outputs are shown as below:
    img4-1

  • When the reset button is pressed, the waveform outputs are shown as below:
    img5-1

  • Press the keys Ctrl+Cto end the program.

Sound Sensor

  • Install the ARPI600 to the RPi board;
  • Connect the sensor to the corresponding pins on the ARPI600, according to the following table:
Sound Sensor Pins ARPI600 Pins
DOUT P0
AOUT T_A6
GND GND
VCC 3.3V
  • Copy the folder Sound_Sensor into the Raspberry Pi system, and then power up the device. Enter the terminal and run the following commands:
    cd Sound_Sensor
    chomd +x General_Sensor //Grant execution permission for the first run
    sudo ./General_Sensor

  • The signal indicator will turn on, when the microphone of the module is close to a sound source. And it will turn off, when the microphone is away from the magnet.

  • The terminal output changes along with the distance from the sensor to the sound source.

  • Press the keys Ctrl+C to end the program.

Temperature-Humidity Sensor

  • Install the ARPI600 to the RPi board;
  • Connect the sensor to the corresponding pins on the ARPI600, according to the following table:
Temperature-Humidity Sensor Pins ARPI600 Pins
DOUT P0
GND GND
VCC 3.3V

Copy the folder Temperature-Humidity_Sensor into the Raspberry Pi system, and then power up the device. Enter the terminal and run the following commands:
cd Temperature-Humidity_Sensor
chomd +x DHT11 //Grant execution permission for the first run
sudo ./DHT11

  • The data of temperature and humidity detected are shown on the terminal. For example:
    Humidity=33
    Temperature=28
  • Press the keys Ctrl+C to end the program.

MQ-5 Gas Sensor

  • Install the ARPI600 to the RPi board;
  • Connect the sensor to the corresponding pins on the ARPI600, according to the following table:
MQ-5 Gas Sensor Pins ARPI600 Pins
DOUT P0
AOUT T_A6
GND GND
VCC 3.3V
  • Copy the folder MQ-5_Gas_Sensor into the Raspberry Pi system, and then power up the device. Enter the terminal and run the following commands:
    cd MQ-5_Gas_Sensor
    chomd +x General_Sensor //Grant execution permission for the first run
    sudo ./General_Sensor
  • Warn-up the sensor for a minute.
  • Put the sensor into a container filled with sensitive gas, you will find the indicator turns on. While take the sensor out of the container, you can see the indicator turns off. By reading the indicator, you can get to know whether the concentration of the sensitive gas exceeds standard.
  • Press the keys Ctrl+C to end the program.

UV Sensor

  • Install the ARPI600 to the RPi board;
  • Connect the sensor to the corresponding pins on the ARPI600, according to the following table::
UV Sensor Pins ARPI600 Pins
AOUT T_A6
GND GND
VCC 3.3V
  • Copy the folder UV_Sensor into the Raspberry Pi system, and then power up the device. Enter the terminal and run the following commands:
    cd UV_Sensor
    chomd +x General_Sensor //Grant execution permission for the first run
    sudo ./General_Sensor
  • Place the sensor close to the sun light. The terminal output changes along with the distance from the sensor to the sun light source.
  • Press the keys Ctrl+C to end the program.

Liquid Level Sensor

  • Install the ARPI600 to the RPi board;
  • Connect the sensor to the corresponding pins on the ARPI600, according to the following table:
Liquid Level Sensor Pins ARPI600 Pins
AOUT T_A6
GND GND
VCC 3.3V
  • Copy the folder Liquid_Level_Sensor into the Raspberry Pi system, and then power up the device. Enter the terminal and run the following commands:
    cd Liquid_Level_Sensor
    chomd +x General_Sensor //Grant execution permission for the first run
    sudo ./General_Sensor
  • Immerse the sensor into the water deeply. The terminal output changes along with the water depth.
  • Press the keys Ctrl+C to end the program.