Software developed for a weighing board based on ATmega328 micro-controller and NodeMCU-ESP8266 for wifi conections with database in remote server.
The module (see figure 1) comunicates by ModBus IP Protocol with Windows client application made in C# (.Net Framework) or with a general use ModBus IP application like ModBus Doctor.
Fig. 1 - Weighing board
The board outline was an "Euroboard 160mmx100mm holes" and its mainly composed by:
- 3x Weidmuller OMNIMATE Signal - series B2C/S2C 3.50 - 2-row B2CF 3.50/08/180F SN OR BX;
- 3x sparkfun load cell amplifiers;
- ENC28J60 ethernet shield for ethernet conections and ModBus IP comunication;
- ICSP Header for in-circuit programming of the ATmega chip;
- ATmega 328 (SMD version);
- NodeMCU v3 - ESP8266;
- Traco Power DC-DC Converter (TSR 1-2450);
- Fuse 24V1A;
- Reset Button;
- Infineon Smart High-Side Power Switch (its716g);
- Harting Eurocard - 09041326921 (DIN 41612);
- Power LED.
#The main software was developed for 4 platforms, including:
- ATmega328 for control of the process;
- NodeMCU-ESP8266 for Wi-Fi conections;
- .Net aplication for local or remote control and supervision of the process (see figure 2);
- PHP files for data inserting and WEB pages for supervision of the process (see figures 3 and 4)
Fig. 2 - Microsoft .Net application developed
Fig. 3 - Initial Page (index.php)
Fig. 4 - Home Page (home.php)
#Also, the system was tested in an industrial fruit sorter and, for this, the software was developed only for the main MCU (ATmega32)
(in progress...)