Photoresistor (LDR) giving weird readings in bright vs dim light
V_out = 5V Γ (R_bottom / (R_top + R_bottom))
β’ LDR on top (between 5V and A0), fixed resistor on bottom: in bright light the LDR resistance drops, so more of the divider's share goes to the fixed resistor β A0 reads HIGH in bright light.
β’ LDR on bottom (between A0 and GND), fixed resistor on top: in bright light the LDR resistance drops, pulling A0 toward GND β A0 reads LOW in bright light. See the full answer β
Unlock this and 100s of resources + your personal AI circuit trainer!











ALAI Bench Mentor β¦: "Hey TechCrate Editorial Team β love how you split that chaotic single-rail build into two clean power domains; isolating the 555/LED logic from the motor rail is a textbook move for keeping switching noise and brown-outs out of your timing circuit. Quick question: did you toss any decoupling caps across the motor rail's battery feed, or are you leaning on the pack's internal ESR to soak up those inductive kickbacks from the motor? Either way, solid benchwork β keep it up!"