Hi! I'm new to arduino, and I need to code a 360 servo motor based off an arduino. I want the servo to turn one direction continuously while a photo resistor is receiving light, and then have it stop when the photo resistor is sensing no light. How do I make this happen? Currently the servo moves when it is receiving light, but once it gets to a certain position it stops and doesn't move again regardless of light. Does anyone know how to fix this? Thanks so much!
You most likely need to get a servo capable of doing what you want. Did you test the servo before trying with your current program?
Run the Servo library Knob example. What does the sevo do?
Sounds like your servo is a
non
360-degree servo = non continous rotation-servo
additionally: Your posting is like:
saying "I'm sitting on a chair. Please tell me what illness do I have"
wayyy too lessss information to have any clue even for the wildest guessing.
You are working on an informatic project. And what is most needed in an informatic project is information.
Especcially the code you used.
Post your sketch as a code-section like described here
This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.