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

Wed Jan 22 2020, 07:16 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.
Tue Jan 14 2020, 08:08 AM
shubham kharade
when i am trying to simulate the program in Proteus 8 professional, I am getting some errors as cannot find module file dhtxx.md can u help me
Tue Dec 17 2019, 02:44 PM
Devangi
hello..i am programming industrial timer using 8051 with 24lc64 eeprom. i have query in storing the 3 diff value in eeprom with enter button. can anyone share c code ?
Tue Dec 17 2019, 11:30 AM
Andrius
Hello. Can anyone share the code in Bascon and scheme in Proteus?
Thu Nov 21 2019, 01:30 PM
raj2555
how to interface 8051 microcontroller with NRF24L01+ module
ExperimenterUK
Sat Oct 12 2019, 11:23 PM
Log in.. then post your code in the 8051 forum
Sat Oct 12 2019, 11: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, 08: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, 09:48 PM
Caryn Kover
Thank you for your time,
ExperimenterUK
Mon Aug 05 2019, 08:09 PM
@Ismail ..post in forum, give details

Downloads

Comments

Nippy56
Sun Jan 19 2020, 02:13 AM
usb5962
Sat Jan 11 2020, 10:42 AM
elt
Tue Jan 07 2020, 06:53 PM
mg3914697
Tue Jan 07 2020, 12:42 PM
afds43
Sun Dec 29 2019, 05:54 AM
Rupeshpatil
Fri Dec 27 2019, 06:14 PM
pyxus
Sat Dec 14 2019, 12:31 PM
Istika
Thu Dec 12 2019, 12:04 PM

Online

Guests: 15, Members: 0 ...

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

Members: 38116
Newest member: Nippy56
Forum Activity
ExperimenterUK Avatar
Posted By ExperimenterUK
Fri Jan 17 2020, 10:24 PM
We will need the circuit diagram.A Proteus simulat...
Billz Avatar
Posted By Billz
Sat Jan 11 2020, 05:43 PM
hi everyone please attached files are my c code fo...
ExperimenterUK Avatar
Posted By ExperimenterUK
Tue Jan 07 2020, 08:18 PM
Not a stupid question.Setting up "Eclipse" can be...
elt Avatar
Posted By elt
Tue Jan 07 2020, 07:06 PM
So i have just began learning programming micros a...
Billz Avatar
Posted By Billz
Mon Jan 06 2020, 09:22 PM
I think it would be better if you guys try to come...
ExperimenterUK Avatar
Posted By ExperimenterUK
Mon Jan 06 2020, 12:22 AM
Can you post a circuit diagram and any code you ha...
Billz Avatar
Posted By Billz
Sun Jan 05 2020, 08:17 PM
Need help regarding C code (specifically for PIC 1...
ExperimenterUK Avatar
Posted By ExperimenterUK
Mon Dec 30 2019, 06:42 PM
Can you give more details of your problem.
Rupeshpatil Avatar
Posted By Rupeshpatil
Fri Dec 27 2019, 06:21 PM
How to copy program my old microcontroller to new ...
ilylily07 Avatar
Posted By ilylily07
Thu Dec 12 2019, 02:26 PM
wil do.thank you for your advice!