Dc voltage measurement using pic microcontroller pdf

Arockia edwin xavier thiagarajar college of engineering,electrical and electronic engineering madurai,tamil nadu email. Design and development of pic microcontroller based 3 phase energy meter thousif ahamed1, a. Digital voltmeter using 8051 microcontroller electronics hub. When the voltage and current are periodic with the same fundamental frequency, the instantaneous power is also periodic with twice the fundamental frequency. You have came across many online tutorials on various websites about voltage measurement using different microcontrollers.

Power can be measured by using different methods namely. May 20, 2012 when the input voltage is 30v max the voltage across 20k ohm resistor becomes 5v which is feedback to the analog pin ra2 of the pic microcontroller. The system architecture of a digital voltmeter dvm is. In alternating current ac, also ac, the flow of electric charge periodically reverses direction. Since the pics ad can only measure positive values, a dc level must be added to the signal, so as not to lose the negative portion. So, it is not possible to directly measure ac voltage greater than 230v by giving high input voltages to microcontrollers which may cause temporary or permanent damage to microcontrollers. But i am unable to find the circuit to step down the ac voltage to dc and that too to the max. To carry out the design consideration and production of a useful consumer product of pic microcontroller.

Sep 10, 2015 each and every microcontroller has adc that is designed to process dc signals. In our lab i saw many dc power supply which have a variable knob to regulate the output. Dc voltage measurement using atmel avr microcontrollers. Ac voltage measurement using pic microcontroller the microcontrollers generally operated and manufactured to work with voltage ratings less than or equal to 5v. Complete arduinovoltmeter code is given at the end of this project and it is well explained through the comments. A voltage divider circuit is used to divide voltage into two parts. Resisitor r3 and r4 acts a level shitfer so that the ac signal zero level is shifted to mid voltage level of the dc 3. Ac voltage measurement using pic16f877a microcontroller.

But all these tutorials are about measurement of low dc voltage. Arduino ac voltmeter project with code and circuit diagram. Ac voltage measurement using pic16f877a microcontroller scribd. I want to measure current as small as 10 ma from a small solar panel, which would give a voltage of 0. Aug 05, 2016 hi, i need help to design a circuit which receives the voltage from ac mains i. There are many different methods to measure the voltage. Ac voltage to dc by rectifying it through fullwave rectification. Pic microcontrollers the basics of c programming language.

Unlike a linear regulator, the efficiency measure of a dcdc converter generally increases as its load increases. The ac voltage measurement using pic microcontroller can be done using a difference amplifier or potential transformer. Pic, voltage sensing, voltage measurement, pic18f4520. Dcdc converter controller using a picmicro controller. Frequency signal is obtained by using a frequency signal converter circuit. So, i bought a 220v6vtransformer to step down the voltage to the minimum level. The practical issues can be different based on how much voltage and current you plan to measure. Here in this circuit resisitor r1 and r2 form a voltage divider to attenuate the ac line voltage.

I was dreaming to make such a project where i can regulate the voltage using push button. If you have the knowledge of adcs then you can easily measure the voltage. Voltmeter and ammeter using pic microcontroller electrosome. This system is to measure acdc voltage, current, diodes, temperature, connectivity, frequency and resistance using pic microcontroller. A system was designed and built to detect the speed and acceleration of a dc motor. It explains how to monitor and sense the above parameters and isolate between the power line and microcontroller. Same as current rating, buy a transformer with minimum secondary voltage.

The projects range from alarm clock to implementing iot ideas. Digital ac voltmeter can also be designed using microcontrollers. Current can be measured by measuring the voltage across a resistor. Mar 15, 2017 dc voltage measurement using the with pic microcontroller 1. At the same time, the maximum amplitude must be kept within the ads reference levels, which could be done using a resistive divider. When the input voltage is 30v max the voltage across 20k ohm resistor becomes 5v which is feedback to the analog pin ra2 of the pic microcontroller. Oct 06, 2018 digital voltmeter using 8051 microcontroller this project measures the input voltage from 0v to 25v. In this project we are going to make our own digital ammeter using pic16f877a microcontroller and current sensor acs7125a. Unlike a linear regulator, the efficiency measure of a dc dc converter generally increases as its load increases. Digital dc watt meter project using pic microcontroller. This system is to measure ac dc voltage, current, diodes, temperature, connectivity, frequency and resistance using pic microcontroller. Design of digital voltmeter for ac voltage measurement using. You must convert the ac signals to propotional dc signals with the help of recti. Vdd and vss of the pic microcontroller is not shown in the circuit diagram.

