Please use this identifier to cite or link to this item:
https://repositorio.ufu.br/handle/123456789/48798| Document type: | Trabalho de Conclusão de Curso |
| Access type: | Acesso Aberto |
| Title: | Ferramenta mmbarcada para diagnóstico e simulação de comunicação Modbus |
| Alternate title (s): | Embedded diagnostic and simulation tool for Modbus communication |
| Author: | Souza, Gabriel Felipe de |
| First Advisor: | Carvalho, Daniel Pereira de |
| First member of the Committee: | Fernandes Junior, Renato Ferreira |
| Second member of the Committee: | Morais, Josué Silva de |
| Summary: | Este trabalho apresenta o desenvolvimento de uma ferramenta embarcada, portátil e multifuncional para análise, registro e simulação de comunicações Modbus RTU, voltada à manutenção e ao diagnóstico de redes industriais em campo. Baseado em um microcontrolador STM32F407 com interface gráfica em display touchscreen, o dispositivo opera em três modos selecionáveis em tempo de execução: Mestre, Escravo e Sniffer/datalogger, com suporte às interfaces RS-232 e RS-485. O firmware foi estruturado em uma Camada de Abstração de Hardware (HAL) própria, baseada em ponteiros opacos e injeção de dependências, facilitando a manutenção e a portabilidade do código. Os resultados confirmaram a operação correta nos três modos, com captura íntegra do tráfego e gravação contínua dos quadros em cartão SD com timestamps. Como contribuição, o trabalho entrega uma ferramenta compacta para apoiar atividades de manutenção, diagnóstico, testes e ensino relacionados a redes Modbus RTU. |
| Abstract: | This work presents the development of a portable and multifunctional embedded tool for Modbus RTU communication analysis, logging, and simulation, aimed at the maintenance and diagnostics of industrial networks in the field. Based on an STM32F407 microcontroller with a touchscreen graphical interface, the device operates in three modes selectable at runtime: master, slave, and sniffer/datalogger, with support for RS-232 and RS-485 interfaces. The firmware was structured around a custom Hardware Abstraction Layer (HAL) based on opaque pointers and dependency injection, easing maintenance and code portability. The results confirmed correct operation in all three modes, with reliable traffic capture and continuous frame logging to an SD card with timestamps. As a contribution, this work delivers a compact tool to support maintenance, diagnostics, testing, and educational activities related to Modbus RTU networks. |
| Keywords: | Modbus RTU Automação industrial Comunicação serial Sistemas embarcados STM32 |
| Area (s) of CNPq: | CNPQ::CIENCIAS EXATAS E DA TERRA CNPQ::ENGENHARIAS CNPQ::ENGENHARIAS::ENGENHARIA ELETRICA CNPQ::ENGENHARIAS::ENGENHARIA ELETRICA::ELETRONICA INDUSTRIAL, SISTEMAS E CONTROLES ELETRONICOS |
| Language: | por |
| Country: | Brasil |
| Publisher: | Universidade Federal de Uberlândia |
| Quote: | SOUZA, Gabriel Felipe de. Ferramenta embarcada para diagnóstico e simulação de comunicação Modbus. 2026. 81 f. Trabalho de Conclusão de Curso (Graduação em Engenharia de Controle e Automação) – Universidade Federal de Uberlândia, Uberlândia, 2026. |
| URI: | https://repositorio.ufu.br/handle/123456789/48798 |
| Date of defense: | 25-Mar-2026 |
| Appears in Collections: | TCC - Engenharia de Controle e Automação |
Files in This Item:
| File | Description | Size | Format | |
|---|---|---|---|---|
| Ferramenta_Embarcada_Modbus (1).pdf | 13.67 MB | Adobe PDF | View/Open |
This item is licensed under a Creative Commons License