Projeto de rede mestre-escravo

Carregando...
Imagem de Miniatura

Data

2020-12-18

Autores

Carneiro, Marcel Simões

Título da Revista

ISSN da Revista

Título de Volume

Editor

Universidade Estadual Paulista (Unesp)

Resumo

The objective of this work is to make an industrial network using a master-slave network model with bus topology, entirely implemented in software; in this case, in the PROTEUS platform. In the project, three PICs are interconnected in a network. One PIC is the master, and the other two are slaves. For every PIC, there is a corresponding alphanumeric LCD display and a signal generator: each PIC digitalizes the signal, originated from the triangular wave generator, converts the value to ASCII and shows it on the LCD display. However, aside from showing the local wave on the LCD display, the values of the other PICs must also be shown on every LCD display. It’s when the master-slave network begins to act: the master PIC coordinates the bus to avoid conflicts. For the generation of the executable codes, in machine language, the MPLAB X must be used along with the XC8 compiler. The PROTEUS imports the file .hex for the microcontrollers, and is also where the simulation happens.
Este trabalho se propõe à criação de uma rede industrial do tipo mestre-escravo com topologia barramento, integralmente implementado em software; no caso, na plataforma PROTEUS. No projeto, três PICs são interligados em rede. Um PIC é o mestre, e os outros dois realizam a função de escravos. Para todo PIC, há um display alfanumérico LCD e um gerador de sinais correspondentes: cada PIC digitaliza o sinal, proveniente do gerador de onda triangular, converte o valor para ASCII e o exibe no display LCD. No entanto, além de haver nos LCDs o valor de onda local, também deverá se exibir os valores dos outros PICs. É então que entra a atuação da rede mestre-escravo: o PIC mestre coordena o barramento para evitar conflitos. Para geração dos programas executáveis, em linguagem de máquina, usa-se o MPLAB X com compilador XC8. O PROTEUS importa o arquivo .hex para os microcontroladores e também é onde é realizada a simulação.

Descrição

Palavras-chave

Master-slave network, Microcontroller, Industrial networks., Rede mestre-escravo, Microcontrolador, PIC, Redes industriais, Controladores programáveis, Microprocessadores, Automação industrial

Como citar