Here is a list of the pins used on the arduino for programming at this time:
(Part -- program name -- Pin number)
-Photocell -- PhotoCell --Pin A0
-Control box temp/humidity sensor -- ControlBoxTemp -- Pin 22
-Coop temp/humidity sensor -- CoopTemp -- Pin 23
-Run temp/humidity sensor -- RunTemp -- Pin 24
-Control box fan 1 -- CBFan1 -- Pin 25
-Control box fan 2 -- CBFan2 -- Pin 26
-Heater -- HVAC -- Pin 27
-Water Heater -- WHeater -- Pin 28
-Ceiling Fan 1 -- CFan1 -- Pin 29
-Ceiling Fan 2 -- CFan2 -- Pin 30
-Coop Door Motor
-Enable -- CDMotorEnable -- Pin 2
-Direction Close -- CDCloseMotor -- Pin 31
-Direction Open -- CDOpenMotor -- Pin 32
-Coop open switch -- CDOpenSwitch -- Pin 33
-Coop closed switch -- CDCloseSwitch -- Pin 34
-Coop Green LED -- GLed -- Pin 35
-Coop Red LED -- RLed -- Pin 36
-Coop interior light -- CLight -- Pin 37
-Nesting Box Left switch -- NBoxLeft -- Pin 38
-Nesting Box Right switch -- NBoxRight -- Pin 39
-Left Window Motor
-Enable -- LWMotorEnable -- Pin 3
-Direction Close -- LWCloseMotor -- Pin 40
-Direction Open -- LWOpenMotor -- Pin 41
-Right Window Motor
-Enable -- Pin 4
-Direction Close -- RWCloseMotor -- Pin 42
-Direction Open -- RWOpenMotor -- Pin 43
-Electric fence -- EFence -- Pin 44
-LCD backlight button -- LcdButton -- Pin 45
-Main door switch -- MainDoor -- Pin 46
-Run door switch -- RunDoor -- Pin 47
-Real time clock (if needed) -- RTC -- Pin 20/21
-LCD display
-SDA/SCL -- Pin 20/21
-Future implements
- Pin Analog A1-A15
- Pin PWM 5-12
- Pin Comm 14-19
- Pin Digital 48-53
Equipment Setup:
The power will come from a deep cycle battery that will be charged with a solar panel. From the battery it will go to both voltage regulators. One regulator will be set at 7v and the other one will be set at 12v.
-
From the 5v regulator it will be connected to a fuse and then to a power bus. From that the arduino board, DHT11’s and any other lower voltage part will be connected.
-
From the 12v regulator it will be connected to a fuse and then to a power bus. Then the 12v relay board, motor contollers, and any other parts would be connected to the power bus.
All the electronics will be placed into an enclosed box for protection. The battery will also have its own enclosure.
I know with an experienced person that has wrote code for arduino it would probably be easy. For me it has been a hard process and I keep getting confused. I hope someone is around willing to help a guy like myself. I hope I am not asking to much out of anyone. I also would like to hear any ideas that would make this a better setup. Just let me know if any questions arise. Thank you for your time in advance.
Curtis