<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=UTF-8">
<META NAME="GENERATOR" CONTENT="GtkHTML/3.18.3">
</HEAD>
<BODY>
Hi Carl...<BR>
<BR>
Sorry, not been following the list the last couple of days, if you're still interested I'll dig out the code and email it to you, it's pretty straight forward, and you can use a single pin on the host micro if you can spare a resistor as well.. :-).<BR>
<BR>
Cheers, Me.<BR>
<BR>
On Sun, 2008-10-12 at 13:01 +1300, Carl Ranson wrote:
<BLOCKQUOTE TYPE=CITE>
<PRE>
Something like this approach is starting to look like a viable option,
although its a nusicance to have to do another code project just to get
adc going.
Still I gather that with more and more micros coming out with adc built
in the use of separate adc chips has dropped off. The fact that no one
seems to stock them is a clue. :)
Can you send me the code, please?
CR
Chris Hellyar wrote:
> Use a PIC 12F675?
>
> I've got some of those in me bits box, and some code that does 10 and
> 8 bit A/D to rs232 on a couple of ping, serial commands in one pin,
> result out the other. Wrote it a while ago for a dodgy PLC project. :-).
>
> They are cheaper than a 4 port 10bit A/D.... No good for high speed
</PRE>
</BLOCKQUOTE>
<BR>
</BODY>
</HTML>