Discussion in "Project Help" started by    Help    Jun 16, 2007.
Wed Jun 20 2007, 02:58 PM
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
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
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
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.


 nischay kumarchristiekurrodu like this.
Tags measuring current using microcontrollerscurrent measurement ADC0804 8051ADC based current measurement
Mon Aug 25 2008, 03:08 PM
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
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.

Wed Aug 27 2008, 07:38 AM

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

Wed Aug 27 2008, 09:13 AM
the load is R5 then the sense resistor is R4 n value is 1 ohm
Wed Aug 27 2008, 02:10 PM
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.

 christiekurrodu like this.
Wed Aug 27 2008, 02:25 PM

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


Powered by e107 Forum System


Fri Aug 07 2020, 08:01 AM
Tony Eldredge
{{Are You interested|Interested|Would you be interested} in {advertising|an advertising service} that {costs|charges} less than {$50|$40|$49|$39} {per month|monthly|every month} and {delivers|sends} {hundreds|thousands|tons} of people who are ready to buy directly to your website? {Check out|Visit|Have a look at|For details visit}: http://www.getwebsitevisitors.xyz |{Looking for fresh buyers?|Want more visitors for your website?|Do you want more people to visit your website?} {Get|Receive} {hundreds|thousands|tons} {of people who are ready to buy sent directly to your website|of keyword targeted visitors directly to your site}. {Boost your profits|Boost revenues} {fast|quick|super fast}. Start seeing results in as little as 48 hours. {For more info|To get details|For additional information|To get info} {Check out|Visit|Have a look at}: http://www.getwebsitevisitors.xyz
Thu Jun 11 2020, 06:27 AM
sir could please send the code for I2C and wifi interfacing with 8051
Tue May 19 2020, 10:29 PM
Does anyone have microcontroller programming software for STC15F104W (core 8051, 4 k, 128 byte, 6 I/O pin, UART ... DIL8), that works?
Sat May 02 2020, 07:38 PM
Tamu Gurung
Hi I am looking for a assembly language program for a digital decimal counter. Time counts max limit of 2 mins starting from 2.00 mins and ending at 0.00. time is to be displayed on 4 7-segment LED displays. Edsim51 simulator to be used. Thanks
Wed Mar 25 2020, 01:39 PM
Sir kindly send the code file i2c for 8051
Fri Mar 13 2020, 10:36 PM
@ Rohitnani,ABEBE..which project ?
Fri Mar 13 2020, 12:55 PM
how can get hadwere of this project
Sat Mar 07 2020, 05:11 PM
Sir, Could you please send me the zip file input password....
Wed Feb 26 2020, 04:58 PM
Peter Parker
Is it possible to send multiple messages using only 1 GSM module?
Sat Feb 01 2020, 10:12 AM
Pearl Olin



Thu Jun 25 2020, 03:46 PM
Mon Jun 22 2020, 03:03 PM
Tue Jun 16 2020, 05:10 PM
Sat Jun 13 2020, 09:43 PM
Thu May 21 2020, 12:44 PM
Thu May 21 2020, 01:28 AM
Wed May 20 2020, 07:05 PM
Wed May 20 2020, 11:52 AM


Guests: 97, Members: 0 ...

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

Members: 38215
Newest member: Mirza123
Forum Activity
liqian Avatar
Posted By liqian
Fri Aug 07 2020, 03:31 AM
I found the part on here https://www.jotrin.com/pr...
ExperimenterUK Avatar
Posted By ExperimenterUK
Wed Jul 01 2020, 11:07 PM
PS: I am a new learner thats why my question may s...
Mirza123 Avatar
Posted By Mirza123
Wed Jul 01 2020, 02:05 PM
Thanks for the assistance. I have read the data sh...
ExperimenterUK Avatar
Posted By ExperimenterUK
Wed Jul 01 2020, 10:12 AM
See section 15 (Ports) of the data sheet. ...
wimac Avatar
Posted By wimac
Tue Jun 30 2020, 10:05 AM
How did you know that it is not 8051. Mirza123It i...
Mirza123 Avatar
Posted By Mirza123
Tue Jun 30 2020, 08:39 AM
It seems ports on the AT89LP2052 is not like on th...
ExperimenterUK Avatar
Posted By ExperimenterUK
Tue Jun 30 2020, 08:34 AM
It seems ports on the AT89LP2052 are not like on t...
Mirza123 Avatar
Posted By Mirza123
Thu Jun 25 2020, 04:07 PM
Hello!i am trying to use AT89LP2052 ( AT89LP2052 h...
ExperimenterUK Avatar
Posted By ExperimenterUK
Wed Jun 17 2020, 09:42 PM
It is about capacitor? i should put it between Vcc...
cerouno Avatar
Posted By cerouno
Wed Jun 17 2020, 10:37 AM
Take another look at the power supply to the LCD.A...