Sreedevi2 department electrical and electronics engineering, r. Microcontroller pic 16f877a as we see from the figure the microcontroller used is pic 16f877a. Hello, i am new to microcontrollers and am making a project to read ac mains voltage using pic microcontroller pic 16f72. Main components of the system were a singlechip microcontroller, a phototransistor and emitter, and a comparator. Most often this is the choice of microcontroller for project implementation. Digital voltmeter using pic microcontroller project and circuit.

In this project, you will learn how to measure high ac voltage using pic16f877a micrcontroller. I think the pic will have a hard time distinguishing between 1 mv and noise. I am using this below circuit to measure ac voltage using a pic microcontroller pic32mx330f064h. A dcdc converter is normally chosen because of its high efficiency in converting the input power to output power.

An1747 operational amplifier applications using 8bit pic mcus. Digital voltmeter using pic microcontroller project and. To prevent more than 5 volts appearing across the pic microcontroller. The whole process of the digital multimeter is controlled by pic 16f887 microcontroller. Design of digital voltmeter for ac voltage measurement using pic.

The control algorithm of the brushless dc motor is implemented on lpc1549 microcontroller, using a hardware event driven state machine. Isolated current and voltage measurement using fully differential isolation amplifier design overview design features this ti design demonstrates using the amc1100 voltage and current measurement using. Microcontroller base automatic controlling of power factor with load monitoring is shown in fig. Ac alternating current measurement using pic16f877a microcontroller. If you apply ac voltage as input, then will see the continuous running numbers on lcd as ac varies continuously. For this reason, the harvard architecture microcontrollers is much faster. See more ideas about pic microcontroller, electronics projects and electrical projects.

Mar 24, 2016 ac alternating current measurement using pic16f877a microcontroller. Ac voltage measurement using microcontroller electrical. This note will start by explaining how to correctly power and wire the microcontroller for sensing voltage. A properly designed dc dc converter can yield an efficiency measure of greater than 90% at full load. Ac power measurement meter using pic microcontroller. This project can measure both ac and dc current with a range of 030a with an accuracy of 0. As i am not an industrial level expert so this project is just about a digital dc power supply of small range5v12v. The current is measured with the help of an acs 712 current sensor. Simulating ac 285 rms voltage using ac arduino voltmeter. The voltage is sensed by using the step down transformer and voltage divider circuit. Pic 16f876 microcontroller, seven segment display, ac to dc conversion, voltage.

Hence, it is required to step down the high ac voltage around 230v to 5v for measuring voltage using microcontrollers. Digital voltmeter using 8051 microcontroller this project measures the input voltage from 0v to 25v. Ac alternating current measurement using pic microcontroller. Block diagram of standalone data logger using pic microcontroller 2. The pic18f4520 uses a 5v dc power source and communicates with a computer through a rj11. The main part of this ac voltmeter project are 1 converting circuit for converting ac to dc in range of 05v 2 adc interfacing10 bit inbuilt adc of 16f676 3 7 segment multiplexing. This algorithm runs on a state configurable timer peripheral. Cmx881 51f8 pic16lf877 programming ramp voltage with pic microcontroller analogue multimeter um8810 ev8810 tp10 electret mic terminals text. Interfacing dc motor with pic microcontroller using l293d. Motor speed sensing with pic microcontroller brandon. Ac voltage measurement using atmega8 engineer experiences. Measuring battery voltage from microcontroller using adc. Digital voltmeter using a pic can read the voltage from 040 volt. Armature voltage is varied by pulse width modulation pwm of input dc voltage by using the developed microcontroller s program.

In pic 16f877a contains data memory eeprom up to 256. The objective of developing this project is to control the speed of dc motor. For measuremnt of ac current you have to meausre peak value of sine wave you can find for more information visit this link category. Isolated current and voltage measurement using fully. Digital dc power supply using pwm with pic microcontroller. First we will know about ac voltage parameters, then we will do the whole work step by step. Measurement, monitoring of dc voltage and frequency of a. This system was designed to try to test the applications of a pic chip processor. The abbreviations ac and dc are often used to mean simply. The input offset voltage should be very less relative to the operating voltage range of the op amp. This means a dc current can be indirectly measured by a microcontrollers adc channel by first converting the current into voltage. Motor speed sensing with pic microcontroller brandon upchurch. The microcontroller uses its ad converter to convert this voltage analogue value to a number digital value which is then sent to the lcd display via several conductors.

I too am trying to measure current with a pic 18f2520 using a 0. Microcontroller based electrical parameter monitoring. Oct, 2016 ac voltage measurement using atmel avr microcontrollers. Armature voltage is varied by pulse width modulation pwm of input dc voltage by using the developed microcontrollers program. Usually pic adc can measure up to rail voltage when using vdd as reference, so you will have to make sure that the voltage to be measured is always between 0 vdd volts. This paper is mainly concerned on dc motor speed control system by using microcontroller pic 16f877a.

