I would like to build a circuit which uses a variable inductor as the input to set some states for output out of a micro. I was figuring I'd use an A/D channel on a cheap micro and output based on the input (the inductor). But I don't really know how to set up the inductor for this purpose. If the inductor is tuned one way, I'd like the A/D to get X counts and as you tune the other way you'd pass through a couple states and end up with the full range rail voltage at the other end (so like 5v would be 1 state 2.5v another and 0v another). I think I could do this with resistor networks, but I want to use an inductor for what I'd like to build. Can anyone suggest a relatively cheap circuit which can use the inductor as the input. I can input a square wave to the inductor with a 555.. though.. I'm not sure if that would work. Since a DC voltage would just be just a short -- I'm not sure how to set up the inductor as the input.
- posted
19 years ago