RS485 Shield for Arduino

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

    Warehouse Stock Status Location
    Centurion In Stock U225
    Stellenbosch In Stock Z6114
  • R135.00 (price excl. VAT)


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


Related Products

USB to RS485 Converter

USB to RS485 Converter

USB to RS485 Converter This converter uses the high-performance ch340T microchip. It supports the latest operating system, including 64 bit Windows 10. The device has TVS surge protection as well..

R98.00

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..

R98.00

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..

R115.00

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..

R410.00

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

Also Bought

Screw Terminal Block 8 Pin - 2.54mm (4 Pack)

Screw Terminal Block 8 Pin - 2.54mm (4 Pack)

Screw Terminal Block 8 Pin - 2.54mm (4 Pack) These side-entry screw terminal blocks have a pitch of 2.54 mm, and can be used as alternatives to standard 0.1″ male or female headers on many PCBs and p..

R35.00

Screw Terminal Block 2 Pin - 2.54mm (10 Pack)

Screw Terminal Block 2 Pin - 2.54mm (10 Pack)

Screw Terminal Block 2 Pin - 2.54mm (10 Pack) These side-entry screw terminal blocks have a pitch of 2.54mm, and can be used as alternatives to standard 0.1″ male or female headers on many PCBs and p..

R45.00

Screw Terminal Block 4 Pin - 2.54mm (10 Pack)

Screw Terminal Block 4 Pin - 2.54mm (10 Pack)

Screw Terminal Block 4 Pin - 2.54mm (10 Pack) These side-entry screw terminal blocks have a pitch of 2.54mm, and can be used as alternatives to standard 0.1″ male or female headers on many PCBs and p..

R60.00

Mini PIR sensor

Mini PIR sensor

Mini PIR sensor HC-SR505 small body sensing module is based on infrared technology, automatic control products, high sensitivity, high reliability, ultra-small, ultra-low-voltage operation mode. Wide..

R50.00

DHT11 sensor

DHT11 sensor

DHT11 sensor The DHT11 is a basic, ultra low-cost digital temperature and humidity sensor. It uses a capacitive humidity sensor and a thermistor to measure the surrounding air, and spits out a digi..

R25.00