Design and construction of digital multimeter using pic. The difference amplifier or potential transformer is used to stepdown the voltage and then by using analog to digital converter or rectifier the voltage reading is displayed on lcd display. Mar 06, 2016 in this video will learn how to design digital current voltmeter using voltage divider and difference amplifier method, how to write code using mikro c and pic. This ac voltage is converted into 5v dc using bridge rectifier and a 7805 type 5v regulator which can deliver current up to 1a. This time we will see how to measure ac voltage parameters with the help of microcontroller. Voltmeter and ammeter can be easily made using pic microcontroller having adc. Ac voltage measurement using pic microcontroller and opamp. Digital dc voltmeter is designed to measure dc voltage using the pic16f877a microcontroller. Where pic receives this voltage and displays the ac mains voltage on lcd by doing calculations. Microcontroller pic16f73 can be used instead of pic16f877a.

Design of digital voltmeter for ac voltage measurement. The simplest way of doing this is to place a resistance in series with the current path and measure the voltage drop across it. It is usually of the order of 80 db in a typical op. This voltage measurement example can measure maximum of 50 volts, it is useful for measurement of solar voltage, dc adapter or battery voltages. For engineers, pic microcontroller has been a godsend. In my country, we have 220 volts ac at domestic level. Pdf a digital speed control application on the universal. Measure current using pic microcontroller all about circuits. Three phase voltage measurement using pic microcontroller. Design and development of pic microcontroller based 3. The operating speed of the microcontroller is dc 20 m hz and clock input dc 200ns instruction per cycle. Pdf microcontroller based dc motor speed control using pwm. The difference amplifier or potential transformer is used to stepdown the voltage and then by using analog to digital converter or.

Voltage measurement with a pic microcontroller ryan popa 03302012 design team 3 abstract the purpose of this application note is to explain how to measure a voltage using a pic18f4520 microcontroller. We have mod lightings from a lot of vendors in the market. Simulation is performed for various voltages between 220 r. The microcontrollers generally operated and manufactured to work with voltage ratings less than or equal to 5v. Once the rectification is done the voltage under measurement should be given to the specified adc channel pin of the microcontroller, since our pic microcontroller is having internal adc. But i will give you a method through which you can do this job just like 1 2 3. Digital ammeter circuit using pic microcontroller and acs712. Voltage measurements are easy tasks through a microcontroller.

The main advantage in using a dc motor is that the speedtorque relationship can be varied to. Ac voltage measurement using pic all about circuits. Construction of microcontroller based digital voltmeter. Feb 14, 2017 pic 16f676 microcontroller is used in this circuit. Power measurement is done for both ac circuits and dc circuits.

Adc function based on pwm technique electronic design. Top 20 pic microcontroller projects pic microcontroller. Voltage meter volt meter can measure dc voltages up to 50v. Temperature meter temperature meter can use between 0 c to 150 c. College of engineering, bangalore, indias1,2 abstract the purpose of this project is to develop a 3phase energy meter, using dspic33f microcontroller and mcp3909. In direct current dc, also dc, the flow of electric charge is only in one direction. Measuring the voltage and current will always be helpful while making or debugging any electrical system. Voltage measurements are easy tasks through a micro controller. A properly designed dcdc converter can yield an efficiency measure of greater than 90% at full load. Mamatha c g, asst professor department of electrical and electronics engineering gsss institute of engineering and technology for women mysore, india abstract. The current and voltage single are acquired from the main ac line by using current transformer and potential transformer. Here, we will look on the measurement parts of dc voltage using atmel avr micro controllers. In this voltage measurement example we are measuring voltage of the dc 9v battery, you can connect any dc source to red and black wires. An1747 operational amplifier applications using 8bit.

We can drive two dc motors with one l293d, in this example we are using only the first pair of drivers to drive one dc motor. Digital voltmeter voltmeter is an electrical measuring instrument which is used to measure both ac and dc voltage. We compiled a list of 20 pic microcontroller projects ideas for electronics engineers. There are lot of blogs present on the internet explaining adcs. A dc dc converter is normally chosen because of its high efficiency in converting the input power to output power. Pdf microcontroller based dc motor speed control using. If you want to measure ac signals with the help of microcontroller there are 2 ways. Here, the input voltage should be dc voltage to get the accurate output on lcd. Each and every microcontroller has adc that is designed to process dc signals. A microcontroller reads the width digitally and displays the corresponding dc input voltage to the user after engineering conversion through the rs232 port of a legacy machine. Design and development of pic microcontroller based 3 phase.

783 18 1423 1456 1481 323 7 1347 769 306 10 1163 541 624 1504 804 946 1302 1301 291 569 739 356 650 1388 839 558 811 1253 744 87 233