Let's Make Robots!

Robot navigating by visible light alone

fritsl's picture

IMG_5002.JPG
IMG_5003.JPG
IMG_5014.JPG
IMG_5001.JPG
IMG_5051.JPG
IMG_5018.JPG
IMG_5024.JPG
IMG_5026.JPG
IMG_5027.JPG
IMG_5041.JPG
IMG_5042.JPG
IMG_5043.JPG
IMG_5044.JPG
IMG_5045.JPG
IMG_5047.JPG
IMG_5048.JPG
IMG_5049.JPG

 

Update:

To make FritsLDR stand the ultimate test, I wanted it to navigate with light only.. but using a standard old fashionable light bulb instead of a smart & fast display of super bright LED's to track in front..

.. and then it had to navigate at a kitchen table.. where all lights in the cieling was florescent lamps :)

And it can be done. Quite easily actually! So this concludes this for me; It CAN be done - you can navigate by visible light, and you can make your own sensors with just some source of light and a cheap LDR!

I may upload some code for the filtering of florescent light if I have time or someone asks. However, it is very easy to do; Look at the "how to", use the code attached. Instead of "Pause P", use the time to measure perhaps 4 times, and let this be the result that you subtract from the other result (light on / off) and get difference from these two averaged variables instead. That does the trick.

FYI; In the video with the light bulb, I am reading 40 times on / 40 times off, and get the average.. But that is because I have to spend the time it takes the darn thing to start glowing on something :D


 

You may not think much of it, but to me it is sensational :D

The worlds first robot navigating by the reflection of visible light - does not care if it is driving in day or night, artificial or natural light :)

(And yes, it is also a Joystick)

Instructions on how is found here: http://letsmakerobots.com/node/1833

Comment viewing options

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

I can say, I am more impressed with this method than using the other methods. mainly because it is "ingenuity to solve the problem and isn't just throwing money at it". I prefer to use found things and scrap over buying ready made devices. I know there is technology to do it available but whats in the junk to do it equaly well? besides it guarentees being one of a kind and there is nobody else to credit. Else why not just purchase a kit.

for me it is just that, "the challenge of using scrap and recycle componants". aside from the micro cntroler and servos, but I am also learning to do that part. too.

 

Prettybird's picture

  You can teach an old dog new tricks. Cad sulfide photo resistors have been around for decades and dirt cheap (free if you know how to recycle old electronics). LEDs are now dirt cheap too. I learned from old school,  usually liked the comparator on off ajustment system. You just gave me ideas for some future R&D (better dust off the scope). I have mabe 5 colors of LEDs laying around and a few photo resistors. A little rusty on the spectrum range of the photocells. Silicon solar cells can also be used in a similar way, but much bigger in area. I am always a sucker for creative electronics. I have been expermenting with frezno type flat lenses and bright LEDs for indoor lighting. I don't know if it can be applied to robotic eyes though.

hoven561's picture
i like the use of the Namco controller for a body. Good work Frits!
Gareth's picture

Well impressed with the "Visible-Light" ideas.

Bots are plain boring with IR light (you cant even tell if they are switched on or not)

So i say "Vote For Visible Light" and Light up your path so people can see you  - the more Colours and the Brighter the better.

(Cool "Retro" Joystick :-)

iCon's picture
Lol, well thats why they use infared. Normal light gets too annoying : P
Mr Clean's picture
I love the joystick case you put it in.  That's hilarious.  :)
Nicola's picture
Ehi it definitely seems to work :) Can it be used for obstacle avoidance? IE pointing it forward instead of downward and checking the distance ?
fritsl's picture

Yes and no:

NO:
If you like to program in a way that you know excactly (measured in human-distance like CM's) how far away things are.

YES:
If you like to program a robot that has a very "subjective" measuring to distance; You know when something is close, but if it is further away you may not see it, or just know that it is out there. (Like a person driving a car; distance can only be relyed on when the objects are really close - else it is quite subjective)

NO:
If you are just using one LED and a small LDR. This is what I do on this bot (so far) and this can only be used at a distance of some 5 CM.

YES:
If you are using multiple and powerfull LED's, specially the red ones, and the biggest LDR(s) you can find. That way you can make it react to objects up to 30 CM away (as far as I have made it, but that was actually before I made some optimazation in the code that has proved to make much better results, so it may be that even my setup can look further) Indoor is of course best, some 30% off distance in bright sunlight outside.

- I am going to make one that navigates this way myself :)

Nicola's picture
Ok, i think that anyway we use classic sensors with a theresold value so your method could be just as useful :)
fritsl's picture

It IS more crap! But is is also more fun :)

And some of the crap can be usefull - like the ability to select colors and be a lot better than avarage IR's to line following.

I'd say that it is betwenn standard little things you use to line sensoring (Emitor colector in black plastic), and SHARP IR finder.. But is just looks so much more COOL :D Colors flashing :D