Robot navigating by visible light alone
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