On 28-Aug-10 22:38, Joseph Bento wrote: > On Aug 28, 2010, at 7:15 PM, Nathan House wrote: > >> I want to use a digital input on my PIC to count the number of steps a >> stepper motor is taking (pin 2 of a UAF2115 Speedometer IC), but the sig= nal >> is 12V and I think the PIC can only take 7.5V. >> > My first thought would be to use an optoisolator. You can source or sink= your output to the PIC at whatever you are using for VCC. > > Joe > Or just a series resistor feeding a zener diode to ground, in case=20 isolation isn't needed. Mark --=20 http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist .