Let's Make Robots!

IR compound eye

Mr._General_4.bas17.21 KB
Vendor's Description: 

I have posted some tip/walkthroughs on home made IR sensors for obstacle detection and later for motion tracking. Now DAGU proudly presents the IR compound eye. Designed to fit LMR's universal sensor bracket, this sensor works by shinning IR light onto an object and then tracking the reflected IR. This sensor does not work in bright daylight as sunlight has a lot of IR and blinds the sensor.The IR LEDs can be controlled by a digital output so that ambiant light as well as reflected light can be measured. Your microcontroller needs 4 analog inputs available to use this sensor. See a video of it working here: http://www.youtube.com/watch?v=iKYCob7getU

Note: calibration is not normally required, heatshrink is provided fo those who wish to fine tune their eye. A black permanent marker can also be used. Incorrect application can reduce the range of the eye.

This product is now sold at Robot Shop.

Click on the schematic for a bigger image.



Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
I don't mind at all. I want to learn Arduino, just have to find the time. We are in the process of producing an arduino board designed at one of the local universities so hopefully we can produce some sample code soon.

Just want to say, awesome!! This is what I got into electronics for, designing stuff like that! I've got to agree, you're an icon!!:)

If you throw up the BAS file, I'll see what I can do to work it into an Arduino sketch for some sample code!:D

Unfortunately I can't seem to post attachments to a component so I have posted the file with the tip/walkthrough.

The BAS file can be found here:


Just below the cute little bug.

It looks very simply. I think even I could translate it to Arduino even though I know squad about picaxe. But I don't have the time either these days so... Besides I don't have the compund eye to test it...

Never saw this picaxe lingo before...So I am curious:

- You use the keyword "symbol" both for declaring constants AND variables?

- What does it mean when you assign a value like "b2" or "w6" to a variable?

- Also don't know what the first 4 lines do "#picaxe 28X1 #no_data #no_table setfreq em16"

Besides that I think I could translate it in a matter of minutes...

PS: No offence to anyone but I've been programming in c, c++, c#, java, javascript, actionscript, lingo, sql, asp (vbscript), php and visual basic. But I don't think I ever saw a language I disliked as much as this picaxe thingy... well ...perhaps visual basic/vbscript ... what a mess ... man am I glad I bought an Arduino ... hehe :)

I would be happy to oblige all these questions (to my abilities), but I don't want to pollute this honourable thread with it. Let's take the Picaxe drivel elsewhere. Please provide a link here.


..And sorry for spamming this honourable thread with Picaxe drivel :)

this is so cool!!! I'm starting to get used to OddBot's product designs!!!  :D

Will you release sample code to the non'coder persons?   :)

At the moment there is sample code posted in my compound eye tip/walkthrough for picaxe. When I get time I will try and write a more generic sample code and later I hope to have a sample in C.
C (Arduino) would be great   ;)