Hello! I’m using two photoresistors to control a motor's direction based on which one receives more light. With two motors, I have it set up so the right motor spins when the right LDR gets more light, and the left motor spins when the left LDR gets more light.
I've made that using two 2N2222 NPN transistors and 2 LDRs.
Now, I’m trying to control one motor instead, where the motor spins right if the right LDR gets more light, and left if the left LDR gets more light. I know an H-Bridge or microcontroller could work, but that's not very challenging.
All my attempts have failed so far.. any suggestions?
Thanks!
I've made that using two 2N2222 NPN transistors and 2 LDRs.
Now, I’m trying to control one motor instead, where the motor spins right if the right LDR gets more light, and left if the left LDR gets more light. I know an H-Bridge or microcontroller could work, but that's not very challenging.
All my attempts have failed so far.. any suggestions?
Thanks!




