Reading a Potentiometer via a 595.
Clock Loop
Posts: 2,069
I needed to replace a 555 that was controlled by a potentiometer, with the BS2 and a potentiometer.
I also needed to have the potentiometer "read" thru a 74hc595, thus RCTIME command wouldn't work, because the potentiometer was not able to hook directly to the stamp.
So I created the circuit below to "read" a potentiometer thru a 74hc595, and a 74hc597(aka 165).
One can add on as many "potentiometers" as one desires. You could read 8 different potentiometers using this schematic and code, if you added the appropriate code and additional circuit.
The example code and circuit show a single potentiometer hooked up, that will tell the BS2 how often to flash a LED.
I hope it is usefull for anyone out there looking for a way to read a Potentiometer thru a shiftregister.
If anyone has any tips I would love to hear them.
Post Edited (BPM) : 11/27/2005 8:25:04 PM GMT
I also needed to have the potentiometer "read" thru a 74hc595, thus RCTIME command wouldn't work, because the potentiometer was not able to hook directly to the stamp.
So I created the circuit below to "read" a potentiometer thru a 74hc595, and a 74hc597(aka 165).
One can add on as many "potentiometers" as one desires. You could read 8 different potentiometers using this schematic and code, if you added the appropriate code and additional circuit.
The example code and circuit show a single potentiometer hooked up, that will tell the BS2 how often to flash a LED.
I hope it is usefull for anyone out there looking for a way to read a Potentiometer thru a shiftregister.
If anyone has any tips I would love to hear them.
Post Edited (BPM) : 11/27/2005 8:25:04 PM GMT