Discussion in "Project Help" started by    Help    Jun 16, 2007.
Wed Jun 20 2007, 02:58 PM
#11
Ya, thank you very much. You let me understand alot of thing.
I also no plan to use ADC08034. Because i can't get this IC in my country and i think ADC0834 also mostly the same.
I already order LT1787HV and LTC1286 will coming soon.
Ya, may i know ADC can measure Negetive voltage and if negetive supply then how can i measure the current?

Thank You.
Wed Jun 20 2007, 05:26 PM
#12
well.. according the rule of electronics.. if the voltage is -ve then.. the current must be flowing in opposite direction.. so current measurement must be the same way.. just we get -ve value.. coz of opposite direction. maybe not sure..
i think there must be some provision to support -ve voltage in the IC.

off-topic: where are you from by the way?
Mon Aug 25 2008, 05:40 AM
#13
hi...I also doing the project about measure the current by using 8051 microcontroller but I have no ideas for design the circuit.
Can u attach your circuit diagram for reference, please?
Thanks :-)
Mon Aug 25 2008, 02:22 PM
#14
Hello Christie,

welcome to our forum !

measuring Current using 8051 is simple, it is done same way as measuring voltage.

first we need to convert the current flowing in the circuit to voltage, for that we use either : a sense (shunt) resistor,a non contact torridal transformer or a Current transformer (often called CT).



for simple current measurements we can use Sense resistor of any value from 0.1 ohm to 1 ohm. now the sense resi has to be placed in the target circuit to read the current flowing, this resi can be placed in the negative path ( i,e between the load and ground) this is called as "low side sensing" and when we place the sense resi in positive path ( i,e between positive supply and load) this is called as "high side sensing"


usually, low side sensing is easy and requires low components, so we'll stick to this type of current sensing for time being, the following figure shows this setup :







now lets recollect our famous Ohm's law, V= RI , for eg : in the above circuit the sense resistor 's value is 1 ohm and when 1 ampere of current is flowing thru the circuit , then 1 Volt will be developed across the sense resistor.

V = R x I

I = V / R

here I = 1(volt) / 1(ohm)
i,e = 1 (ampere)

so we read this voltage developed across the sense resistor using a ADC and micro, this voltage signal can be fed to a Op-amp and then fed to a ADC to remove noise. the power dissipated in the Sense resistor needs to be calculated; its given by I2R ( here it is 1 watt, so to be on safe side we can use 5 watt wire wound 1 ohm resistor)

for larger currents the sense resistor method does'nt work( becoz of large amounts of heat generated in resistor) , thats where we use CT or Torroid CT.




Arun

 nischay kumarchristiekurrodu like this.
Tags measuring current using microcontrollerscurrent measurement ADC0804 8051ADC based current measurement
Mon Aug 25 2008, 03:08 PM
#15
In industries, for high AC current measurement,C.T.s are used whereas for the high DC currents a DC shunt resistor is used. the shunt resistance is designed such that the output voltage from the shunt is always 75mV/150mV for full scale operating current.e.g. if u buy a 50A DC shunt, then the potential difference across the shunt when 50A is passed through it is 75/150mV . this DC voltage can then be given to a suitable op-amp amplifier to amplify the signal to the required level and given to the ADC as explained by arun.


 kurrodu like this.
Wed Aug 27 2008, 06:13 AM
#16
i have try to draw low side current sensing circuit but i cannot get the output in AC form.
and i not sure that my output is correct or not.
thanks


Wed Aug 27 2008, 07:38 AM
#17


Where is the load ? and what is the value of Sense resistor ?





Arun
Wed Aug 27 2008, 09:13 AM
#18
the load is R5 then the sense resistor is R4 n value is 1 ohm
Wed Aug 27 2008, 02:10 PM
#19
what do you call this connection ? ( i have marked ) high side or low side sensing ?





pl.refer to the diagram i posted earlier and connect accordingly.


Arun
 christiekurrodu like this.
Wed Aug 27 2008, 02:25 PM
#20
@christie

maybe you haven't noticed the "thanks" button in the posts, its there for some purpose, so use it for the people who are spending time to help you, our Moderators especially Mr.Arun has explained the concept in great detail and also Pdi33, so you owe them Big time.


