On Wed, 12 May 1999 09:14:55 -0700 Steven Kosmerchock writes: >Friends, >I have a project where I need to read an analog voltage of >+7V-+18V. USe 2 resistors to divide the voltage so the maximum voltage is the PIC's Vdd (usually 5V). The resistors should be small enough that the PIC A/D input is driven by an impedance of 10K or less. With more complexity, it is also possible to subtract a constant voltage so that a voltage of 7V from the amp reds 0 at the PIC. For this application it is probably sufficient to use the ADC to less than its full capacity and subtract the zero voltage by software. > It is an internal power monitor of a RF amplifier. >I am using it in a test fixture and was hoping of some way >to read the voltage to know how many watts are at the >output of the amp, without using a power meter. If the voltage you're measuring is predictably related to the output power, then you can have the PIC convert the voltage reading to display the power in watts. Since there are less than 256 possible readings, a simple look-up table method may be feasible. ___________________________________________________________________ You don't need to buy Internet access to use free Internet e-mail. Get completely free e-mail from Juno at http://www.juno.com/getjuno.html or call Juno at (800) 654-JUNO [654-5866]