Search Engine

Voltmeter Code

Add Question

Are you looking for?:
voltmeter , voltmeter and , pic voltmeter , lcd voltmeter
40 Threads found on Voltmeter Code
Can any one help me on this. I am working on voltmeter using the adc of pic6f877a with lcd , my code works perfect on proteus but when i implement it, it won't respond fine. At times it display, at times it don't. Pls i need help. No one can help you better with out your code and hardware connection.Post the code an
can u give me the circuit diagram, source code and proteus simulation of digital voltmeter and ammeter and frequency meter to measure ac as well as dc. very urgent. - - - Updated - - - using microcontroller
Here it is: #include main() { printf("Hello World - I'm a voltmeter!"); }
Who can help me to do digital voltmeter on FPGA. I want to know which are the essential steps when i achieve to do my topic. I am also new about FPGA. Thank u !
what happens? does the PIC ADC read 0, 0xFFFF, etc? have you put a voltmeter on the PIC ADC input pin to check if the sensor is working correctly ?
hy guyz,i'm working on digital voltmeter and ammeter (130V and 40A,on lcd) using atmega328. it is working well on proteus.but not worknig on verroboard,it shows the constant voltage and current i.e, 130V and 40A(max. does not detect the adc voltage. This is my code. #include LiquidCrystal lcd(7,8,9,10,11
Hi, Your circuit should look like the picture below. The power on default for pin RA0 is Analogue Input so unless you have changed anything in your software it should work ok. You should be able to measure 2.5v at pin RA0 with a voltmeter. Post your circuit and program code if you are still having problems.
Hi i am trying to designing a DC voltmeter using pic16f877a.If it is possible, tell me the design procedure to do this.And tell the programming in CCS C compiler basics for this topic?
And the Mother-of-All is this
Hello there,can some body help me to know where the error is I am design a 0-30V digital voltmeter but I am always getting 0V on the seven segment display. Here are the code and the proteus circuit. #include "16f876a.h" #DEVICE ADC=10 #fuses XT,NOWDT,NOLVP,NODEBUG,NOCPD #use delay(clock=4M) #include
HERE IS code: FONT Var Byte Value2 VAR BYTE Value1 Var Byte Value Var Word TRISA = 0 : TRISB = %10000000 mainloop: FOR VALUE = 0 TO 9 FOR Value1 = 0 TO 9 FOR VALUE2 = 0 TO 9 PORTA.0 = 0 : PORTA.1 = 1 : PORTA.2 = 1 PORTB = FONT GOSUB DIS Pause 100 NEXT V
hello to all can anyone please help me with this code it's ac voltmeter using 16F676. how can i convert it to Hex void main() { #define data1 PORTC.F1 #define clk PORTC.F0 #define seg1 PORTC.F3 #define seg2 PORTC.F4 #define seg3 PORTC.F5 unsigned char aray1={0xbf,0x86,0xdb,0xcf,0xe6,0xed,0xfc,0x87,0xff,0xe7
Hi All, I am very new here I have collect the following c-code for 20V LCD voltmeter using pic16F688, now i want to activate RA0 pin high when LCD voltage is grater than or equal 10.0v, what is the change need in this code? Please help.... char Message1 = "DVM Project"; unsigned int ADC_Value, DisplayVolt; char *volt = "00.0
hi ,,please ineed help,,,I have aproject that make a voltmeter can measure voltages from 0-15 in digetal ,, but its should be in ranges by using at first switches connected with conditioning circuit,, the ranges from 0-5 ,0-10 and 0-15 but we must have 4 push buttons these :3 are used to read the voltage after the correspon
1) proteus does not simulate motor in fast speed . you can connect oscilloscope or voltmeter to compare your code in real life and simulation 2) use l298 ic to forward and reverse.
Pic mcu has an inbuilt adc that can be used as a voltmeter! I advise you use that POC for your work! If u are still having diffculties, let me know the language you program pic with, so I can try develop a code 4 u! But you should try it yourself with the aid of datasheet. Its pretty simple
Hi, Well you have three areas that could be faulty, program code, programming into the chip and your hardware circuit. I don't do C but it looks basically ok, though I would increase the delay to ms(1000) otherwise your voltmeter will not show an on /off swing. Would also be good to see your hardware circuit to check for things like Mclre
I see this request a lot for voltmeter/ammeter so I thought I'd share my design that I'm working on at the moment using a VREF of 4.096V The volatge side works really well as you can see from the readings of the vout compared to the LCD, This works really well on my dev board,max voltage 50V max current 12.34amps at the momen
i need help in this code///nothing is displayed on LCD // #include #define lcdport PORTB #define rs PORTAbits.RA0 #define rw PORTAbits.RA1 #define en PORTAbits.RA2 void lcd_ini() ; void lcdcmd(unsigned char) ; void lcddata(unsigned char); void adc_con(unsigned int) ; void adc_init(); void DELAY(int ti
Use a sensor chip that outputs a voltage that represents the temperature, so that the output voltage to the PIC changes with temperature. Adjust the voltmeter code to read the sensor. Eg. If you use LM35, the output is 10mV per degree Celsius. So, if you have 74'C, the output is 0.74V. Adjust your code so that when the input is 0.74V, the (...)
Dear all, I'm trying to make voltmeter using pikoBlaze, but unfortunately i cant correctively configured ADC. Please look at my code and tell my what i have to change. The code was written using PikoBlazeIDE. I hope polish comments aren't make this code unreadable. MEM "out.mem" VHDL "ROM_form.vhd", (...)
I'm newbie in Bascom Avr and need help for SPI read MCP3304 13-bit 8 single channel. I am writes code and don't receiving value in volts which read by digital voltmeter as sample read 4.844V by digital voltmeter read 4.999V. Where is my error code. BascomAvr code: Dim Vtxt As String * 6 Dim I As (...)
You can use thise project and adjust code for your needs just to shows voltage on lcd, and most important you have example of ADC conversion: code is writen in MikroC. For higher input vol
hello guys i am trying to develope a voltmeter using PIC16F877 and LCD. So i need help in the coding section. I am using micro c. So can any body provide me some codes for it.. with regards Hridz
Hi I am using 10 bit ADC and the coding has been done in Assembly Language. I need to display the input voltage (which is scaled by 2.5 ) on the LCD . Pls suggest me on how to do this in ASM as it involves lot of floating point multiplications and all... Thanksss
hi i have a c code and i want to compile it to hex form by micro c and i wonder how can i do it ... can any one help me thanks ---------- Post added at 15:48 ---------- Previous post was at 15:39 ---------- /* Project: Digital voltmeter based on PIC16F877 Oscillator @ 4MHz, MCLR Enabled, PWRT Enable
There both the same voltmeter for the links you've pasted but the trouble is it does not so you how accurate it is only against an analogue meter. There is plenty out there but I always like to do my own so you know it works well
I want to know the basic principle of a voltmeter via a 16F877 since I acquired a proper AC voltage alternating what I know for now I will read the digital conversion of the ADC and then I'll make a program that determines the maximum value of this signal the end of achieving effective value Veff = Vmax / root 2 and multiply with the division ratio
hi, i m a newbie. And i m having trouble on reading and processing adc value for a voltmeter. i m building a simple digital voltmeter(0-5v) using PIC 16F887, i having trouble on reading the 10bit adc_result and processing the value into 7 segment. Pls tell me, how can i read 10bit(ADRESH:ADRESL), what is the data type should i use ? float, in
anyone help ---------- Post added at 14:31 ---------- Previous post was at 14:18 ---------- i'm design the digital voltmeter for a car battery now i want to use pic16f690 to display the values of the voltage,then i used the portc pins as the one that will display in the 7-segment and RA4/AN3 is my input now
hi i try to run led blinkage code from microbasic library after i instal code in pic itry run my pic but dont work and ehen i touch it by voltmeter oin its do first step but its dont completei check my cercuit and crystal its ok Hi, There may be some error in your code.You just dump the waveform and check it step by step
I have some problems with this voltmeter (value reading are not stable and are not linear). I configured resistive divisor at imput 1 (AN0) to match lower limit voltage, but when I rise the voltage to be measured, the pic reading is lower than real voltage) and is not stable. Could anubody help me ? this is the code: #include <16F876.h>
Hi all, I want to make a numeric voltmeter, with atmega16 processor and an LCD display 2X16 (with 14 pins). I tried to make a program but it didnt worked. It only displays: Volts = 3fV Can anyone please help me with this. Many thanks. /***************************************************** This program was produced by the code
i have voltmeter source code in 'C' lang. but i don't understand 'C' help me , pl it source code convert into ASM & HEX.
Hi, Check this out:
The reading on RA0-RA3 is about right if you are using a DC voltmeter. Have you put any load on the 13.5V? If possible disconnect the load and do a measurement again. This should give you a 13.5-13.8 V result.
The power tab: code: Target Vdd: 5.00 Target Vpp: 9.75 MPLAB ICD 2 Vpp: 12.06 Check the USB voltage! Its must bee 5V!!!! Check L1 Check VPP,VDD whit an digital voltmeter At the output of the OpAmp, You should tweak it to about 13V (see Voltage Monitor at ICD's Status Dialog in MPLAB!). Since the programming voltage VPP is 13V
Hi Osha, Don't worry here is the solution to your problem. 1) Firstly take a voltmeter and determine the coded sequence of the keyborad you have for each key now you know the hex code for each key. Now save these values in a lookup table. 2) Now for each key test the values with the mask set against a port where you ahve interface the (...)
You should add an endless loop at the end of your program: DONE: JMP DONE Otherwise it will just run wildly through the unused code space and start over at 00H again - faster than you can measure with your voltmeter. :wink: /Rambo
16 functions with PIC16F870 and 4 digit LED display with Source 1. Logic Probe 2. logic pulser 3. Frequency Counter 4. Event Counter 5. voltmeter 6. Diode Junction Voltage 7. Capacitance Measurement 8. Signal Generator (500hz ) 9. Video Patern ntsc 10. Serial Ascii 11. Midi Note 12.