4
8/12/2019 Www Electroniq Net (2) http://slidepdf.com/reader/full/www-electroniq-net-2 1/4 Electronics Projects, Circuit Diagrams Home Blog Links Download Contact Forum Electronics Projects 555 timer circuits Audio circuits Battery Chargers Electronic Tutorials Led drivers MIcrocontroller Projects Power Supply Circuits DC DC Converters Radio frequency circuits Various Electronics Projects Detectors Circuit Projects Motor control circuits Testers Circuit Projects Search this site: Search Home PIC16F84A digital thermometer micr ocon troller project Microcontroller Projects You can measure tempera ture usin g various methods like : analog circuits , digital circuits or some other methods . This electronic project is a very simple thermometer that is based on the PIC16F84A microcontroller , designed by Microchip . Why to use a thermometer that is designed using a microcontroller and not a classic analog thermometer ? because you can design a complex solution using few external components , resulting an low cost application that provide a high precision measurement . This Digital thermometer microcontroller project use watchdog timer function to measure temperature . The WDT on all PICmicro microcontrollers has a nominal time-out period of 18 ms. The WDT time-out period varies with temperature, VDD and part-to-part process variations. Without using a separate temperature sensor, it is possible to calculate the temperature with reasonable accuracy using the WDT time- out period. To translate the environment temperature into an actual reading, the system must be able to do the following: • Provide a method for establishing time-out to temperature calibration • Coun t the n umber of WDT ti me-outs f or a gi ven period of time • Equate the number of time -outs to a temperature The system design also includes wake-on-interrupt key scanning and temperature display. The circuit diagram is built around a PIC16F84A microcontroller, three seven segment LEDs to display temperature. The common anode of each LCD is connected to PORTA<2:0> through PNP transistors, which are used to source the current for each digit. The entire device operates on a single 9V battery. The PIC16F84A microcontroller is normally in SLEEP mode, consuming very little operating current but if any key is pressed, it ‘wakes up’ from SLEEP and updates the WDT count, and checks for additional key presses. If there are none, it returns to SLEEP mode. The WDT Thermometer has three distinct operating modes: SLEEP Mode: This is the default mode the system starts in when power is applied . Display Mode: When the TEMP key is pressed, the system wakes up and the LEDs show the temperature in degrees Centigrade. Calibration Mode: This mode creates a set of new calibration values, in addition to those present in the firmware. To calibrate the device you must to : 1. Place the system in the temperature forcing system at the higher of the two calibration temperatures, and wait 5 minutes for the temperature to stabilize. 2. Press and hold the SET key while applying power to the system. 3. Press either the UP or DOWN key to increase or decrease the displayed temperature setting by one degree to match the actual temperature. 4. Press the SET key. The new high temperature calibration is stored in data EEPROM. 5. Change the temperature of the forcing system to the low calibration temperature (allow 5 minutes for the temperature to stabilize). 6. Press either the UP or DOWN key to increase or decrease the displayed temperature setting by one degree to match the current temperature. 7. Press the SET key. The new low temperature calibration is stored in data EEPROM, and the firmware sets a flag (Default) to indicate that new calibration information is available. 8. To return to the preprogrammed calibration at any time during this process, press the TEMP key. True IT Agility w/ VMware vcloudproviders.vmware.com vCloud Providers offer the capacity & scalability you need. Learn more. Dial Thermometers www.dwyer-inst.com Bimetal&Liquid Filled Thermometers Solar Power & Min/Max Pointer Style Download Network Monitor opmanager.manag Manage LAN, WAN, Bandwidth, VoIP used by over 8000 admins. Try now! converted by Web2PDFConvert.com

Www Electroniq Net (2)

Embed Size (px)

Citation preview

Page 1: Www Electroniq Net (2)

8/12/2019 Www Electroniq Net (2)

http://slidepdf.com/reader/full/www-electroniq-net-2 1/4

Electronics Projects, Circuit Diagrams

Home Blog Links Download Contact Forum

ElectronicsProjects555 timer circuits

Audio circuits

Battery Chargers

Electronic Tutorials

Led drivers

MIcrocontroller Projects

Power Supply Circuits

DC DC Converters

Radio frequency circuitsVarious Electronics

Projects

Detectors Circuit Projects

Motor control circuits

Testers Circuit Projects

Search this site:

Search

Home

PIC16F84A digital thermometer micr ocon troller projectMicrocontroller Projects

You can measure tempera ture usin g various methods like : analog circuits , digital

circuits or some other methods . This electronic project is a very simple thermometer that

is based on the PIC16F84A microcontroller , designed by Microchip .

Why to use a thermometer that is designed using a microcontroller and no t a classic

analog thermometer ? because you can design a complex solution using few external

components , resulting an low cost application that provide a high precision

measurement .This Digital thermometer microcontroller project use watchdog timer function to measure temperature . The WDT on all PICmicro

microcontrollers has a nominal time-out period of 18 ms. The WDT time-out period varies with temperature, VDD and part-to-part

process variations.

Without using a separate temperature sensor, it is possible to calculate the temperature with reasonable accuracy using the WDT time-

out period.

To translate the environment temperature into an actual reading, the system must be able to do the following:

• Provide a method for establishing time-out to temperature calibration

• Coun t the n umber of WDT ti me-outs f or a gi ven period of time

• Equate the number of time -outs to a temperature

The system design also includes wake-on-interrupt key scanning and temperature display.

The circuit diagram is built around a PIC16F84A microcontroller, three seven segment

LEDs to display temperature. The common anode of each LCD is connected to PORTA<2:0> through PNP transistors, which are used to

source the current for each digit. The entire device operates on a single 9V battery.

