Multifunction Meter Data to Arduino Using Rs485

preview_player
Показать описание
multifunction meter data to arduino using Rs485 modbus
The MODBUS RS485 protocol defines communication between a host (master) and devices (slaves) that allows
querying of device configuration and monitoring.MODBUS messages relay simple read and write operations on
16 bit words and binary registers.

Multifunction Energy Meters are used for monitoring electrical installations. A Multifunction energy meter
monitors and measures all the electrical parameters such as voltage, active power, apparent power, current, power factor, reactive power, Active energy, phase angle and so on. This machine is particularly used in cases where exact, accurate, and reliable measurement is required.
---------------
#Rs485Modbus #MultifunctionEnergyMeters #ArduinoWithRs485
--------------

---------------
Music in this video
Artist
Рекомендации по теме
Комментарии
Автор

Hey, nice demo. I've been struggling to get my modbus(RS485) power meter to talk to my arduino. Would you be able to share the code you used to request data and parse the response?

thomasfriberg
Автор

hello sir currently working on same project . There are some garbage value displayed in my serial monitor could please help me with it

ameyapawar
Автор

can ihave connection diagram and program code for my testing pls

mukeshl
Автор

I m use selec energy meter comunication in arduino but display unsigned velue
How to float velue display
My code is this

#include <ModbusMaster.h>
#include <SoftwareSerial.h>
SoftwareSerial mySerial(11, 10); // RX, TX
#define MODBUS_DATA_TRANSACTION_PIN 13
ModbusMaster node;

void preTransmission()
{
digitalWrite(MODBUS_DATA_TRANSACTION_PIN, 1);
}
void postTransmission()
{
digitalWrite(MODBUS_DATA_TRANSACTION_PIN, 0);
}

void setup() {
pinMode(MODBUS_DATA_TRANSACTION_PIN, OUTPUT);
// Init in receive mode
digitalWrite(MODBUS_DATA_TRANSACTION_PIN, 0);
Serial.begin(9600);
// Modbus communication runs at 9600 baud
mySerial.begin(9600);
// Modbus slave ID 1
node.begin(1, mySerial);
// Callbacks allow us to configure the RS485 transceiver correctly


Serial.println("selec Tc id :");

}


void loop() {

node.readInputRegisters(21, 1);
Serial.print("VOLT ");
float prosess_value = node.getResponseBuffer(0);

node.clearResponseBuffer();
delay(500);
node.readHoldingRegisters(23, 1);
Serial.print("AMP ");

node.clearResponseBuffer();
delay(500);


}

sanjay
welcome to shbcf.ru