go_away

Author Topic: LED for line sensor  (Read 1778 times)

0 Members and 1 Guest are viewing this topic.

Offline McFireTopic starter

  • Beginner
  • *
  • Posts: 6
  • Helpful? 0
LED for line sensor
« on: August 14, 2009, 10:23:02 PM »
Hi,
I want to make a line detector with a Cds Cell and a LED.
Now my question is what kind of an LED should I use.

#1
Diffused or clear

#2
Wide or narrow viewing angle

#3
Red, Green, Blue or Orange

This is kinda of subject but:
Can I build a fully functional sumo bot with the $50 microcontroller

Thanks in advance for any suggestions.
« Last Edit: August 14, 2009, 11:02:46 PM by McFire »

Offline SmAsH

  • Supreme Robot
  • *****
  • Posts: 3,959
  • Helpful? 75
  • SoR's Locale Electronics Nut.
Re: LED for line sensor
« Reply #1 on: August 15, 2009, 04:13:44 AM »
#1. generally clear if you want it to be brighter.
#2. well, if you want it to be more focused go for narrow, but both can be fine.
#3. im not too sure but blue and green tend to be good choices.
#4. hell yes, the arduino's use a chip that is practically the same as the $50 robot.
the $50 robot tutorial only shows how to get like 10 I/O out of the board...
the atmega8 has 20 I/O available for use, 17 excluding the programming header.
Howdy

Offline Finnik

  • Full Member
  • ***
  • Posts: 59
  • Helpful? 4
Re: LED for line sensor
« Reply #2 on: August 15, 2009, 05:09:17 AM »
The color of the LED you need to take depends on the colour of the line you're following. If it's a black line on a white surface, any color will suffice. If the line and surface are other colours that black and white, look up which colour absorbs what colour of light. White reflects all colours of light, black absorbs all, but e.g. blue absorbs all colours except for blue. Pick a colour which allows you to detect the difference between the colour of the line and that of the surface it's on.
Think outside the box... inside is to crowded.

Offline McFireTopic starter

  • Beginner
  • *
  • Posts: 6
  • Helpful? 0
Re: LED for line sensor
« Reply #3 on: August 15, 2009, 11:05:38 AM »
Ok,
I think I'll try it with Orange and if that doesn't work I'll use Blue.
Thanks for the replies.

Offline Soeren

  • Supreme Robot
  • *****
  • Posts: 4,672
  • Helpful? 227
  • Mind Reading: 0.0
Re: LED for line sensor
« Reply #4 on: August 15, 2009, 11:06:09 AM »
Hi,

Using an RGB LED, you can find the best color by scanning the actual line vs. background color and make it select the one giving the largest contrast.
Otherwise, a (warm)white LED is probably the best all round color.
Regards,
Søren

A rather fast and fairly heavy robot with quite large wheels needs what? A lot of power?
Please remember...
Engineering is based on numbers - not adjectives

 


Get Your Ad Here