compatibility of A/D converters.

Status
Not open for further replies.

liteon

Full Member level 2
Joined
Oct 13, 2010
Messages
149
Helped
27
Reputation
54
Reaction score
27
Trophy points
1,308
Location
PAKISTAN
Activity points
2,510
Hi, I need to build a charger for high capacity lead acid battery.It is a three stage battery charger for both low and high capacity batteries.Seem good choice to me,So i checked the market before starting the project and found almost all components except A/D converter TLC548,i can get ADC0831 which is same package (8-pin Dip).But it not pin compatible which is not a bigger problem.The circuit is controlled by a PIC chip , a 2-ch analogue multiplexer-demultiplexer performs monitoring of battery status and feeds it to A/D converter and data is received by the PIC chip.
Can i use the ADC0831 in place of TLC548.
Do i need to re-write the code for PIC in case i use ADC0831?
 

And here is the assembly code for PIC.
 

Attachments

  • bcharg3.txt
    81 KB · Views: 43

There are some minor differences between data acquisition process for each circuit. Maybe need to change code in order to read the data output in the correct manner.


**broken link removed**



**broken link removed**
 

If i would understand A/D converters i would figure it out myself.I only reason for asking the help is the first time encounter with A/D converters.
So the code is posted already and the control part of hard ware is attached herewith.
Please ....i need it so badly.
 

Attachments

  • 103191_4mg.jpg
    53.6 KB · Views: 62
Last edited:

There are some things you need to change in the program, for example this part:
DEL_CNV
decfsz CYC_AD,f ; keep clock low for 36 internal clocks of TLC548/9
goto DEL_CNV
goto CK1_s
related to the 36 internal system clock periods required for conversion in the case of using TLC549, reduced now at 8 clock period.
 
Reactions: liteon

    liteon

    Points: 2
    Helpful Answer Positive Rating
After a lot of search in market i was able to find tlc548.So now there is no need to alter the code which is too long to re-write it.
Thank you all for your time.
 

Status
Not open for further replies.

Similar threads

Cookies are required to use this site. You must accept them to continue using the site. Learn more…