top of page
Search
  • Writer's pictureSamantha Staudinger

Integrating the Stepper Motor and Photoresistor

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!


0 views0 comments

Recent Posts

See All

コメント


bottom of page