The system consists of three microcontrollers interconnected in a Master–Slave architecture, namely Arduino Pro Mini (Slave 1), STM8S103F3P6 (Slave 2), and ESP32-S3 UNO (Master). The Arduino Pro Mini is responsible for conveyor motor control, including speed regulation and motor direction management. The STM8S103F3P6 serves as an automatic item-counting module, displaying the counting results locally via an I2C LCD. All data generated by the slave nodes are collected by the ESP32-S3 UNO and transmitted to Ubidots using the MQTT protocol. Through this integration, users can monitor item counts and system status in real time via a cloud-based dashboard, enabling remote access and supervision from anywhere.
If this work is useful to you, then support this work as a form of appreciation to the author by clicking the ⭐Star button at the top of the repository.
This application is my own work and is not the result of plagiarism from other people's research or work, except those related to third party services which include: libraries, frameworks, and so on.
MIT License - Copyright © 2026 - Devan C. M. Wijaya, S.Kom
Permission is hereby granted without charge to any person obtaining a copy of this software and the software-related documentation files to deal in them without restriction, including without limitation the right to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons receiving the Software to be furnished therewith on the following terms:
The above copyright notice and this permission notice must accompany all copies or substantial portions of the Software.
IN ANY EVENT, THE AUTHOR OR COPYRIGHT HOLDER HEREIN RETAINS FULL OWNERSHIP RIGHTS. THE SOFTWARE IS PROVIDED AS IS, WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, THEREFORE IF ANY DAMAGE, LOSS, OR OTHERWISE ARISES FROM THE USE OR OTHER DEALINGS IN THE SOFTWARE, THE AUTHOR OR COPYRIGHT HOLDER SHALL NOT BE LIABLE, AS THE USE OF THE SOFTWARE IS NOT COMPELLED AT ALL, SO THE RISK IS YOUR OWN.