RS485 Shield for Arduino

This is an Arduino RS485 shield, especially designed for the Arduino controller board. It can easily convert the UART to the RS485. This shield integrates a standard RS485 port, a mini RS485 port (PH2.0 interface), RS485 headers, and provides the Welding areas, so it's convenient for your DIY design. One key changes automatic and manual transmission mode, which expand the scope of application.

DFR0259-004

Quick Spec

  • Power Module: 5V
  • Module Size: 55 x 53mm
  • 16 digital IO port (including a I2C interface)
  • 6 analog IO port and power
  • Operation/programming mode switch
  • Automatic/manual transceiver mode switch (When in manual transceiver mode, the enable end is the 2nd digital IO port)
  • Transceiver indicating LED
  • Standard RS485 interface, mini RS485 interface (PH2.0) and RS485 pins
  • Reset button

Board Layout

RS485-EN

Sample Code - Automatic Transmission Mode



/*
# This sample codes is for testing the RS485 shiled(automatic transmission mode).
# Editor : YouYou
# Date   : 2013.9.16
# Ver    : 0.1
# Product: RS485 shield
# SKU    : DFR0259
*/

int led = 13;
void setup()
{
  Serial.begin(9600);
  pinMode(led,OUTPUT);
}
void loop()
{
  int temp;
  if(Serial.available())
  {
    temp=Serial.read();
     if(temp=='V'){
      digitalWrite(led,1-digitalRead(led));
    Serial.println("OK");
     }
  }
}



Sample Code - Manual Transmission Mode



/*
# This sample codes is for testing the RS485 shiled(manual transmission mode).
# EN=2;
# Editor : YouYou
# Date   : 2013.9.16
# Ver    : 0.1
# Product: RS485 shield
# SKU    : DFR0259
*/
int led = 13;
int EN = 2;  //Definition RS485 shield enable terminal (the 2nd digital IO ports),
//high for the sending state, the low level of receiving state
void setup()
{
  Serial.begin(9600);
  pinMode(led,OUTPUT);
  pinMode(EN,OUTPUT);
}
void loop()
{
  int temp;
  digitalWrite(EN,LOW);    //Enable low, RS485 shield waiting to receive data
  if(Serial.available())
  {
    temp=Serial.read();
     if(temp=='V')
     {
      digitalWrite(led,1-digitalRead(led));
      digitalWrite(EN,HIGH);    //Enable high, RS485 shield waiting to transmit data
      Serial.println("OK");
      delay(10);    //Delay for some time, waiting for data transmitted
     }
  }
}


Resources

Shipping List

  • 1 x RS485 Shield for Arduino


RS485 Shield for Arduino

  • Brand: DF Robot
  • Product Code: DFR0259
  • Product Status : Active
  • Stock

    Warehouse Stock Status Location
    Centurion No Stock
    Stellenbosch No Stock
    Bulk Location No Stock

    We ship free of charge between branches to complete your order.

  • R178.00 (Inc Tax: R204.70)


Related Products

Basic USB to RS485 Converter, 2 Wire

Basic USB to RS485 Converter, 2 Wire

Basic USB to RS485 Converter, 2 Wire This converter uses the high-performance CH340T microchip. It supports the latest operating system, including 64 bit Windows 10. The device has TVS surge prot..

Centurion (No Stock)
Stellenbosch (No Stock)
Bulk Location (No Stock)
Part No: RS485-MINI
Product Status : Active

R38.00 (Inc Tax: R43.70)

USB to RS232 Cable

USB to RS232 Cable

USB to RS232 Cable This adapter cable will allow you to connect your serial device to your computer/laptop via a USB type-A Port. Quick Spec Backward compatible with USB1.1 Support Rs23..

Centurion (No Stock)
Stellenbosch (No Stock)
Bulk Location (No Stock)
Part No: USB-SERIAL
Product Status : Active

R58.00 (Inc Tax: R66.70)

USB to RS485 - 3 Pin

USB to RS485 - 3 Pin

USB to RS485 - 3 Pin Running MODBUS/RTU over an RS485 network is pretty cool, in an old-school way. The technique was invented decades ago, and allowed you to connect to a few dozen MODBUS devices ov..

Centurion (In Stock)
Stellenbosch (In Stock)
Bulk Location (No Stock)
Part No: RS485-3P
Product Status : Active

R56.00 (Inc Tax: R64.40)

RS485 Sensor Node V1.0

RS485 Sensor Node V1.0

RS485 Sensor Node V1.0 This RS485 Sensor Node module can be used in various applications such as intelligent agriculture, environment monitoring, home automation...etc. It is a Internet of things dev..

Centurion (In Stock)
Stellenbosch (No Stock)
Bulk Location (No Stock)
Part No: DFR0233
Product Status : Active

R410.00 (Inc Tax: R471.50)

Tags: rs485, shield, rs485 shield, arduino, convert, uart to rs485, network