Perhaps OP did these verification steps, but did not mention it
- check ADC conversion by using a constant voltage at ADC input. Can be done by using a potentiometer (value not important, range 1k to 10k, linear) between 3.3V, GND; wiper to ADC input. ADC reading should follow the input value; compare readout values with multimeter reading of voltage.
- applying a sine wave may need a voltage offset in order to avoid negative inputs. Also avoid voltages above Vcc of the ADC (guess this is 3.3V)
- What is the source of your 1Hz sine wave ? A waveform generator or other tool?
Perhaps I missed it, but is there a schema of the connections or an imag eof the setup?
- check ADC conversion by using a constant voltage at ADC input. Can be done by using a potentiometer (value not important, range 1k to 10k, linear) between 3.3V, GND; wiper to ADC input. ADC reading should follow the input value; compare readout values with multimeter reading of voltage.
- applying a sine wave may need a voltage offset in order to avoid negative inputs. Also avoid voltages above Vcc of the ADC (guess this is 3.3V)
- What is the source of your 1Hz sine wave ? A waveform generator or other tool?
Perhaps I missed it, but is there a schema of the connections or an imag eof the setup?
Statistics: Posted by ghp — Sat Jul 27, 2024 9:56 am