Introduction

  • The LattePanda Alpha&Delta RS232 expansion board is an industrial-grade interface expansion board which specially designed for LattePanda Alpha&Delta, it converts the USB pins to the RS232 interface.
  • Use FTDI's FT232RL chip for USB signal conversion, which is stable and reliable.
  • Use Jinshengyang's serial port transfer to RS232 module, it equips power isolation and signal isolation.
  • The onboard DB9 interface (male) can be easily connected to various RS232 interface devices.
  • With a DB9 male and female conversion connector, it is convenient for users to adapt the interface.
  • Immersion gold technology, not only for aesthetic, but also guarantees PCB quality.
  • A 12mm hexagonal copper post and screws are included with the product to ensure the stability of the connection between the product and the LattePanda.

Specification

  • Module Operating Power: +5V
  • Comply with EIA/TIA-232-F standard
  • Data transceiver indicator
  • DB9 interface (male)
  • Communication baud rate up to 115200 bps
  • Isolation voltage 2500 VDC
  • Built-in isolated power supply
  • Operating temperature range: -40℃ to +85℃

warning_yellow.png

NOTE: hot plug is not supported

Application

The RS232 interface can be easily used in the Windows environment. (Compatible with Linux environment)

Board Overview

Board Overview

DB9 Pin Definition

2

DB9 male pin number Description
P1 NC
P2 RXD
P3 TXD
P4 NC
P5 GND
P6~9 NC

LattePanda Alpha&Delta pin function description (recommended to refer to LattePanda Alpha official wiki & LattePanda Delta official wiki)

Tutorial

Here is a demonstration that LattePanda Alpha & Delta communicates with Arduino through an expansion board.

Driver Installtion

Note: the driver needs to be installed when using on Windows for the first time. There is no need to install driver in Linux system.

Windows supports the automatic search and installation for FTDI chips. Plug the expansion board into the LattePanda board and wait for a few minutes to complete the installation. (please keep LattePanda connected with network when installing the driver automatically).

Under Windows environment, you can check whether the driver is installed successfully in device manager. After the driver is installed, the COM name will be USB serial port.

Click the link to install manually:

Plug the shield into LattePanda Alpha & Delta

Note: shield and LattePanda

Connection

You need to use the copper pillars and screws in the product package to fix the shield and LattePanda.

Requirements

Connection

  1. Connect the Arduino RS232 expansion board to the Arduino main control board
  2. Connect the LattePanda Alpha&Delta RS232 interface expansion board to the LattePanda Alpha&Delta
  3. Use the RS232 data cable to connect them together, as shown in the picture below:

Sample Code

Burn the following code in Arduino:

void setup() {
  // put your setup code here, to run once:
  Serial.begin(115200);
  while(!Serial);
}

void loop() {
  // put your main code here, to run repeatedly:
  if(Serial.available()>0){
    char a;
    a = Serial.read()+1;
    Serial.print(a); //return all the data that received from LP
  }
}

Expected Results

Open the serial monitor on LattePanda, select the COM1 serial port, and set the baud rate to 115200. Send data to Arduino will returned with added 1.

Result

FAQ

For any questions, advice or cool ideas to share, please visit the DFRobot Forum.

More Documents