Hi, I'm very new to electronics and just did my first circuit in real life 
I cannot understand why it behaves so differently from the one that I simulated, can anyone explain the difference to me?
The circuit is a dark detector where I've (for testing) replaced the photoresistor with a potentiometer.
According to the simulation: https://everycircuit.com/circuit/6126457715425280 the diode is turned off completely by 800 Ohm and turned on by 1200 Ohm on potentiometer. I've measured the same on the real board and the values are completely different and the range span is lower. So IRL the diode turns on by 5.07k Ohm and turns off completely by 4.85k Ohm.
The resistance values on the simulator are the measured resistance from my breadboard. I've used a red LED and the transistor I've used is: bc 547b. I'm taking power from a power adapter which is set to 3.3v.
This is a short movie with it: https://photos.app.goo.gl/Y2XeiweXAoCeL11Q9
Can someone please explain to me where does the difference come from and what should I change in my simulation so that it behaves as in real life? I tried playing with transistor and diode parameters but couldn't find any values that affect the behaviour as much. Any tips would be greatly appreciated.
I cannot understand why it behaves so differently from the one that I simulated, can anyone explain the difference to me?
The circuit is a dark detector where I've (for testing) replaced the photoresistor with a potentiometer.
According to the simulation: https://everycircuit.com/circuit/6126457715425280 the diode is turned off completely by 800 Ohm and turned on by 1200 Ohm on potentiometer. I've measured the same on the real board and the values are completely different and the range span is lower. So IRL the diode turns on by 5.07k Ohm and turns off completely by 4.85k Ohm.
The resistance values on the simulator are the measured resistance from my breadboard. I've used a red LED and the transistor I've used is: bc 547b. I'm taking power from a power adapter which is set to 3.3v.
This is a short movie with it: https://photos.app.goo.gl/Y2XeiweXAoCeL11Q9
Can someone please explain to me where does the difference come from and what should I change in my simulation so that it behaves as in real life? I tried playing with transistor and diode parameters but couldn't find any values that affect the behaviour as much. Any tips would be greatly appreciated.
Last edited by a moderator: