Hello,
I’m returning to this community again with another request for help from more experienced people.
I am working with VEX GO and its eye sensor. I can’t track down anywhere and can’t figure out how the eye sensor works with the “far” range. If I have a simple program: set the eye range to far, when the eye detects an object, print “yes”, otherwise “no”. Only, even when I point the sensor across a large empty room, it still prints “yes”. I’ve tried different lighting conditions and even been outside. I mean, the object is found. Could you please advise me how to work with this? How far is far for this sensor? Or am I doing something wrong?
Thank you for any advice.
1 Like
Would you mind share the screenshot of your code? I am wondering if you added a forever loop outside of the eye sensor conditional statements. See below for my quick version.
If yes, could you share a picture of how you setup and your code? So we could take a look?
1 Like
Thank you for your reply. Unfortunately, when testing I had the exact same code that keeps telling me that the sensor sees the object. To demonstrate, I am attaching both the code and a photo that the sensor has a large room (6 meters in length) in front of it. And it still reports to me that the object is detected. Do you think the error could be in the sensor?
1 Like
So i would give two potential solution / avenue:
- The optical sensor uses the light reflection. Thus, it depends a lot on lighting conditions. Try something different?
- Can you try to
force update
the GO brain? just to ensure it gets a refresh.
2 Likes
Thank you very much for your time and your advice. Unfortunately it still doesn’t work.
When I get to school, I’ll ask my thesis advisor if he can lend me another brain and eye sensor. I will test to see if the product is at fault or if there is a fault between the chair and the keyboard.
Would you mind do me a favor? Could you send over the number on the eye sensor? The number might not look like the on in the image.
But yes, please try it with another brain and eye sensor. See if it would be helpful.