14
OHMÍMETRO DIGITAL Bernardo Xavier da Silva Kaio César Câmara de Lima UNIVERSIDADE FEDERAL DO RIO GRANDE DO NORTE CENTRO DE TECNOLOGIA DEPARTAMENTO DE ENGENHARIA ELÉTRICA ELE0622 – INSTRUMENTAÇÃO ELETRÔNICA Prof.: Luciano Fontes Cavalcanti

Ohmímetro Digital

  • Upload
    kelli

  • View
    27

  • Download
    0

Embed Size (px)

DESCRIPTION

UNIVERSIDADE FEDERAL DO RIO GRANDE DO NORTE CENTRO DE TECNOLOGIA DEPARTAMENTO DE ENGENHARIA ELÉTRICA ELE0622 – INSTRUMENTAÇÃO ELETRÔNICA P rof.: Luciano Fontes Cavalcanti. Ohmímetro Digital. B ernardo Xavier da Silva K aio César Câmara de Lima. SUMÁRIO. Introdução Desenvolvimento - PowerPoint PPT Presentation

Citation preview

Page 1: Ohmímetro Digital

OHMÍMETRO DIGITAL

Bernardo Xavier da Silva

Kaio César Câmara de Lima

UNIVERSIDADE FEDERAL DO RIO GRANDE DO NORTE

CENTRO DE TECNOLOGIA

DEPARTAMENTO DE ENGENHARIA ELÉTRICA

ELE0622 – INSTRUMENTAÇÃO ELETRÔNICA

Prof.: Luciano Fontes Cavalcanti

Page 2: Ohmímetro Digital

SUMÁRIO

Instrumentação Eletrônica: Ohmímetro Digital - 2009.2

1. INTRODUÇÃO

2. DESENVOLVIMENTO

3. CONCLUSÃO

4. REFERÊNCIAS

Page 3: Ohmímetro Digital

1. INTRODUÇÃO

Instrumentação Eletrônica: Ohmímetro Digital - 2009.2

O projeto aqui descrito teve o intuito de desenvolver um

ohmímetro digital com software embarcado em microcontrolador

utilizando um PIC16F877A (PIC), da microchip.

Este trabalho baseou-se em um projeto semelhante

desenvolvido pelo aluno Raphael Dantas Ciríaco [1], no semestre

2008.2 na disciplina Instrumentação Eletrônica.

Page 4: Ohmímetro Digital

2. DESENVOLVIMENTO

Instrumentação Eletrônica: Ohmímetro Digital - 2009.2

2.1 DIAGRAMA DE BLOCOS

• Resistência em forma de tensão;

• Conversão A/D da tensão referente a resistência a ser medida; e

• Exibição do valor da resistência no display LCD.

Circuito Amplificador

PIC16F877A Display LCD

Page 5: Ohmímetro Digital

2. DESENVOLVIMENTO

Instrumentação Eletrônica: Ohmímetro Digital - 2009.2

2.2 CIRCUITO AMPLIFICADOR/INVERSOR – ESCALAS

Figura 2: CI com dois AmpOps

Figura 1: Configuração Inversora

Page 6: Ohmímetro Digital

2. DESENVOLVIMENTO

Instrumentação Eletrônica: Ohmímetro Digital - 2009.2

2.2 CIRCUITO AMPLIFICADOR/INVERSOR – ESCALAS

• 1ª Escala - 250Ω

• 2ª Escala – 25kΩ

• 3ª Escala – 250kΩ

Page 7: Ohmímetro Digital

2. DESENVOLVIMENTO

Instrumentação Eletrônica: Ohmímetro Digital - 2009.2

2.3 O PIC16F877A

Figura 3: PIC16F877A

• Conversão A/D;

• Reconhecimento da Escala;

• Tratamento da tensão convertida;

• Ajuste Decimal;

• Conversão binário-ASCII;

• Envio para o display LCD.

Page 8: Ohmímetro Digital

2. DESENVOLVIMENTO

Instrumentação Eletrônica: Ohmímetro Digital - 2009.2

2.3 O PIC16F877A

2.3.1 Conversão A/D

Exemplo: Escala 1, RF=20Ω

BPIC = 51.(0,02RF) => BPIC = 20,4 => BPIC ≈ 20b

5 V 255 (B’11111111’)V0 BPIC

BPIC = 51 V0

Page 9: Ohmímetro Digital

2. DESENVOLVIMENTO

Instrumentação Eletrônica: Ohmímetro Digital - 2009.2

2.3 O PIC16F877A

2.3.2 Reconhecimento da Escala

• Leitura dos pinos RC0, RC1 e RC2.

2.3.3 Ajuste Decimal

• Separação do valor convertido em Centena, Dezena e

Unidade.

2.3.4 Conversão Binário-ASCII

• Converte o valor binário da centena, dezena e unidade no seu

respectivo valor ASCII.

Page 10: Ohmímetro Digital

2. DESENVOLVIMENTO

Instrumentação Eletrônica: Ohmímetro Digital - 2009.2

2.3 O PIC16F877A

2.3.5 Envio para o display LCD

• Preparação do display – Configurações Iniciais;

• Escrita da tela principal;

• Posicionamento do cursor;

• Envio do valor da resistência.

Page 11: Ohmímetro Digital

2. DESENVOLVIMENTO

Instrumentação Eletrônica: Ohmímetro Digital - 2009.2

2.3 SIMULAÇÃO - PROTEUS

Page 12: Ohmímetro Digital

3. CONCLUSÃO

Instrumentação Eletrônica: Ohmímetro Digital - 2009.2

Ao se comparar o ohmímetro microcontrolado (ODM) com o

desenvolvido em [1] percebe-se uma grande economia de circuito. Dessa

maneira o projeto aqui proposto pode ser caracterizado por sua

portabilidade. Entretanto, foi verificado uma precisão não satisfatória ao

utilizar o ODM na medição de resistores superiores a 200kΩ.

As figuras a seguir ilustram a economia de espaço ao projetar o

ohmímetro embarcado em microcontrolador.

Page 13: Ohmímetro Digital

3. CONCLUSÃO

Instrumentação Eletrônica: Ohmímetro Digital - 2009.2

Figura 3: Ohmímetro digital microcontrolado (ODM)

Figura 4: Ohmímetro digital (projeto de Raphael D. Ciríaco)

Page 14: Ohmímetro Digital

4. REFERÊNCIAS

Instrumentação Eletrônica: Ohmímetro Digital - 2009.2

[1] OHMÍMETRO DIGITAL, Raphael Dantas Ciríaco – 2008. Projeto da disciplina INSTRUMENTAÇÂO ELETRÔNICA, ministrada pelo professor Luciano Fontes Cavalcanti no período letivo 2008.2;[2] Datasheet do circuito integrado LF353;[3] Datasheet do microcontrolador PIC16F877A;[4] Datasheet do LCD;[5] Manual do Usuário do kit de desenvolvimento SD-1700, da Mosaico-Didactic (www.mosaico-eng.com.br);[5] Notas de aula da disciplina INSTRUMENTAÇÂO ELETRÔNICA, ministrada na UFRN pelo professor Luciano Fontes Cavalcanti no período letivo 2009.2;[6] Notas de aula da disciplina TÓPICOS ESPECIAIS EM SISTEMAS DIGITAIS, ministrada na UFRN pelo professor José Aberto Nicolau de Oliveira no período letivo 2009.1.