A common de-facto standard is the use of TX+/RX+ (or D+) as an alternative for B (high for mark i.e. The RS-485 standard names its terminals A, B and COM. However, we are going to use a cable long enough to exit the cabinet and place our MKR WiFi 1010 board in an accessible place.Įnergy meter RS-485 interface connections This type of cable is typically used for phone lines, so it can be used to transmit electrical signals over long distances (up to 1.2 km). Now it is time make the connection between the energy meter and our MKR WiFi 1010 board! For this, we will use twisted single pair cable with ground. Wires above are inputs, wires below are outputs The output has to be connected to the rest of the system. Place the energy meter inside your cabinet and connect the live and neutral wires from the main breaker to the input of the meter, remember to use the standard color convention (blue for neutral and brown/black/grey for live in EU. Warning! Check your country regulations about dealing with your house electrical system and be extremely careful because it can be deadly! If you don't know how, call an electrician. To ensure you are working in a safe environment, turn off the power from the electrical terminal ahead of your system and double check with a multimeter that there is no voltage between the terminals.
ARDUINO RS485 MODBUS RTU INSTALL
Also, this energy meter has a RS-485 Modbus interface, this is an industrial communication protocol that can be decoded in Arduino boards using an Arduino MKR 485 Shield and the Arduino Modbus library.įinder Type 73.64 Energy Meter (source: Finder) Setting Up the Finder Type 7E.64 Energy Meterįirst, you must install the energy meter in your electrical cabinet. This energy meter is designed for DIN rail use and fits perfectly in the main cabinet of our house. While different types of energy meters exist, in this tutorial we choose a Finder Type 7E.64 Energy Meter.
![arduino rs485 modbus rtu arduino rs485 modbus rtu](https://www.waveshare.com/media/catalog/product/cache/1/image/800x800/9df78eab33525d08d6e5fb8d27136e95/m/o/modbus-rtu-relay-1.jpg)
Energy meters can be use also to measure the energy consuption of houses and buildings.
ARDUINO RS485 MODBUS RTU SOFTWARE
The hardware and software used in this tutorial:Įnergy consumption awareness is a key factor to reduce energy costs and improve energy efficiency we can measure energy consuption using electric meters, a.k.a energy meters.Īn analog energy meter (source: General Electric)Įlectric meters, also known as energy meters, are electronic devices that can measure the amount of energy consumed by an electrically powered equipment such as a refrigerator or a lamp.
ARDUINO RS485 MODBUS RTU HOW TO
Learn how to use the Arduino® MKR 485 Shield with an Arduino® MKR WiFi 1010 board.Learn how to connect a Modbus energy meter to the Arduino Cloud IoT.In this tutorial, we are going to learn how to connect a Modbus energy meter to the Arduino Cloud IoT using an Arduino® MKR WiFi 1010 board and an Arduino® MKR 485 Shield.
![arduino rs485 modbus rtu arduino rs485 modbus rtu](https://i.ytimg.com/vi/i46jdhvRej4/maxresdefault.jpg)
![arduino rs485 modbus rtu arduino rs485 modbus rtu](https://circuitdigest.com/sites/default/files/inlineimages/u1/Pinout-of-RS-485.jpg)
As some say: good for the planet, the wallet and the bottom line. If you really want to make your home smarter, you'll probably want start from your monthly bills (for example, energy, gas, etc.).