Hello, I present you my first project.The main purpose is to control the door of a henhouse, so that it opens and shuts at the beginning of the day to be at nightfall. All this controls with an arduino.

For the installation I will use an arduino uno but it is posible to use the other variant

So for this project I will use a light sensor,

light sensor

a step by step motor (28BYj-48)

step motor












here is the schema of my installation, and you find in ahl on the left the link for the code