OK, so you're trying to turn on a device when an external LED turns on?
You really need a Schmitt trigger so that the device turns on and off cleanly, but also fully -- I'm glad you're going that way.
There are a lot of resistors in the Schmitt trigger, and you have to choose them carefully so that it turns on and off at the appropriate voltage levels. Those voltage levels are dependent on the LDR you're using, the brightness off the LED and the resistor used to bias the LED, and any amount of ambient light leakage you might have.
So the first thing you need to do is to separate the LDR from the transistor so all you have is this part:
Then (with the variable resistor in the middle of its travel) you need to connect a multimeter between 0V and the output and measure:
- The voltage in darkness with the LED off
- The voltage in bright light with the LED off
- The voltage in darkness with the LED on
- the voltage in bright light with the LED on
- The voltage at VIN (you may not need to measure this)
If all goes well, voltages 1 and 3 will be similar, voltages 2 and 4 will be similar, and both of these will be significantly different from each other.
Please tell us these voltages.
Then you might want to consider whether you wish to use the two transistor circuit shown to you, or one like this using an op-amp:
This uses an op-amp (or a comparator) in place of the two transistors. Whilst it looks simpler, it does introduce some complexities, especially if you have a low supply voltage. But the advantage is that there's a nice
on-line calculator to determine the resistor values.
The calculations will need to be done manually for the circuit I gave earlier.
Let's get everything planned before you go and buy stuff.
Also you need to tell us the maximum current drawn by your "DEVICES". This is VERY important. Also if any of them are loads like lamps, motors, relays,... we need to know that too. If you can be explicit in telling us what those loads actually are, we can be far more confident in knowing that we are giving you good advice.