Discussion in "Project Help" started by    Help    Jun 16, 2007.
Sat Jun 16 2007, 04:40 AM
#1
Hi,

Anyone use ADC08034 before?

How can i measure current? I found one application from ADC08034 datasheet which i think can measure the current? But then I'm confusing the Digitizing a Current Flow Application show in datasheet page-17. ADC08034 don't had Vin(-) and Vout(+) pin. I wondered why this application using 08034. If we try to use ADC08031 for this application but this IC miss one pin function which is VrefOut.

What can i do? or got other option for me to measure current? Please anyone can help me?

Thank You.

Tags ADC08034Digitizing a Current Flow Application of ADC08034measure current using ADC08034ADC08034 interface to the AT89C52analog to digital converter
Sat Jun 16 2007, 08:27 AM
#2
i think you did not see the datasheet carefull
see page 12, Differential Mux Mode of ADC08034. There its explained how the four channels can be used for V(+) and V(-).
please correct me if i am worng..
Sat Jun 16 2007, 10:03 AM
#3
emm...I'm not sure, the Table-4 MUX Addressing:ADC08034 no show the "-" in table. It just have "+".

Ya, I would like to share with you that I found a great ADC which we can scale up to 100A, we can use very least pin interface with uC and EASILY to control. Try to search LT1787HV and LTC1286 chip.

Please give some comment...

Thank You.


[ Edited Sat Jun 16 2007, 10:06 AM ]
Tags ADC LT1787HVADC LTC1286analog to digital converter
Sat Jun 16 2007, 10:46 AM
#4
well that is single-ended mux table... the datasheet i saw, have differential mux table too.. i send u the link... here.. Datasheet ADC08034
hope this will help you.
i mean.. just below the single-ended MUX table there is differential mux table too.. check it..
and i will look for these ICs u told. well just thinkin are they able to hold this much of current..??
Sat Jun 16 2007, 03:07 PM
#5
Hi,

Thank for you datasheet. Ya, youres one is different with my.

I already write the code to control ADC08034 but it's not work.. I use Proteus 6.9sp5 to simulate it. Please can you help me to check?

I'm not sure it will work so high Amp not...normaly IC can handle high current will need heat sink. Somemore the input can reach 60V!!
I plan to buy the tht IC for testing. Don't know this IC hard to buy not. Hope i can buy it. I will let you know the result.




[ Edited Sat Jun 16 2007, 03:08 PM ]
Sat Jun 16 2007, 03:44 PM
#6
Well i am sorry to say but your program is totally wrong. The thing is you simply wrote the program without understanding how the ADC is working.
In your data_in routine you are not storing the data anywhere...
and in your data_out routine you are not setting up the ADC to tell how suppose to work. i mean, first you need to configure the ADC, setting up the MUX etc.
For programming help i suggest you to read Page 8 timing diagram for ADC08034
where every bit of information is given. I hope that will help you :-)
Sun Jun 17 2007, 04:15 AM
#7
Sorry, i think my function name comfused you.

The function ADC_Data_In is for configure the ADC. I got configurate the ADC which i define DATAIN 0x01 and transmit to ADC because i'm follow the Differential-MUX-Mode:
START = 1
SGL//DIF = 0
ODD/SIGN = 0
SELECT = 0
This setting is to configurated the Chn0 = V+ and Chn1 = V-

The ADC_Data_Out is for storing the data into the DATA[] array when the ADC transmited the bit.

May i know the SARS data is generated by ADC?
I try to play around the SARS on simulation, wait the SARS goes Hi after 4-bit DI but this bit wounldn't rising up. Why?

I'm using the Proteus to simulate the result. The result quite similar with the Timing-diagram.
Sun Jun 17 2007, 06:39 PM
#8
hi buddy, sorry for late reply.. coz sunday.. was out..
anyways.. so regarding this.. mm.. i think.. you are not doing the things correctly..
so.. is this way..
first four bits are sent on the rising edge.. and the falling edge at the time of fourth bit, the SARS will go high, what you have to do after that is, keep sending the clock and the first MSB is received at that time, and after 8 clocks, SARS will become low, so the next byte will be your LSB and LSBit is sent first second time.
and... you have to take care of chip select signal, as soon as you make it high, the data becomes invalid and.. start of conversion is made with the help of this chip select signal i.e. as soon as you make it low the conversion starts.
so you have to read the data before making next conversion, and to make the next conversion, you have to make CS HI->LOW
Wed Jun 20 2007, 10:52 AM
#9
Hi fren..
Don't worry is ok. we should enjoy our weekend. 1st i have to say thank for helping me. Thank You.

This few days i already tested and found out one thing. I just realize if Pick-Devices preview show "No Simulator Model" in Pretues mean we can't simulate that device(ADC08034).
So, I try to use ADC0834 to simulate and follow your instruction. I think it working fine already.

May i know Vin(+) Trimport and the 1k FS Trimport is for what perpose? There is no different if i adjust them.
Another question is the SARS pin is just for us to view and know the ADC status (like setting MUX, MSB, LSB), we can't connect to our uC one rite? because when i connected to uC will "Simulation Log" message.
Last question, why my Proteus will comeout "Simulation Log" the message say that "Simulation is not running in real time due to exessive CPU load." do you know why?

Thank You.
Wed Jun 20 2007, 12:59 PM
#10
yes one thing is sure that you cannot simulate ADC08034. also in your schematic the option "exclude from simulation" is checked. i think it is done automatically. if the IC doesn't have a simulator model.

Now regarding SARS, i think.. its for those IC where the receiving is done on interrupt basis.. i think.. so that CPU comes to know that next byte is going to come.
Vin(+) is one of the i/p of the differential operation of the ADC. and the use of 1K trimmer is... maybe to set the zero op if the i/p are same.. its used for the voltage adjustment i think. nothing much.
i donno the answer i gave is exactly what u wanted... or your doubt was.. but.. i tried my best.. to satisfy you.. coz before this i never used ADC08034

Get Social

Information

Powered by e107 Forum System

Conversation

Thu Jun 11 2020, 11:57 AM
anudee
sir could please send the code for I2C and wifi interfacing with 8051
scena
Wed May 20 2020, 03:59 AM
Does anyone have microcontroller programming software for STC15F104W (core 8051, 4 k, 128 byte, 6 I/O pin, UART ... DIL8), that works?
Sun May 03 2020, 01:08 AM
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, 07:09 PM
Tajammul
Sir kindly send the code file i2c for 8051
ExperimenterUK
Sat Mar 14 2020, 04:06 AM
@ Rohitnani,ABEBE..which project ?
Fri Mar 13 2020, 06:25 PM
ABEBE
how can get hadwere of this project
Rohitnani
Sat Mar 07 2020, 10:41 PM
Sir, Could you please send me the zip file input password....
Wed Feb 26 2020, 10:28 PM
Peter Parker
Is it possible to send multiple messages using only 1 GSM module?
Sat Feb 01 2020, 03:42 PM
Pearl Olin
Hello,
Wed Jan 22 2020, 11:46 PM
MINU CHAUDHARY
I m getting errors while simulation process during interfacing socket output and lcd... Can i get the report of ur project which is same as us.

Downloads

Comments

Mirza123
Thu Jun 25 2020, 03:46 PM
eunicelove124
Mon Jun 22 2020, 03:03 PM
cerouno
Tue Jun 16 2020, 05:10 PM
Marce
Sat Jun 13 2020, 09:43 PM
Davidthils
Thu May 21 2020, 12:44 PM
Jakeror
Thu May 21 2020, 01:28 AM
motorCar
Wed May 20 2020, 07:05 PM
Vordrync
Wed May 20 2020, 11:52 AM

Online

Guests: 105, Members: 0 ...

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

Members: 38215
Newest member: Mirza123
Forum Activity
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...
ExperimenterUK Avatar
Posted By ExperimenterUK
Wed Jun 17 2020, 02:01 AM
Take another look at the power supply to the LCD.A...