OK, so you have a variety of output values, and you are setting a threshold and connecting that into an Arduino digital input, is that right?The easiest way may be to pick a midrange resistor and connect the signal into an Arduino analog input where you can read the value and then decide what to do??
Tell us more...Also, here's a pointer to a camera controller I am working on, and Lightning detector is one of the things I want to add http://yourduino.com/camera-control.htm
... Say you allocate 4 output pins. Connect a resistor of value R between the input pin and the cathode of a signal diode, and connect the anode of the diode to a digital output pin. Repeat for the other 3 output pins but use values of 2R, 4R and 8R. Then you can choose which of the 4 values you want as your pullup by setting the corresponding output pins high. ...
Please enter a valid email to subscribe
We need to confirm your email address.
To complete the subscription, please click the link in the
email we just sent you.
Thank you for subscribing!
via Egeo 16