Some effort to program a a small dimple uC (micro-controller) and that is your Black Box. There are also other ways to do it. It all starts with a pencil (large eraser preferred) and a blank sheet of paper and defining exactly what your project is and numbers.Personally I would use a microcontroller to monitor the photoresistor which then activates and adjusts the duty cycle of a PWM signal to change the motor speed.
I always try to skip that part... then redo the project 1000 times and still don't get everything right. Nothing like wasting time doing things the hard way.It all starts with a pencil (large eraser preferred) and a blank sheet of paper....
OMG, many decades ago that was me.I always try to skip that part... then redo the project 1000 times and still don't get everything right. Nothing like wasting time doing things the hard way.
No photoresistors nor photocells. Use a phototransistor.If the light is OFF, then the motor stops.
Low light brigthness = low motor speed.
High light brigthness = high motor speed.
You have to add a microcontroller/arduino with proper coding and a motor driver IC to the above setup.First the picture, because a picture is worth a thousand words.
View attachment 268050
Is this possible?
If the light is OFF, then the motor stops.
Low light brigthness = low motor speed.
High light brigthness = high motor speed.
Thanks.
This is my thread?When you have questions please start a new thread of your own.
Ah. OK. I will search for this.Use a phototransistor.
My bad. Sorry about that. Plenty of ways to control a small DC motor. Depends on what you want and the motor type.This is my thread?
![]()
Given the picture in post #1, the motor is a fairly small hobby type DC brushed motor, probably operating on about 3 volts, or one lithium cell. My suggestion will require a higher supply voltage because of the resistance of the light sensor.My bad. Sorry about that. Plenty of ways to control a small DC motor. Depends on what you want and the motor type.
Ron
Post #7 shows a circuit and calls out a 2N3904 pretty common NPN transistor with a max collector current of 200 mA. While the link points to a 9 volt supply which only needs be enough to turn the motor. It's a pretty common hobby circuit and the current is handled by the transistor. Pretty much as I described. Also in the linked video the motor runs or doesn't. The LDR and 10K form a basic voltage divider to bias the 2N3904 base using a 1K base resistor. Crude and simple. Would I suggest it? No, but I still haven't a clue what the thread starter has in mind.Given the picture in post #1, the motor is a fairly small hobby type DC brushed motor, probably operating on about 3 volts, or one lithium cell. My suggestion will require a higher supply voltage because of the resistance of the light sensor.
by Aaron Carman
by Aaron Carman