I'm trying to build a midi controller that takes the input from a photoresistor and a reed switch anemometer and outputs midi signal.
I've constructed the circuit as in the diagram below but when I test the inputs I receive only random numbers from analog input 3. I get a clear signal on A5.
I'm confused as to what's going on. I've seen other solutions to this problem mention the circuit not being grounded properly but as far as I can see I have the correct grounding.