So i have this circuit that I've been developing here:
its a basic lightning detector sensor and alarm.
The problem that I've been having is that the sensor does work (I've tested it with head phones and by plugging it into the audio port of my laptop.), however the arduino does not hear anything coming from the sensor. You can see I have it connected to the arduino in the circuit using an audio type input circuit (modified voltage divider), But it still doesn't want to work. Also, when i plug it into my laptop (the arduino) to test it with the serial monitor, it works just fine! But when I plug it into the wall it starts doing it again, weird huh? i'm just wondering if there is anything that might be wrong with the circuit and if so, how could i fix it? (also note that the arduino is running on the wall, and the sensor is actually running on a 9v, i have resistors in place in the sensor so that its output is less than 1v, just above when it picks up a lightning strike. Also, the ground is an earth ground.)