Hi everyone
Initially i CALBRIATE the value in first step.. so didn"t get proper sine value while i turning 100k pot also
Connection Arduino to zmpt101b
5V TO VCC
A1 TO OUT (I Checked here in multimeter 2.53v in zmpt101b)
GRD TO GRD
product link zmpt101b
void setup() {
Serial.begin(9600);
// Set analoge pin to input
pinMode(A1, INPUT);
}
void loop() {
// Read analog input
Serial.println(analogRead(A1));
delay(20);
}
Here i should get the sinewave but inot geeting properly
please help me to crack this guys and thank you so much
3 posts - 2 participants