hello
it´s my first time to publish here.
I´m having trouble with my arduino, when I try to conect 2 AC signals.
when I send them in "analog in" pins in Arduino uno R3, the microcontroller gets hot and I don´t know how to solve this problem.
hope you can help me!!
//I forgot to explain that I have osciloscope and signal generator, so I can configure the signal to be on 2V, with an offset...and I have no problem with just one signal. there's a problem if I put 2 sine wave signal with offset, in the range of 2v.
Let's start at the beginning. Do you know what AC is ? What is the voltage range of the signals you are trying to measure ? Have you read the specs for the UNO ? Do you realize why your question is scary ?
Do you realize that you cannot use an UNO to measure AC ? (simply because if it were a sinewave signal
with a voltage range of 0V to 5V then it wouldn't be ac would it ? (no zero crossing point).
Simply put. You need to rectify the voltage first , then filter it with an RC filter before you can measure it
with an analog input pin. If you used a 1 uF coupling capacitor and a voltage divider of two 10k resistors,
you could bias the signal to a midpoint of 2.5V, which would be acceptable range for the analog pin.
I prefer the rectify/filter approach.