Yes sorry man its rather very old way of doing it. The poor man's ATD from the days when ATD's were very costly. I think it was called successive approximation or the likes. You had a resistive ladder or summing circuit that was charged by means of a digital pin connected to every resistor. You would count up until the comparator tripped and the count would equal the voltage that you wanted to measure. The kids are spoiled these days :)
On 2014-05-13 19:08, andy pugh wrote: > On 13 May 2014 17:56, Marius Liebenberg <[email protected]> wrote: >> Then again use a pwm to make and anolog voltage. >> Then use a comparator to measure the input voltage compared to the pwm >> voltage. You ramp it up until the output pin that is connected to a hal >> pin is tripped > I invented that idea a couple of years ago. Clearly not for the first time. > > One day I _will_ invent something first :-) > -- Regards /Groete Marius D. Liebenberg +27 82 698 3251 +27 12 743 6064 QQ 1767394877 ------------------------------------------------------------------------------ "Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE Instantly run your Selenium tests across 300+ browser/OS combos. Get unparalleled scalability from the best Selenium testing platform available Simple to use. Nothing to install. Get started now for free." http://p.sf.net/sfu/SauceLabs _______________________________________________ Emc-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/emc-users
