Automated door for chicken house

Automatic opening/closing of the front door of a chicken coop based on the day light measured by a LDR

Apr 7, 2021

25421 views

10 respects

Components and supplies

2

Switch Actuator, Square D Type C Heavy Duty Limit Switches

1

Arduino UNO

1

Development Board, Motor Control Shield

1

Rechargeable Battery, 12 V

1

Sodler board

1

LDR, 1 Mohm

2

Limit switch

1

Geared DC Motor, 12 V

Tools and machines

1

Soldering iron (generic)

1

Solder Wire, Lead Free

Apps and platforms

1

Arduino IDE

Project description

Code

Code

arduino

How to adapt: - DC Motor rotational direction: lines 204 et 210 (to be updated depending on how it is mounted). - hysteresis threshold duration: line 31 (time needed at a certain brightness threshold before the engine starts). - Brightness threshold: lines 25 and 26 (normalized brightness in % from when it will open/close the door, to be adjusted for your case depending on your sensor voltage output as well as the position (more or less exposed to shadow)

Code

arduino

How to adapt: - DC Motor rotational direction: lines 204 et 210 (to be updated depending on how it is mounted). - hysteresis threshold duration: line 31 (time needed at a certain brightness threshold before the engine starts). - Brightness threshold: lines 25 and 26 (normalized brightness in % from when it will open/close the door, to be adjusted for your case depending on your sensor voltage output as well as the position (more or less exposed to shadow)

Downloadable files

Schematics

Schematics

Image

Schematics

Schematics

Image

Schematics_Fritzinig

https://fritzing.org/

Schematics_Fritzinig

Comments

Only logged in users can leave comments

Quelud

0 Followers

0 Projects

0