I am trying to do a project where i display the volts,ohms,amps,watts of a external regulator. The regulator is not the one running the arduino.
Yes, you will need to use an ADC. An ADC measures the voltage on its input, and convert it to a number that represents the position of that voltage on a scale between the negative and positive reference voltages that are fed into the ADC. Usually the negative reference is the 0V (ground) rail of the ADC's circuit, and the positive reference voltage may be 5V or some other voltage such as 4V, 2.5V etc, from a reference voltage generator.
The regulator im trying to read the output on is a adjustable regulator 3.3-6v up to 3A . Main thing i need is to display what voltage its set at on the arduino controlled lcd.
Yes, you can measure the voltage coming out of your regulator, IF the regulator's 0V rail is connected to the ADC's 0V rail. (That means, connected to the Arduino's 0V rail as well.) Since the regulator output voltage is higher than the ADC input voltage, all you need is a voltage divider made from two resistors, as you mentioned in your post. This will convert the voltage range from the regulator (0~6V) to the correct voltage range that the ADC expects (e.g. 0~2.5V, 0~4V, 0~5V or whatever - this will be described on the ADC data sheet).
The digital value you read from the ADC will represent the voltage directly. For example, for an 8-bit ADC, a full scale value of 255 represents the maximum regulator voltage, 6V in this example, and a value of 0 will represent 0V regulator output.
Your regulator may not go below 3.3V but it's simplest to use 0V as the bottom of scale. You can convert a 3.3~6.0V range so that it uses the full input range of the ADC, and this will give you better resolution, but it will require an op-amp and an offset adjustment. If you don't need the extra resolution, it's simpler to avoid that hassle.
Then from there get the watts ,ohms and amps its outputting. I have a acs712 amp sensor coming in the mail soon for that
OK, I'm glad you mentioned the ACS712 because it tells me how you intend to measure the regulator output current. The ACS712 is a cute little device made by Allegro that uses the Hall effect to measure current flow. You connect it in series with your regulator output, and it produces an output voltage that is centered on half its supply voltage, or 2.5V nominally, when the measured current is zero, and increases (or decreases depending on which way round the input is connected) according to the current it is measuring in the regulator output circuit. If you've chosen the 5A version, the device output changes by 185 mV for every amp in the measurement path. I'll assume that you've connected it so the output voltage will increase in response to regulator output current.
Since you want to measure 0~3A your ACS712 will produce an output of 2.5V at 0A, and 3.055V at maximum output current. Assuming the ADC has an input range of 0~5V, you won't be using much of the ADC's input range, so you will get less resolution than the ADC is capable of. If this is a problem, you'll need an op-amp circuit to amplify the voltage from the ACS712 and apply an offset, just as for the voltage. This may require an op-amp with rail-to-rail output capability. I can give you more details if you can tell me what voltage rails are available, and what the ADC's reference voltage is. See my questions at the end of this post.
As for the power, if you're talking about the total load power on the regulator, you can calculate this in software on the Arduino by multiplying the regulator's output voltage and output current together, once you have those values coming in from the ADC.
"Ohms" is not a parameter that directly relates to regulators. If you're talking about the resistance of the LOAD that is connected ACROSS the output of the regulator, then again you can calculate that in software, from the regulator's output voltage and current, using Ohm's law, R = V / I, as you said. You will need to find some code to perform division since the AVR doesn't have hardware division capability.
The next two paragraphs relate to the measurement accuracy.
The ACS712 will need an accurate 5V supply, because its output with no measured current is half its supply voltage, and you need this to be accurate. Normally an ADC would have a separate reference voltage generator, for accuracy, but its positive reference voltage input may be connected to the +5V supply too, in which case this rail will also need to be regulated accurately. If the ACS712 is powered from the same supply that provides the reference voltage to the ADC, any error will cancel out and you will get a half-scale raw value for zero current measured, but the current scaling will be wrong, because the ACS712 output is 185 mV per amp measured, and 185 mV will be a different fraction of the full scale voltage if the full scale voltage is not exactly 5V. Also the voltage measurement will be affected.
If the ADC uses the Arduino's 5V supply, and that supply is well regulated and stable, you would be able to power the ACS712 from it, and use hardware and/or software calibration to compensate for any error caused by the 5V rail not being exactly right. Software calibration would be needed for the current measurement, so you might as well use software calibration for the voltage measurement as well, to avoid trimpots in your circuit. Your calibration values should be stored in EEPROM in the AVR, which shouldn't be socketed, since the calibration values relate to the 5V regulator, which is presumably on the Arduino board, and the ACS710, whose output accuracy is not especially good. You should make sure that there's no significant variable load on the 5V supply, since this will affect its voltage.
It would be helpful if you could provide information on:
1. The regulator - a reference to a data sheet
2. The ADC - ditto. Is the ADC internal to the Arduino AVR device? What is its resolution (in bits)? What reference voltage is being fed into it?
3. A system diagram showing how each part of the system is powered and what voltage rails are available
4. What accuracy and resolution are you expecting for each of the quantities?