1. INTRODUCTION
2. ModbusMaster
This library allows you reading ORNO WE energy meter(s) using:
- Hardware Serial (recommended option, smallest number of reads errors) or
- Software Serial (library for ESP8266) and
- ModbusMaster (library for Arduino)
you also need rs232<->rs485 converter:
- with automatic flow direction control
- WITHOUT automatic flow direction control
Default DeRe Pin is D6 (NodeMCU) - in the OR_WE.h file you can redefine the Pin for your needs.
You need to change the value "ku8MaxBufferSize" inside the library to 100!