Modbus RTU Master tests with Arduino via RS232 Part 2

In the previous test, performs the communication between Arduino Mega 2560 and a Modbus simulator slave THROUGH the USB port that commonly have our arduino, in this case we will test with an Arduino as Master Modbus but via RS-232 with our PC – simulator modbus slave. Arduino Communication Modbus RTU Master and Slave Simulator Architecture Materials …

Modbus RTU Master Library tests with Arduino Part 1

I start with the following question Arduino can be used in industrial aplicaiones? of course, using a common protocol used in the industry called Modbus Serial RTU in this case configured as Master. MODBUS communication is done by sending the value of A0 (ADC0) 10 modbus records using a potentiometer 100k variation is performed.  …

ESP32 & DS18B20 Sensor on ESP-IDF Temperature (OneWire)

In this opportunity we will simply perform tests on a ds18b20 sensor, indicating the library used in ESP-IDF, in future tests we will use other protocols, especially Modbus. Libreria: Simple library for single DS18B20 on ESP32   Materials Sensor DS18B20 (Onewire) + Resistor 4.8K Esp32 Devkit ESP-IDF V4.3 > Buy it here: Module ESP32 ESP-WROOM Mounting Buy…

Review Module ESP32 TTGO T-Display 1.14 “

This time we will test the module ESP32 TTGO T-Display 1.14 Inch , which has a IPS screen ST7789V 1.14 “ a resolution of 135X240 per protocol SPI , this module It has a USB type C for programming. We will carry out 2 tests: Test and configuration in Arduino IDE Test and configuration in…

Program ESP32 in ESP-IDF idf.py & make PDAControlMV # 3

One of the applications installed in the Virtual Machine (VirtualBox) PDAControlMV based on Linux Lubuntu 20.04 LTS is ESP-IDF. How to download and Install PDAControlMV ESP-IDF ESP-IDF (Espressif IoT Development Framework) is the official programming platform Espressif for ESP32 modules.   ESP32 Module Materials and where to buy them Buy it here: Module ESP32 ESP-WROOM…

Download Lubuntu Virtual Machine (PDAControlMV) IoT in VirtualBox # 1

Virtualization is one of the most used methods to facilitate the compatibility of Software or simply the test of other Operating Systems, technically it is an operating system within another. I have tried for a long time Oracle VirtualBox is one of the most used virtualization software for x86 / amd64 architectures allowing virtualization. FreeBSD…

PDAControlMV IoT Virtual Machine

Lubuntu LTS 20.04 x64 based virtual machine (Virtualbox). contains IoT software: Arduino IDE version 1.8.13 / Boards esp8266 v2.74 / Boards esp32 v10.4 Node-RED version 1.2.7 Grafana-server version 7.3.7 Influxdb version 1.8.3 Chirpstack version 3.13.2 ESP-IDF version 4.3-dev-2586-g526f68239 MySQL version 8.0.22 Mosquitto Broken MQTT version 1.6.9 We will create tutorials to test each of the…

Basic Modbus RTU Master RS485 Test with ESP32 + XY-K485 + PZEM-016 (without libraries)

In this opportunity we will carry out tests and explanation of the Modbus RTU protocol implemented in ESP32 requesting data from the Single-phase consumption meter PZEM-016. The intent of this tutorial is: 1. Explain in a simple way the creation and operation of an industrial protocol, in this case the Modbus RTU protocol used and…