![]() You can translate and scale with just three resistors. I've input positive voltages into the logger through a power supply, and it reads those voltages perfectly! It follows the shape of the waveforms very well too. ![]() Is this a result of putting in negative voltages into my ADC? Does it take the negative voltages, set that as 'ground' with respect to other voltages? I always have a little bit of a negative signal even with the precision rectifier and when I graph the results through my logger, it appears that the largest negative value has been moved up to zero, so I seem to get a larger range than the input. The micro follows the shape of the waveform correctly but the voltage range is from 0.X to Y volts. But my micro shows a signal with the same waveform that goes from 0-1.5V! If I replace the precision rectifier with a simple diode/resistor combination, I get a waveform that varies from -0.X volts to Y volts (depending on the input through the function generator). BUT the oscope shows that the output of the rectifier varies from -0.5 to 1V. ![]() My logger is able to graph the waveform of the rectifier very well. I'm using 1N4004's as the diodes and 10k for the resistors. I'm using an LMC6484 as the op-amp with 3.3V to the V+ rail and 0 to the V- rail. I've attached a picture of the circuit I'm using for the rectifier. I'm using a precision rectifier to get rid of the negative portion of the signal. I'm using the ADC on an ATtiny24 to record a AC signal.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |