RS485 Sensor Node V1.0 (SKU:DFR0233)
Contents
1 Introduction
2 Application
3 Specification
4 Pin Out
4.1 More details
5 Product Directive
6 Connecting Diagram
7 Sample Code
Introduction
This RS-485 Sensor Node module can be used in various applications such as intelligent agriculture,
environment monitoring,home automation...etc. It is a Internet of things device. This RS-485 Sensor
node provides 6 channel analog input and 1 SHT1x Humidity & Temperature digital input. The
RS485 protocol supports up to 254 nodes at 1200m distance between each node. This allows a
wide range cover for monitoring the environment. A screw free design allows easy connection of
cables without scarfice reliable & stable.
RS-485 standard is used effectively over long distances and in electrically noisy environments.
Multiple receivers may be connected to such a network in a linear, multi-drop configuration. These
characteristics make such networks useful in industrial environments and similar applications.RS-
485 enables the configuration of inexpensive local networks and multidrop communications links. It
offers data transmission speeds of 35 Mbit/s up to 10 m and 100 kbit/s at 1200 m.
RS-485 bus is the most popular communication method in industry. Compared with RS-232 bus, it is
able to transfer information in further distance with lower cost. Establishing an “Internet of Things” by
integrating RS-485 with Ethernet, which is the widely available in the world, in the hope that this
method will coordinate all devices with low cost and high efficiency.
Application
Intelligent agriculture
Public safety
Environment monitoring
Individual health
Home automation
Specification
MCU:Atmega8
Input Voltage:12V
Baud rate:9600
Slave address: 0x01 - 0x7F
RS-485 long distance,reliable & stable conmunication
Multiple connection(up to 127 modules)
Press to connect cables, quick and easy
1 SHT1x Humidity and Temperature Sensor interface
6 channel analog sensor interface
8 small switches for setting slave address directly
Humidity:0-100%RH(±4.5%RH)
Temperature:-40-128.8 (±0.5 )
Size:82x50mm
Pin Out
More details
Details for slave address setting
Auto or manual operation:This
bit is for setting the addresses of slave devices by software or
hardware.
A: set slave address via software, when it is at the A side,
the Bits for setting slave address
will be
invalid.
M: set slave address via hardware, when it is at the M side means you can set the slave address via
the 7 small switches.Success to set after 30 seconds.
Bits for setting address of slave:0x01~0x7F,just
be effective to M side
Product Directive
Check all the current real-time data directive--0x21
Command:
Word Head
0x55 0xAA
Device Address
0x11
Frame Length
0x00
Command Word
0x21
Checksum
SUM
This command will check all data of current device.There are 10 register data totally.A register data
is 16 digit,consisting of 8 high digit and 8 low digit.
Return the following:
Content Order
1
2
3
4
5
6
7
8
9
10
Register Illustration
Register Data
Register Range
manually/automatically set address status 0x00 0x01 1 for automatic; 0 for manual
Humidity Measurement
Temperature Measurement
SHT1X error status
Analog Measurement 1
Analog Measurement 2
Analog Measurement 3
Analog Measurement 4
Analog Measurement 5
Analog Measurement 6
0x00 0x02
0x00 0x03
0x00 0x04
0x00 0x05
0x00 0x06
0x00 0x07
0x00 0x08
0x00 0x09
0x00 0x10
0.0 to 100.0%(RH)
-40.0 to 128.0( )
1 for error; 0 for normal
0 to 1023
0 to 1023
0 to 1023
0 to 1023
0 to 1023
0 to 1023
Instruction Description: content value consists of 2 byte; 0.0 to 100.0 degree stand for 0 to
1000; -40.0 to 128.0 degree stand for -400 to 1280
Return Value:
Word Head
0x55 0xAA
Device Address
0x11
Frame Length
0x14
Command Word
0x21
Content
H
T
Checksum
SUM
Sample:
Send instruction:
Word Head
0x55 0xAA
Device Address
0x11
Frame Length
0x00
Command Word
0x21
Checksum
0x55
Return instruction:
Word Head
0x55
Content4
0xAA
Content5
Device Address Frame Length Command Word
0x11
Content6
0x00 0x99
0x14
Content7
0x00 0x66
0x21
Content8
0x00 0x99
Content1
Content2
Content3
0x00 0x00 0x00 0x00 0x00 0x00
Content9 Content10 Checksum
0x00 0x66 0x00 0x99
0x46
0x00 0x01 0x00 0x66
Set address for the model --0x55
Command:
Word Head
0x55 0xAA
Device Address
0xAB
Frame Length
0x01
Command Word
0x55
Content
0x22
Checksum
SUM
Return Value:
Word Head
0x55 0xAA
Device Address
0xAB
Frame Length
0x01
Command Word
0x55
Content
0x22
Checksum
SUM
Instruction Description: 0xAB is broadcast address,that is, it is shared address of all models.
Send 0x55 to address 0xAB in order to set model address in the uncertain model status
According to new device address,model will return 0x55 after address set successfully; In manual
status,sending 0x55 can't set current device address,if the product can set device address manually
and automatically.Then, the return value is 0xFE that illustrates product in manual setting address
status.