not sure if this is the best place to post this....
I figure experienced Arduino users have seen this already but it was new to me, and a pretty cool thing.
It's a bit hard to explain so I put it into a Blog entry but basically using digital pins as grounds to stop analog signals from getting to the analog pins, then changing over to INPUT for hi-z and letting them pass.
It makes your Arduino into a very fancy and easily programmable 4066 or 4016 cmos chip?
but without having to worry about on resistance or how high the hi-z mode is.
I used this trick to create an accurate (within one percent or better? still tweaking) DVM that reads up to +/- 12V DC as well as RMS AC to about 5V.
You can read more here if you're interested, I'd like to know ways to improve etc.
Again not saying I discovered this, far from it, but am finding it really useful as I try to mix analog control and audio signals with arduino. Thanks!
not sure if this is the best place to post this....
I figure experienced Arduino users have seen this already but it was new to me, and a pretty cool thing.
It's a bit hard to explain so I put it into a Blog entry but basically using digital pins as grounds to stop analog signals from getting to the analog pins, then changing over to INPUT for hi-z and letting them pass.
It makes your Arduino into a very fancy and easily programmable 4066 or 4016 cmos chip?
You short the analog pin to ground - why is that any more useful than just ignoring its value?