Friend i am using a CI-6535 respiration rate sensor with PIC16F877A...CI-6535 produces a 10V analog output but PIC 16F877A supports only upto 5.5V...So i want to convert this 10V to something below 5V so that if there is any change in the 10V output ---> below 5V output should also be changed...to monitor the breathing rate....
I couldnt use a regulator since it produces constant output for any input voltages
If you place two 47k resistors (in series) across the 10v signal from the sensor and tap off the centre of these two resistors, the voltage at the centre will be exactly half the voltage of the sensor.
You can now take this tapping to an ADC input of your microcontroller and get 256 increments.