Hi,
All the comments are valid, but in my experience the voltage accross the motor, even with smoothing caps in the potential divider, will allways be near HT. The only way to measure the voltage ACCROSS the motor is to have two dividers, one on each terminal of the motor then motor voltage is the difference. But bear in mind the voltage accross a PWM driven motor is pretty much the supply voltage plus the back emf effects.
I suspect you are wanting to monitor the motor drive, and to take meaningful readings I would dispense with the voltage reading and use the current monitoring. To isolate the circuit from the PIC, use an opto coupler.
Tim.
Bookmarks