Skip to main content

Posts

Showing posts with the label Real Time Monitoring

Digital Voltmeter using PIC Microcontroller

This is a simple voltmeter which measures 0-5V at a precision of 4.8 mV. This is a simple design using inbuilt ADC of PIC 16F877A. PIC 16F877A have 8 channel 10bit ADC.   Measured voltage is displayed on 16x2 LCD display. Using one of the most popular 8 bit PIC 16f877A, for instance, reading the datasheet , we'll find that the ADC modules (10 bit) are controlled by four different registers. The first two, ADCON0 and ADCON1 , are used to set and start the ADC module. When high level language is used, the programmer doesn't need to care a lot of the register connected to the results because they are normally stored in a variable by a routine of the language itself ( adc_read , for instance, using mikroc). The ADCON0 As we can see this registers are 8 bit registers where. - bit6 and bit 7 are used to set the frequency of the conversions. - bits 3, 4 and 5 are used to select the pins of the microcontroller enabled to theadc conversions. - bit 2 represents the sta...

Automatic Water Level Control And Real Time Monitoring

Automatic Water Level Control And Real Time Monitoring Description This project will control the water level and keep the level between two predefined upper and lower positions. Any sensors can be used for this project, condition is only that it should give an active low output when activated by water. Sensors are simply water activated switches which is connected to ground. I personally prefer read switch-magnet arrangement. Read switches are fixed on water tank wall at desired positions, and magnet is fixed on a thermocol sheet which floats in water. Modify this idea by experimenting, for an accurate result. The designing of sensor arrangement is shown above. Sensors are read switches connected between PORT pins and ground. There is a magnet fixed on a thermocol which floats on water. Thermocol is free to move up and down through the string with the water level. When the thermocol reaches predefined water-levels the magnet and read switch come in con...