Description:
RS-FX-N01 Compact and lightweight sensor Easy to carry and assemble New design concept can effectively obtain information about wind direction. High quality aluminum material, anti-corrosion properties. Corrosion and others are good for long-term use without rust. Mechanism for accuracy of data collection with internal ball bearing system. It is a sensor widely used in greenhouses, environmental protection, meteorological stations, ships, ports, breeding and other environmental wind direction measurement.
RS-FX-N01 RS485 Wind Direction Sensor Wind Direction Transmitter Specifications:
weight | 600 grams |
---|---|
Shipping size | 30 × 30 × 30 centimeters |
Output Protocol | |
Communication Interface | |
Product type | sensor |
manufacturer | China |
importer | Imicon System |
distributor | Imicon System Shop 14/44 Lamphun-Pa Sang Road, Nai Mueang Subdistrict, Mueang District, Lamphun Province |
How to use | Used to measure (specify product name) |
Precautions | Please check the correctness of the connection. |
RS-FX Wind direction 485 transmitter instructions user manual
Kit include:
1 x Wind Direction Anemometer RS485 Eight Direction
Mikroelectron Code:
Arduino uno code#define RXD2 16 #define TXD2 17 byte ByteArray[250]; int ByteData[20]; void setup() { Serial.begin(9600); Serial2.begin(4800, SERIAL_8N1, RXD2, TXD2); } void loop() { byte msgfx[] = {0x01,0x03,0x00,0x00,0x00,0x02,0xC4,0x0B}; int i; int len=8; Serial.println(); Serial.println(); Serial.println("RS-FX-N01 => SEND DATA"); for(i = 0 ; i < len ; i++){ Serial2.write(msgfx[i]); Serial.print("["); Serial.print(i); Serial.print("]"); Serial.print("=>"); Serial.print(String(msgfx[i], HEX)); Serial.print(" "); } len = 0; Serial.println(); Serial.println(); int a = 0; while(Serial2.available()) { ByteArray[a] = Serial2.read(); a++; } int b = 0; String registros; Serial.println("DATA RECEPTION => RS-FX-N01"); for(b = 0 ; b < a ; b++){ Serial.print("["); Serial.print(b); Serial.print("]"); Serial.print("=>"); registros =String(ByteArray[b], HEX); Serial.print(registros); Serial.print(" "); } Serial.println(); Serial.println(); ByteData[0] = ByteArray[3] * 256 + ByteArray[4]; Serial.println(ByteData[0]); ByteData[1] = ByteArray[5] * 256 + ByteArray[6]; Serial.println(ByteData[1]); Serial.println(); Serial.println(); Serial.println("RS-FX-N01 => Result"); Serial.print("Wind Direction = "); Serial.print(ByteData[1]); Serial.print(" degree"); delay(400); }