IR light sensor

sorry sir..

i just want to ask a stupid question for a newbie..

 

i would like to use IR light sensor to detect objects..of course its with an emitter...

1. what if i will not use any components like (LED,Buzzers, etc..) 

like for example..insted, i would like to move the robot's body to the position of an object.

EX. if left IR detects object...i would like to turn the robot to left..

2. I dont know how to determine the robot when to stop if its already on its front..

3. i dont know how to program IR lights with its receiver..

 

https://www.robotshop.com/letsmakerobots/node/29634

thats what i always studied...but i dont wanna use LEDs..

sorry for that stupid question sir...

Noob here..

thanks…

thanks you sir…

 

so how do i program it?.. cause i dont know how…

 

sorry sir… im really sorry again for that stupid question…cause i can only approach LMR people, aside from google…

 

:slight_smile:

 

I believe the question is

how is the code written. If that is the case, I would suggest you learn something like flowcharting or psuedocode to help you actually get to the point where you can write the code to perform your specific task. I imagine any number of members could write suitable code for you, but, you won’t learn anything.

**Then again, maybe I missed something in the shout box.

thanks

thanks you Sir Bird…

 

http://www.owlnet.rice.edu/~ceng303/manuals/fortran/FOR3_3.html

 

is that what you mean sir…?

 

That

is exactly the ideas I was talking about. If you can’t see the code, you need a way to look at it in an abstract manner, so you can begin to see how to code the function. Concepts like flowcharting and psuedocode allow you to break down the program in to smaller parts. Once you have some stable ideas about what you are trying to do, you can start to put it in to code.