I used simulator 123d.circuits.io to create simulation of basic circuit with LDR: LDR is connected to 5V and via 10K resistor to GND. Wire between LDR and resistor is connected to analog pin where I read ADC values and display them using serial monitor. This works fine. But I would like to how to change lighting level of LDR in simulation because this way LDR shows still the same value. I tried putting LED or light bulb near LDR but it doesn't seem to have any influence. Any ideas?


Ok, so I found it myself. You can click on LDR during simulation and bar to adjust lighting appears above it.

  • 1
    Please use the edit link on your question to add additional information. The Post Answer button should be used only for complete answers to the question.
    – Nick Gammon
    Jul 19 '15 at 22:10
  • 1
    It is complete answer to the question.
    – Garnagar
    Jul 20 '15 at 22:43

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.