My antenna is not working properly which is made of single core wire. The single core wire cannot able to generate and shows the reading.
Make sure the wire (antenna) is connected to the Analog pin of Arduino. Let's say A0. Use the function analogRead(0) and store it in a variable. Output that digital value on digital pins.
To check if you are getting any values or not, open the serial monitor and print the values using Serial.println();
Here's the rough sketch
void setup() { Serial.begin(9600); } void loop() { A = analogRead(0); Serial.println(A); }
Make sure the wire (antenna) is connected to the Analog pin of Arduino. Let's say A0. Use the function analogRead(0) and store it in a variable. Output that digital value on digital pins.
To check if you are getting any values or not, open the serial monitor and print the values using Serial.println();
Here's the rough sketch
void setup() { Serial.begin(9600); } void loop() { A = analogRead(0); Serial.println(A); }