( i have seen in this forum, folks from Malaysia are seldom Thankful and very active in posting their problems)
 christiesachudam like this.

Get Social

Information

Powered by e107 Forum System

Conversation

ExperimenterUK
Sat Oct 12 2019, 10:23 PM
Log in.. then post your code in the 8051 forum
Sat Oct 12 2019, 10:18 AM
Bhadra Sajikumar
i am doing a countdown timer with 8051 for my project, unfortunately our professor had to take a leave of absence before he could teach us most of it.. can someone explain the .asm code of it for me?
Mon Sep 23 2019, 07:37 AM
Nathaniel
I am doing a project for my schools wireless security system with cameras,sensors and spot lights using 8051 micro controller, could you help me out with the design and its source code.
Wed Sep 18 2019, 08:48 PM
Caryn Kover
Thank you for your time,
ExperimenterUK
Mon Aug 05 2019, 07:09 PM
@Ismail ..post in forum, give details
Mon Aug 05 2019, 04:33 PM
Ismail balghmi
Hello. Please I won't download
ExperimenterUK
Wed Jul 24 2019, 12:47 AM
@BUSTER123 Please post in the forum
Tue Jul 23 2019, 06:13 PM
BUSTER123
hello! newbie here. i am kind of a guy who hates using ready - made existing libraries, so this helped a lot as i was trying to control and write to a character lcd display. however, i can't figure out how to set the cursor position. for example, i want to set it to the 5th column in the first row, so position 5. so according to the table, i am sending 10000101 on the 8 data lines of the lcd (register select pulled low). the cursor does not move there however. and i cant move the cursor left or right too. is it something wrong that i am doing? thank you.
ExperimenterUK
Thu Jul 11 2019, 07:55 PM
@ramos https://www.theengineeringprojects.com/2017/09/l298-motor-driver-library-proteus.html
ExperimenterUK
Thu Jul 11 2019, 07:44 PM
@praveen123. Can you give a link to the project ?

Downloads

Comments

ANKITPATEL
Mon Nov 18 2019, 11:00 AM
Casmir
Wed Nov 13 2019, 06:25 AM
DeepakBGattani
Mon Nov 11 2019, 01:31 PM
Jeanbusatta
Sun Nov 10 2019, 04:42 AM
mdayaz
Sat Nov 09 2019, 03:41 PM
baoyen123
Fri Nov 08 2019, 10:06 AM
xiwang
Fri Nov 08 2019, 07:28 AM
ilylily07
Tue Oct 15 2019, 04:32 PM

Online

Guests: 73, Members: 0 ...

most ever online: 182184
(Members: , Guests: 182184) on 06 Aug 2010: 05:37 AM

Members: 38104
Newest member: ANKITPATEL
Forum Activity
ilylily07 Avatar
Posted By ilylily07
Mon Nov 18 2019, 09:54 AM
0v7670 camera interfacing with stc 8051.using asse...
Jeanbusatta Avatar
Posted By Jeanbusatta
Sun Nov 10 2019, 04:43 AM
ty, really needed it
ExperimenterUK Avatar
Posted By ExperimenterUK
Tue Oct 22 2019, 05:18 AM
wimac Avatar
Posted By wimac
Mon Oct 21 2019, 09:18 AM
I’ve been following this thread and looking at the...
s_dinesh40@yahoo.com Avatar
Posted By [email protected]
Sun Oct 20 2019, 03:09 PM
s_dinesh40@yahoo.com Avatar
Posted By [email protected]
Sun Oct 20 2019, 03:02 PM
sir, when i on display ,sometime 3rd display is no...
s_dinesh40@yahoo.com Avatar
Posted By [email protected]
Sun Oct 20 2019, 02:53 PM
sir, when i on display ,sometime 3rd display is no...
ExperimenterUK Avatar
Posted By ExperimenterUK
Sun Oct 20 2019, 12:21 AM
Your code seems okay on my simulationTry my code o...
s_dinesh40@yahoo.com Avatar
Posted By [email protected]
Sat Oct 19 2019, 07:13 PM
please find video attachment. 3rd & 4th displa...
s_dinesh40@yahoo.com Avatar
Posted By [email protected]
Sat Oct 19 2019, 07:05 PM
sir, 3rd and 4th dot matrix display flickering, ...