Sonsivri
 
*
Welcome, Guest. Please login or register.
Did you miss your activation email?
November 27, 2024, 06:41:36 06:41


Login with username, password and session length


Pages: [1]
Print
Author Topic: 16f877 voltmeter and ammeter with c  (Read 21936 times)
0 Members and 1 Guest are viewing this topic.
engaddar
Guest
« on: January 20, 2007, 07:52:23 07:52 »

please help me about my project.i want to make voltmetre and ammetre with 16f877 using c.i need your help.thank you
Logged
Groovy
Junior Member
**
Offline Offline

Posts: 54

Thank You
-Given: 2
-Receive: 25



WWW
« Reply #1 on: January 20, 2007, 08:03:17 20:03 »

See this

http://www.elfly.pl/multimetr/multimetr_en.htm
Logged

Many free eBooks about electronics
http://electronic-ebooks.blogspot.com/
engaddar
Guest
« Reply #2 on: January 21, 2007, 09:30:39 09:30 »

thank you but it isn't the project tthat i want.is there anyone who who are goingo to help me.please
Logged
Wizpic
Global Moderator
Hero Member
*****
Offline Offline

Posts: 1203

Thank You
-Given: 554
-Receive: 409



« Reply #3 on: January 21, 2007, 10:14:35 10:14 »

What do you expect some one to write the code and deisgn pcb for you.

Here is what i think you shold do
1. use google and search
2.start learning c
3.if you know lilttle about c then show your code in what you have so far

Some one will always help people but not do it for you
the check of some people just coming on here and there first post ask straight away
Quote
please help me about my project.i want to make voltmetre and ammetre with 16f877 using c.i need your help.thank you

like i siad show your stuff you have so far then may be you get a better response

wizpic
Logged

When you think, "I can't do anymore. I need a break," that is the time to challenge yourself to keep going another five minutes. Those who persevere for even an extra five minutes will win in life..
charnyutk
Newbie
*
Offline Offline

Posts: 32

Thank You
-Given: 7
-Receive: 5


« Reply #4 on: October 23, 2007, 05:54:00 05:54 »

Hi, try to control A/D section in PIC and then you will be able to calculate the volt and ampare of your project.
Logged
frasenci
Translator
Active Member
***
Offline Offline

Posts: 171

Thank You
-Given: 142
-Receive: 85


« Reply #5 on: October 23, 2007, 10:09:59 10:09 »

Firmware Side :

PIC 16F877 will easely read 0-5 Volt Signal through A/D ports. ( 5 Volt powered PIC )

In programming , PROTON  (PicBasic) will do this stright away . Yo can find equivalent functions in C compilers for PIC

PROTON Example:

 'Read the value from channel 0 of the ADC and place in variable VAR1. ´
'Setup Section
 DECLARE ADIN_RES 10       ' 10-bit result required
 DECLARE ADIN_TAD FRC      ' RC OSC chosen
 DECLARE ADIN_STIME 50     ' Allow 50us sample time
 DIM VAR1 as WORD
 TRISA = %00000001         ' Configure AN0 (PORTA.0) as an input
 ADCON1 = %10000000        ' Set analogue input on PORTA.0

'Read value Section
 VAR1 = ADIN 0             ' Place the conversion into variable VAR1

End of example


 Hardware Side :

Voltage : If your signal is more than 0-5 Volt span , you must use conversion with OPAMP circuit

Current : You must indirectly measure current using Ohms Law V = I x R , thus I = V / R. Adjust value of R acording to power of your application.  Again , depending on I ( V/R ) values you would have to scale signal with OPAMP circuit.
You could also use speciality IC that converts directly Current into Digital signal/Voltage  ( Current Transformer or the like )

I agree with WIZPIC , you should start something by yourself and then ask for advise based upon what you have got so far.

Greetings



Logged
TA5CT
Newbie
*
Offline Offline

Posts: 11

Thank You
-Given: 42
-Receive: 49


« Reply #6 on: February 05, 2008, 04:35:02 16:35 »

you will find some project about voltmeter.

http://www.4shared.com/file/36730551/eabbfcfc/Metreler.html
Logged
Pages: [1]
Print
Jump to:  


DISCLAIMER
WE DONT HOST ANY ILLEGAL FILES ON THE SERVER
USE CONTACT US TO REPORT ILLEGAL FILES
ADMINISTRATORS CANNOT BE HELD RESPONSIBLE FOR USERS POSTS AND LINKS

... Copyright © 2003-2999 Sonsivri.to ...
Powered by SMF 1.1.18 | SMF © 2006-2009, Simple Machines LLC | HarzeM Dilber MC