Let's Make Robots!


Chase The Light, bumping into everything

Here is a brainless, nameless, clueless little vehicle that chases the light. It's a photovore. Well, it actually is just a photophile. It does not eat the light, it just likes it.

1069-A1 (by lack of a better name) is powered by 4 AA cells (NiMh rechargeable), not by a photo voltaic cell. Each motor has its own light sensing circuit.

The two LDR on stilts are directed in opposite directions. Each LDR is part of a voltage divider with a pot. The resulting voltage is sent into a darlington of two NPNs which in turn drives an LED and a 3-6 V gearmotor. The wheels are also Solarbotics, but in line with my "pimp your bot" lobby, I prettyfied them with a piece of gift wrap paper.


The photophile is easily turned into a photophobe by twisting the leads of the LDRs and turning the light sensitive faces outwards. The selectivity of this setup would probably improve dramatically when I encase the LDRs. As it is, 1069-A1 does not turn anywhere in daylight (hence no video yet). At night (yawn, make that late at night) with the artificial lights on, this creature will turn toward light sources.

Still is a brainless furniture humper bumper though.


The pots make it easy to adjust the sensitvity of the sensors. At night, I adjust them so that the wheels start turning at less light. At day, the LDRs are flooded with ambient light. The light seeking mode fails completely. A1 will just move straight forward until it bumps into anything. 



The LDRs I used are quite sensitive. I covered them up with 2cm of black unshrunk shrinktube, but the tiny opening in the bottom would still let in enough light to trigger the LEDs.


Update 29 oct:

I did encase the LDRs and placed them on opposite corners of the board. Now it no longer drives out of the light beam. It's a proper bunny now: staring Chris' truck straight in the face!

Be a patient watcher and you can see A1 in action. Dancing in the shadows.


Update 1 nov:

Here's new pictures of the improved eyes. The placement on the breadboard is a big improvement as well.


Notice the blue and brown wires. The starboard LDR (R11) is now on the port side of the bot. And vice versa. Both eyes are slightly turned outwards now. The little "riding hoods" around the eyes are cut off asymmetrically as well. Letting in more light from the outside. The effect is illustrated below.


On the top of the image you see the old design. When one of the LDRs is outside of the light beam, the feedback mechanism makes it drive off into the dark. (Orange dot indicates motor turning full speed.)

The other bot has its eyes cross wired to the motors. When getting less light in one eye, the opposite motor will steer it back into the light. (Grey dot indicates motor turning less than full speed.) 

At the far right, even the improved bot comes to a full stop because neither eye receives enough light anymore. (Black dots indicate motor full stop.)

Here's a closeup of the improved, encased eyes.


You can see the LDR sitting in the back of the port side eye, but not the one in the other eye. If you were a light (...) the green LED would light up and 1069-A1 would be steering towards you now!


update 30 dec:

List of components:
The LDRs are quite common M9960 (datasheet).
transistors: general purpose NPN 2n3904 or equivalent
(T1 and T11) could probably be omitted when using transistors with higher amplification factor (> 300?)
potentiometers: linear 10 kilo Ohm
LEDs: general led, forward voltage approx. 2V
power: AA NiMH rechargeable cells
motors: solarbotics gm9


Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.

Well I didn't want to be too offensive on my favorite site. If I "fastened my helmet" (yeah that doesn't make a lot of sense but I get the drift) we'd need our own thread to battle it out. Not worth the bother really.

Is that like a Vikin helmet?

ROFL, I just showed it to her again; Guy made a robot, cut out nice giftwrap-paper to make the wheels look pretty, films it driving towards a light bulb while Gibb sings about how nothing is going to come between us!

Just had a laugh about it!

She comments "It's good for you guys that you have found each other" :D  Yeah, no cake baking here, bit**. Just sensitive robots, the way we like it!

Does he really sing something like that? I just went for the pun in the title. Like most of the time when I pick music.
I think your choise of music is outstanding! :D

I were quite pleased with this selection myself. Problem is to get the tune OUT of my head after editing. And now it's back in. Again. Thanks a lot y'all!


Listen to some heavy metal for about 5 minutes at full volume and blast that tune out of your head!

Ever noticed that heavymetal songs don't normally get stuck in your head? Unlike TV adds. No pretty melody.

I regard it "accidental art". The setup was meant to be completely functional, but in editing I recognized the artsy quality. Never cut a scene because it is too beautiful!


"happy accidents" are the best  ;)

I must have missed this when you first posted it, so I'm glad you linked to it again. Great video. I was amused by this juxtaposition, just as you finished saying, "It's 5mm square, I swear."




thanks for noticing AND archiving that comment plus the shoutbox in one prntscrn!