On Tuesday 29 May 2012 11:26:14 andy pugh wrote: > On 29 May 2012 08:48, Joachim Franek <joachim.fra...@pibf.de> wrote: > > > I am looking for a solution for the analog a/d part with a resolution of 12 > > bit > > with interface to LCNC (temperatur control of head and bed). > > An Arduino is one solution. http://axis.unpy.net/01198594294 10 bit ad resolution.
> Another idea is to use PWM output and a comparator. This would need a > hal compoenent to be written. > The idea is that the PWM is converted to analogue voltage (with > optical isolation this could even be mains voltage). A comparator chip > then sets an input bit depending on whether the PWM voltage is over or > under the voltage to be measured. A simple inc/dec or P controller > adjusts the PWM duty cycle to track the measured voltage. Tricky. Advantage is only two pins on the parport for 1 ad conversion and software only in hal. For debug: halscope. Summary: easy and cheap solution (if timeconstant is low of analog input) Thanks Andy, Joachim ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users