PDA

Archiv verlassen und diese Seite im Standarddesign anzeigen : question ( in english)



tuxken
01.12.2004, 20:31
Hello,

I have a robby with extansion board and lcd.
I want to make an exercise to measure a distance show on the lcd..
Is it possible with the standard infrared sensors and does anybody a program for that ?
I don't find other examples of programming in english or french.
I speak dutch, french and a little bit english

thanks

x-ryder
01.12.2004, 22:09
Hi,

i can't speak english very well... 8-[

The best way to measure distance is to use a sharp sensor (infrared) or ultrasonic ranger.

i think what you mean with normal infrared sensors is a ir emitting diode and a photocell but with that equipment you can't measure a distance!

but the sharp gp2d12 for example is an infrared distance sensor which goes from 10 to 80 cm with an analog output.

you can directly connect the sensor to an analogport of the c-control

cost: 10€ - 20€ i think

ultrasonic methods:

example: srf-08

the srf-08 is an ultrasonic ranger with a range of 3 cm - 6m and it uses the i²c bus protocol to communicate with the ccrp5 for example...

but it costs: 25€ - 40€

i prefer the gp2d12 :cheesy:

i hope you can understand my english :cheesy:

Martin

Manf
01.12.2004, 22:59
but the sharp gp2d12 for example is an infrared distance sensor which goes from 10 to 80 cm with an analog ou

I also recommend the sharp sensor which is discussed in several threads within roboternetz.
Manfred