Sonsivri
 
*
Welcome, Guest. Please login or register.
Did you miss your activation email?
December 10, 2016, 03:35:18 15:35


Login with username, password and session length


Pages: [1]
Print
Author Topic: 16f877 voltmeter and ammeter with c  (Read 17936 times)
0 Members and 1 Guest are viewing this topic.
engaddar
Guest
« on: January 20, 2007, 08:52:23 08: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: 56

Thank You
-Given: 2
-Receive: 25



WWW
« Reply #1 on: January 20, 2007, 09:03:17 21: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, 10:30:39 10: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: 976

Thank You
-Given: 197
-Receive: 344



« Reply #3 on: January 21, 2007, 11:14:35 11: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
*
 Muted
Offline Offline

Posts: 32

Thank You
-Given: 7
-Receive: 5


« Reply #4 on: October 23, 2007, 06:54:00 06: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: 162

Thank You
-Given: 119
-Receive: 84


« Reply #5 on: October 23, 2007, 11:09:59 11: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
*
 Muted
Offline Offline

Posts: 11

Thank You
-Given: 42
-Receive: 49


« Reply #6 on: February 05, 2008, 05:35:02 17: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