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


Thu Nov 21 2019, 12:30 PM
how to interface 8051 microcontroller with NRF24L01+ module
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
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,
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
Wed Jul 24 2019, 12:47 AM
@BUSTER123 Please post in the forum
Tue Jul 23 2019, 06:13 PM
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.
Thu Jul 11 2019, 07:55 PM
@ramos https://www.theengineeringprojects.com/2017/09/l298-motor-driver-library-proteus.html



Tue Dec 03 2019, 07:53 AM
Mon Nov 25 2019, 08:25 PM
Tue Nov 19 2019, 03:13 PM
Mon Nov 18 2019, 11:00 AM
Wed Nov 13 2019, 06:25 AM
Mon Nov 11 2019, 01:31 PM
Sun Nov 10 2019, 04:42 AM
Sat Nov 09 2019, 03:41 PM


Guests: 48, Members: 0 ...

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

Members: 38107
Newest member: ananyagupta
Forum Activity
ExperimenterUK Avatar
Posted By ExperimenterUK
Fri Nov 29 2019, 04:24 AM
" Is it possible to interface a fingerprint scanne...
ilylily07 Avatar
Posted By ilylily07
Thu Nov 28 2019, 03:50 PM
You will not find any code for an 8051 as no one w...
ExperimenterUK Avatar
Posted By ExperimenterUK
Tue Nov 26 2019, 05:44 PM
You will not find any code for an 8051 as no one w...
ilylily07 Avatar
Posted By ilylily07
Tue Nov 26 2019, 04:13 AM
I tracked down a OV7670 data sheet.The OV7670 puts...
ExperimenterUK Avatar
Posted By ExperimenterUK
Tue Nov 26 2019, 12:08 AM
I tracked down a OV7670 data sheet.The OV7670 puts...
ilylily07 Avatar
Posted By ilylily07
Mon Nov 25 2019, 04:38 PM
The 8051 has too little memory to do anything us...
ExperimenterUK Avatar
Posted By ExperimenterUK
Tue Nov 19 2019, 10:44 PM
The 8051 has too little memory to do anything us...
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