The PIC16F84A microcontroller is normally in SLEEP mode, consuming

very little operating current but if any key is pressed, it ‘wakes up’ from SLEEP and updates the WDT count, and checks for additional

key presses. If there are none, it returns to SLEEP mode.

The WDT Thermometer has three distinct operating modes:

SLEEP Mode: This is the default mode the system starts in when power is applied .

Display Mode: When the TEMP key is pressed, the system wakes up and the LEDs show the temperature

in degrees Centigrade.

Calibration Mode: This mode creates a set of new calibration values, in add ition to those pre sent in the firmware.

To calibrate the device you must to :

1. Place the system in the temperature forcing system at the higher of the two calibration temperatures, and wait 5 minutes for the

temperature to stabilize.

2. Press and hold the SET key while applying power to the system.

3. Press either the UP or DOWN key to increase or decrease the displayed temperature setting by one degree to match the actual

temperature.

4. Press the SET key. The new high temperature calibration is stored in data EEPROM.

5. Change the temperature of the forcing system to the low calibration temperature (allow 5 minutes for the temperature to stabilize).

6. Press either the UP or DOWN key to increase or decrease the displayed temperature setting by one degree to match the current

temperature.

7. Press the SET key. The new low temperature calibration is stored in data EEPROM, and the firmware sets a flag (Default) to indicate

that new calibration information is available.

8. To return to the preprogrammed calibration at any time during this process, press the TEMP key.

True IT Agility w/VMwarevcloudproviders.vmware.com

vCloud Providers offer thecapacity & scalability you need.Learn more.

Dial Thermometerswww.dwyer-inst.com

Bimetal&Liquid Filled Thermometers Solar Power & Min/Max Pointer Style

DownloadNetwork Monitor

opmanager.manag …

Manage LAN, WAN,Bandwidth, VoIPused by over 8000admins. Try now!

converted by Web2PDFConvert.com

Page 2: Www Electroniq Net (2)

8/12/2019 Www Electroniq Net (2)

http://slidepdf.com/reader/full/www-electroniq-net-2 2/4

This project ( hardware and software ) was designed by Leena Chaudhari from Microchip Technology Inc.

You can download source code for this PIC16F84A project by following this link PIC16F84A thermometer source code

6LikeLike 1 Tweet

Comments what is the j1 in the circuitFri, 10/11/2013 - 07:16 — edz (not verified)what is the j1 in the circuit can you reply the components in the circuit

»reply

There is no j1component inSun, 10/27/2013 - 10:22 — EltechThere is no j1component in this circuit, maybe Y1 which is a 2Mhz Crystal oscillator.

»reply

J1 is below „DOWN“ key.Thu, 01/30/2014 - 11:07 — Anonymous (not verified)J1 is below „DOWN“ key.

»reply

J1 is a 5 pin connector usedSun, 02/16/2014 - 17:50 — EltechJ1 is a 5 pin connector used for microcontroller programming

»reply

Hi. Im beginner, i learnMon, 02/25/2013 - 16:25 — sagadevan (not verified)Hi. Im beginner, i learn microcontroler autodidact. I need HEX file for thats scheme. Send to my email please. Thank you.

»

»reply

You have source code attachedTue, 01/01/2013 - 12:39 — EltechYou have source code attached for this project, you need just to compile and obtain the hex file

»reply

Hi. Im beginner, i learnTue, 12/25/2012 - 02:50 — Inoshuke (not verified)Hi. Im beginner, i learn microcontroler autodidact. I need HEX file for thats scheme. Send to my email please. Thank you.

»reply

converted by Web2PDFConvert.com

Page 3: Www Electroniq Net (2)

8/12/2019 Www Electroniq Net (2)

http://slidepdf.com/reader/full/www-electroniq-net-2 3/4

Post new comment Your name: * Anonymous

E-mail: *

The content of this field is kept private and will not be shown publicly.

Your message : *

CAPTCHA

This question is for testing whether you are a human visitor and to prevent automated spam submissions.

What code is in the image?: *

Enter the characters shown in the image.

Save

Circuit Diagram

PIC16F84A digital thermometer microcontroller project

You can measure temperature using various methods

like : analog circuits , digital circuits or...

PWM motor control with MSP430 A very simple and useful PWM motor control circuit can

be constructed using MSP430 integrated...

PIC16CXXX real time clockelectronic project

A very simple real time clock electronic project can be

designed using the PIC16CXXX...

PIC16F886 horn driver A very interesting horn driver project presented by

Microchip technology is presented in this...

PIC16c71 four channel digitalvoltmeter

This electronic circuit project is a simple four channel

digital voltmeter with display and...

Digital clock project usingPIC16C54A microcontroller

Using microcontrollers we can design various electronic

projects using few external electronic...

PIC16C54 dual dice electronicproject circuit

An electronic dice project circuit can be designed in

various modes , using logic circuit or...

Serial EEPROM programmer circuit

This Serial EEPROM programmer is very simple and

require few external electronic parts .

...

Watch system electronic projectcircuit using PIC18F87J11 MCU

A very simple complete watch system can be designed

using the MCP79410 real time clock calendar...

Pic meter using PIC16C622Using microcontrollers you can design many interesting

and useful electronic projects . This...

Digital clock electronic projectusing PIC16C54

A very simple digital clock project based on the

PIC16C54 microcontroller can be designed using...

converted by Web2PDFConvert.com

Page 4: Www Electroniq Net (2)

8/12/2019 Www Electroniq Net (2)

http://slidepdf.com/reader/full/www-electroniq-net-2 4/4

© 2014 ELECTRONIQ.NET ALL RIGHTS RESERVEDSITEMAP

converted by Web2PDFConvert.com