hi there,
i'm trying to measure impedance by applying sinusoidal wave to a chemical gel. it cannot operate by dc voltages.
i can achieve to measure resistance from a dc circuit and send the solution to an LCD screen by reading two channels as follows:
my code:
#include <LiquidCrystal.h>
LiquidCrystal lcd(12, 11, 5, 4, 3, 2);
void setup() {
// set up the LCD's number of columns and rows:
lcd.begin(16, 2);
lcd.print("impedance :");
}
void loop() {
int sensorValue1 = analogRead(A0);
int sensorValue2=analogRead(A1);
// Convert the analog reading (which goe