top of page
Search

Integrating the Stepper Motor and Photoresistor

  • Writer: Samantha Staudinger
    Samantha Staudinger
  • Dec 9, 2023
  • 1 min read

To integrate the stepper motor and photoresistor, I wired both of them with the same the arduino board. To note, the stepper motor and the arduino were both power by different two 12V battery supplies. I then combine the the two separate code for the two separate components into one. On the high level, if the light turns on (or the photoresistor reaches a certain threshold), the motor will begin to spin slowly in the clockwise direction and then once researchall steps will restart in the counterclockwise direction. It will then repeat this until the photoresistor no longer senses the light (or the photoresistor no longer is at the set treshold).


We got something that can sense and react!


 
 
 

Comments


Sammie's Robotics Projects

©2023 by Sammie's Robotics Projects. Proudly created with Wix.com

bottom of page