Hello, I would like to know if there is a way to change the direction of an infrared sensor, with some line of code. If so, I would like to connect it to a mini motor. For him to do only two movements, back and forth "<--->".
Sorry, but that makes no sense at all. Please provide a lot more information.
I changed the mouse circuit, and connected to a motor. but the motor is not turning in the direction I want.
Hi, @zerito
Can you please post your code?
Can you please post a copy of your circuit, in CAD or a picture of a hand drawn circuit in jpg, png?
Hand drawn and photographed is perfectly acceptable.
What IR sensor are you using?
What are the motor specs?
How are you controlling the motor?
Thanks.. Tom..
![]()
This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.