We need a programmer to provide a complete code with a ESP32 library (in C language, with all functions implemented as in "minimalmodus" library of python) for Modbus Communication.
-The Modbus data is to be read from one serial port of ESP32 (using TTL to Modbus converter)
-Multiple slave devices are connected on Modbus (Maximum 25 devices).
-All configuration settings (Like Slave ID, Baud Rate, Byte Size, Parity, Stop Bits, Timout, Function Code, Number of registers to be read, and range of Register addresses to be read) required to read data from Multiple deveices should be taken from JSON files, one for each Slave Device.
-Date and Time to be read from RTC (DS3231)
-Temperature & Humidity is to be read through DHT11
-Date, Time, Modbus Data, Temperature and Humidity to be saved in a CSV file.
-Data of each slave is to be saved in different CSVs with a predefined SlaveID and date (<SlaveID-Date>.CSV) on MicroSD card in different files date wise.
-For each Client different CSV files should be created for each date.
-and live data to be transmitted to serial terminal by another serial port connected to PC by USB.
-Data is to be recieved from multiple devies in sequential order in a contineous loop.
Using ESP32-DevBoard. Photos of hardware is attached.
A step by step documentation is necessary beginning from setup of softwares on PC for programming ESP32 board, setup steps for burning the code in ESP32, till functioning of all features to be included.
Working Scenario :
1. Multiple Modbus devices connected on same bus by TTL to RS485 converter.
2. Baud Rate : 9600, Byte Size : 8, Parity : N, Stop Bits : 1, Timout : 0.25 Sec.
3. Number of registers to be read : 20
4. Function Code : 4 (As per minimalmodbus, Python)
5. With all type of exception handling
6. Infinite loop with delay only wherever necessary as per MODBUS documentation /recommendation.
7 freelancers are bidding on average ₹12716 for this job
Hi, I hope you are doing well. I have extensive experience in Arduino ESP32 programming and development. I have understood your requirements and would like to discuss it further. Looking Forward, Khawaja