IR compound eye
| Attachment | Size |
|---|---|
| Mr._General_4.bas | 17.21 KB |
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.
Click on the schematic for a bigger image.




@ Thu, 2009-09-24 03:40
excellent
@ Thu, 2009-09-24 03:55
Yes
@ Thu, 2009-09-24 05:40
but does it "modulate"?
So you can get the difference between ambient and reflected, like your old tracker?
Scratch that, calculon just saw Q9 on the schematic. bad-ass.
@ Thu, 2009-09-24 05:08
Lovely work Oddbot
@ Thu, 2009-09-24 08:22
is this tested with picaxe
@ Thu, 2009-09-24 08:24
Yes
@ Thu, 2009-09-24 11:47
Nice job
@ Thu, 2009-09-24 15:44
Nice!
@ Thu, 2009-09-24 18:44
Send a private email to
@ Fri, 2009-09-25 08:28
this is so cool!!! I'm
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? :)
@ Fri, 2009-09-25 10:45
Sample code
@ Fri, 2009-09-25 15:45
C (Arduino) would be
@ Sat, 2009-09-26 03:26
Very cool :)
I thought this was so cool that I took the liberty of sharing it with the Arduino community...
www.arduino.cc/cgi-bin/yabb2/YaBB.pl?num=1253931667
I presume you wont mind, Oddbot?!
@ Sat, 2009-09-26 05:29
Thanks Mate :D
@ Sat, 2009-09-26 05:49
Awesome
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
@ Sat, 2009-09-26 06:43
BAS file
The BAS file can be found here:
http://letsmakerobots.com/node/10822
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...
@ Sat, 2009-09-26 07:30
Hmm..just curious
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 :)
@ Sat, 2009-09-26 10:57
Link it elsewhere
@ Sun, 2009-09-27 01:13
Good idea...
letsmakerobots.com/node/11375
..And sorry for spamming this honourable thread with Picaxe drivel :)
@ Sat, 2009-09-26 09:30
BAS file
@ Sat, 2009-10-10 17:04
Size?
@ Sun, 2009-10-11 02:04
Dimensions
@ Sun, 2009-10-11 03:50
Nice...
That's small..now I'm definately getting one since I'm gonna order a batch of servos anyway..I sent a mail to Claudia allready :)
Thanks
PS: So I'll be translating you Picaxe code to Arduino soon...
@ Sun, 2009-10-11 09:59
Updated code
@ Sun, 2009-10-11 17:44
Cool..thanks
@ Fri, 2009-11-13 18:21
Connecting
I bought one of these a while back, but still didn't have time to play with it. I hope to hook it up this weekend. But I don't know how to connect it?! I know it takes 4 ADCs and I'm looking at the schematic. However I still don't quite understand this electronics mumbo jumbo so the schematic doesn't make much sense. I don't know what this J1 rectangle is supposed to indicate? I suppose they are the connections (1 x 5V, 4 x ADC and 2 x ground)? But then I'm not sure whether the 4 grounds at the bottom of the schematic are actually the ADC connections?!
Hope to get a few hints :/
@ Fri, 2009-11-13 18:26
I've had the same questions.
@ Sat, 2009-11-14 12:43
Sorry for the confusion
J1 is the connector with 7 pins. You can tell pin 1 if you look at the PCB because the pad is square instead of round. As Rudolf has mentioned:
pin1 is Vcc (+5V)
pin2 is analog output (up)
pin3 is analog output (left)
pin4 is analog output (down)
pin5 is analog output (right)
pin6 is digital output (IR leds)
pin7 is ground
@ Tue, 2009-11-24 22:16
Risking more confusion
@ Tue, 2009-11-24 22:35
I believe he's referring to