Industrial Level Projects
This project involves the design and implementation of a datalogging system for monitoring and managing household battery packs. The datalogging system is positioned between the inverter and battery packs. The communication between the battery packs and the datalogger hardware is established using Modbus protocol, facilitated by an ESP32 microcontroller. The datalogger extracts data from the battery packs, decodes the Modbus reply, and utilizes the information to generate CAN messages with different protocols tailored for various inverters.
Furthermore, the extracted data is formatted into a JSON file and transmitted to the backend through MQTT protocol. The backend then facilitates the display of battery data on a mobile app developed by our company.
- The ESP32 microcontroller is programmed to interpret Modbus communication and decode reply data from battery packs.
- CAN messages are generated based on the decoded data, with different protocols for each inverter.
- Extracted data is formatted into a JSON file for easy storage and transmission.
- MQTT protocol is employed to send JSON data to the backend for further processing.
- The backend manages the storage, processing, and retrieval of battery data.
- The mobile app provides a user-friendly interface to display real-time battery information.
-
Datalogger Setup:
- Connect the datalogger hardware between the inverter and battery packs.
- Ensure proper Modbus communication setup.
-
ESP32 Configuration:
- Flash the ESP32 with the provided firmware to handle Modbus, CAN and MQTT communication and data processing.
-
Inverter Configuration:
- Configure the datalogger to generate CAN messages with the specific protocols for each inverter.
-
Backend Integration:
- Set up the backend to receive JSON-formatted data via MQTT and process it accordingly.
-
Mobile App:
- Install the mobile app developed by our company to monitor and display battery data.
![](https://private-user-images.githubusercontent.com/129023792/282566200-f0c278a8-6c6b-4998-889a-7ac5a73ec177.jpeg?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjIzMTM0OTAsIm5iZiI6MTcyMjMxMzE5MCwicGF0aCI6Ii8xMjkwMjM3OTIvMjgyNTY2MjAwLWYwYzI3OGE4LTZjNmItNDk5OC04ODlhLTdhYzVhNzNlYzE3Ny5qcGVnP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZT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