Go Down

Topic: Reflective Sensor (Read 666 times) previous topic - next topic

Ayane20

Hello everyone
I am trying to write a code for arduino reflective sensor. Basically, I need my car to go through a track that is bordered by black duct tape (the car shouldn't cross the duct tape). I have searched everywhere for black color detection via reflective sensor but I couldn't find any useful tutorial.
The board that I am using is Arduino Duemilanove w/ATmega328.
Any help is appreciated  :)

muddy

You are in a strange situation, since black colour (ideally speaking) can't be detected :-) It doesn't reflect anything (hence the colour black).

Since duct tape isn't ideal, and may even be a bit shiny, I think almost any available reflective sensor will work just fine.

Ayane20

I know that. But I can't figure out that code that makes it work.

AWOL

Quote
But I can't figure out that code that makes it work.

Without more detail, nor can we.
"Pete, it's a fool looks for logic in the chambers of the human heart." Ulysses Everett McGill.
Do not send technical questions via personal messaging - they will be ignored.

Ayane20


Quote
But I can't figure out that code that makes it work.

Without more detail, nor can we.


Then what sort of details do you need?

AWOL

Quote
Then what sort of details do you need?

The code that you can't get to work that you didn't post, the sensor spec that you didn't post, the vehicle geometry that you didn't post - the usual stuff needed to answer questions.
"Pete, it's a fool looks for logic in the chambers of the human heart." Ulysses Everett McGill.
Do not send technical questions via personal messaging - they will be ignored.

Go Up