Let's Make Robots!

photocell

photocell with motor, no programming

Hi, im new to the forums and I need some help running a dc motor with a photocell without any micro-controllers.

Heres the list of parts I have:

-Tip120 transistor

-1n4004 diode

-1k resistor

-photocell

-solderless breadboard

-jumper wires

-9volt batter with battery connector thing

-a small dc motor (i dont have much information about it except that it seems to run on 3.3volts:( )

Peculiar ldr problem...

Hi, well got my robot to follow light, to see if everything was working fine, but the weird thing is, instead of changing direction in real time, it only changes direction when i reset my arduino board, same thing happens if i watch the serial monitor.

 

for example

 

it prints out 500 to the serial monitor

keeps printing 500, even if i change the light source.