background image

ARPI600 User Manual 

 

 

ARPI600 

User Manual 

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. 

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 

w w w . e k t

2

. c o m

Electronics 

Katrangi

 Trading

Содержание ARPI600

Страница 1: ... also support XBee modules make it easy to add wireless feature to your great project 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 channe...

Страница 2: ...rface 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 w w w e k t 2 c o m Electro...

Страница 3: ...X respectively Raspberry Pi serial port is connected to XBee serial port 19 Arduino AD selection jumper o short 2 and 3 Arduino A0 A5 as AD input o short 1 and 2 Arduino A0 A5 as digital control 20 Arduino I2C selection jumper o 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 o short 1 and 2 Arduino D11 D13 as ...

Страница 4: ...ard and ARPI600 expansion board at a same time 3 The Raspbian system is set to serial debugging output by default so you should configure the jumpers on the ARPI600 in order to start up the serial debugging function for PC Connect CP_RX to P_TX Connect CP_TX to P_RX Figure 2 Starting up serial debugging function 4 Start software putty exe and configure the following parameters marked with red boxe...

Страница 5: ... the window please press the key Return Carriage then you can see the information displayed as Figure 4 shows Figure 4 Connecting PuTTY to Raspberry Pi board In this window you should input following information User name pi Password raspberry Then you can enter the serial terminal w w w e k t 2 c o m Electronics Katrangi Trading ...

Страница 6: ...yAMA0 115200 vt100 Press the keys Ctrl X and select the option Y to save the modification 3 Input the code sudo reboot After completing the modifications described above and restarting the Raspberry Pi board the serial debugging function is started up In this mode you cannot enter the terminal of the Pi via the serial port any more but can control the serial output by the software If you want to r...

Страница 7: ...d into the Raspbian and enter the folder send then execute the following code sudo make sudo serialTest The terminal will display the data as Figure 5 shows Figure 5 Data displayed in the terminal 3 Building a wireless network with two XBee modules 3 1 Preparations 1 Two XBee modules 2 Two ARPI600 modules 3 Twp Raspberry Pi boards In this document we will divided the device above into two groups G...

Страница 8: ... up the serial debugging function for the XBee as Figure 7 shows Connect XB_RX to CP_RX Connect CP_TX to XB_TX Figure 7 Jumpers setting for serial debugging function between the Pi and the XBee 3 Power up Raspberry Pi board For more detailed information please refer to the step 2 of Section 1 How to start up serial debugging function 4 Click the button Test Query to check whether the connection be...

Страница 9: ...r a successful connection you can see the dialog box as Figure 9 shows Figure 9 Successful connection 3 4 Configuring XBee A module 1 Select the option Modem Configuration and click the button Read to read out the current parameters of XBee w w w e k t 2 c o m Electronics Katrangi Trading ...

Страница 10: ...AT under the pull down menu Function Set Figure 11 Selecting the option ZIBGEE ROUTER END DEVICE AT under Function Set 3 Set the read Networking parameters ID 234 DH 0 DL 0 4 Click the button Write to download the configured parameters into the XBee A module w w w e k t 2 c o m Electronics Katrangi Trading ...

Страница 11: ...n Write to download the configured parameters into the XBee B module 4 In order to implement a simple P2P network please configure XBee A and XBee B according to the processes described above Start two X CTU tools and select different COM interfaces in the option PC Settings to control Group A and Group B respectively 5 Input the data to be transmitted in the X CTU Terminal of XBee A then you can ...

Страница 12: ...how to build the wireless network please refer to Section 3 4 1 Configuring the module 1 Set the jumpers on ARPI600 Here we should use two Raspberry Pi boards Raspberry Pi A and Raspberry Pi B of which Raspberry Pi A is used for transmitting data and Raspberry Pi B is used for receiving data Connect Raspberry Pi A to the serial port of XBee A and Raspberry Pi B toXBee B respectively And then set t...

Страница 13: ...send into the Raspbian and enter the folder send to execute the following code sudo make sudo serialTest You will see the following message displayed in the PuTTY of Raspberry Pi B Figure 16 Message received by Raspberry Pi B 5 RTC clock 1 Set the jumpers on RTC JMP of the ARPI600 2 Open the LXTerminal on the desktop of Raspbian and input the code i2cdetect y 1 3 Then you will see the device addre...

Страница 14: ...ip TLC1543 6 1 Configuring Pin A0 to Pin AD 1 Please make sure you have installed relative libraries refer to the Section 2 2 Installing relative libraries 2 Set the jumpers to select reference voltage Connect REF to 5V which means the AD conversion reference voltage is 5V connecting to 5V is a default setting Connect REF to 3V3 which means the AD conversion reference voltage is 3 3V Notices REF c...

Страница 15: ...0 in the line into the number corresponding to other AD pin For example modify to 1 for testing the conversion value from Pin AD1 Pin T_A1 and modify to 2 for testing the conversion value from Pin AD2 Pin T_A2 and so on until to 10 for testing the conversion value from Pin AD10 T_A10 After completing the operation described above press the keys Ctrl X and select the option Y to save the modificati...

Страница 16: ...pers D11 D12 and D13 In factory settings the jumpers are set as followed Connect SCK to D13 Connect MISO to D12 Connect MOSI to D11 The following settings are connecting pins D11 D12 and D13 to the general IO control pins of Raspberry Pi board Connect D13 to P26 Connect D12 to IO_SD Connect D11 to IO_SC Notices Users can modify the settings of these jumpers as required In this operation welding is...

Страница 17: ...d to 3 they will sever as ADC pins 4 You can also connect the pin A4 to P_SCL and the pin A5 to P_SDA as Figure 22 shows to making them sever as I2C control pins of Raspberry Pi board However in default settings the pins A4 and P_SCL are disconnected and so do the pins A5 and P_SDA Notices Users can modify the settings of these jumpers as required In this operation welding is required Any changes ...

Отзывы: