Git Product home page Git Product logo

temperature-and-pressure-monitoring-system-using-pic's Introduction

Temperature-and-Pressure-Monitoring-System-Using-PIC

The system is developed to monitor temperature and pressure using the PIC16F877A microcontroller. Development and simulation of the system are carried out using Proteus. More details are provided below.

Design method

We implemented the temperature and pressure monitoring system using PIC16F877A as the main controller, LM35 temperature sensor and MPX4115 pressure sensor to monitor the environment and display the values on 4-bit (BCD) seven-segments displays respectively. The temperature value is at the max of 150 degrees and the measuring range for the pressure sensor is 15-115 Kpa. When a set temperature or pressure is reached the system will light an LED to indicate an alarm.

Program execution flow

The system is designed in sequential as shown in Fig. S1. Calculation on TIMER0 is performed and the delay time is designed to be 25ms(based on interrupt). The on-board ADC has a 10-bit resolution, but we only use the 8 bits of the 10 bit ADC result as the last two bits are the least significant bits. We extract the ADC result as per place using the subtraction and division algorithm and send them for display. The functionality of “Read and display temperature/ pressure” is encapsulated in subroutines. image

Figure S1: The left is the flow chart of the entire program. The right is the flow chart of the subroutine, “READ AND DISPLAY TEMPERATURE/PRESSURE”.

Signal conditioning circuits

The peripheral circuit is shown in Fig. S2. The operational amplifiers are used as signal processing units to scale the input signal(voltage) into the range of 0-5 volts which is appropriate for PIC16F877A.We also use the op-amp as a comparetor.The output of the comparator will indicate whether the temperature or pressure has reached a set value, and triggers the controller to take an alarm response. image Figure S2: Circuit diagram of the temperature and pressure monitoring system

temperature-and-pressure-monitoring-system-using-pic's People

Contributors

0ce38a2b avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.