Desenvolvimento e análise de protocolos de comunicação serial para integração com dispositivos ESP32
Loading...
Date
Co-advisor(s)
Committee members
Assayag, Yuri Freitas
Barreto, Raimundo da Silva
Souto, Eduardo James Pereira
Barreto, Raimundo da Silva
Souto, Eduardo James Pereira
Graduate program
Journal Title
Journal ISSN
Volume Title
Publisher
Access rights
DOI
Resumo (Portuguese)
No contexto atual de crescente demanda por soluções eficientes em automação e Internet das Coisas (IoT), o microcontrolador ESP32 desempenha um papel essencial em projetos como automação residencial, robótica e sistemas eletrônicos. Em muitos desses projetos, sistemas operacionais robustos, como o Linux, são utilizados para garantir uma comunicação eficiente entre o ESP32 e outros componentes de software, otimizando o controle e a troca de dados entre dispositivos e sistemas maiores. Este trabalho propõe o desenvolvimento de um driver para o kernel Linux, possibilitando a integração com o microcontrolador ESP32, que controla sensores e atuadores em um ambiente de automação. O foco do projeto está na criação de um sistema que permita o controle de dispositivos, como LEDs e sensores de temperatura e umidade, via comunicação serial, bem como a integração com um bot do Telegram para facilitar o controle remoto. O firmware desenvolvido para o ESP32 foi configurado para interagir com o sistema Linux, sendo capaz de receber comandos e retornar dados por meio de comunicação serial. Adicionalmente, a comunicação com o bot do Telegram permitiu a interação remota, oferecendo uma interface simples e eficiente para o controle dos atuadores e a leitura de dados dos sensores. Durante o desenvolvimento, foram feitas alterações no driver do kernel para suportar essa comunicação, garantindo uma integração completa entre o hardware e o software. O projeto atendeu aos objetivos propostos, oferecendo uma solução eficiente e flexível para a automação de sistemas embarcados, com potencial de ser ampliado para diversas outras aplicações.
Abstract
In the current context of increasing demand for efficient solutions in automation and the Internet of Things (IoT), the ESP32 microcontroller plays a crucial role in projects such as home automation, robotics, and electronic systems. In many of these projects, robust operating systems like Linux are used to ensure efficient communication between the ESP32 and other software components, optimizing control and data exchange between devices and larger systems. This work proposes the development of a driver for the Linux kernel, enabling integration with the ESP32 microcontroller, which controls sensors and actuators in an automation environment. The project’s focus is on creating a system that allows the control of devices such as LEDs and temperature and humidity sensors via serial communication, as well as integration with a Telegram bot to facilitate remote control. The firmware developed for the ESP32 was configured to interact with the Linux system, being able to receive commands and return data through serial communication. Additionally, the communication with the Telegram bot allowed remote interaction, offering a simple and efficient interface for controlling actuators and reading sensor data. During the development, changes were made to the kernel driver to support this communication, ensuring complete integration between hardware and software. The project met the proposed objectives, providing an efficient and flexible solution for embedded system automation, with potential for expansion to various other applications.
Description
Keywords
Controlled term
Sustainable Development Goals (SDG)
Citation
Collections
Endorsement
Review
Supplemented By
Referenced By
Creative Commons license
Except where otherwise noted, this item's license is described as Acesso Aberto

