![]() ![]() you need some means of reporting error. #define POST_FEED_DELAY 60000 // 60 seconds // could be longer (4 hrs even) These data pins link to 2 Relay board pins IN1, IN2, define names for the 4 Digital pins On the Arduino 7,8, relay is turned on for two seconds at approx. basic two relay board timed animal feeder Well I don't really understand any of it and I don't see many replies for me to help figure it out. I have this code and it has error messages Which I don't understand. Now need to figure out how to hook it to rtc when I get it and then power it to come on twice a day in approx 12 hour interval. Initialise the Arduino data pins for OUTPUTĭigitalWrite(RELAY1,LOW) // Turns ON Relays 1ĭigitalWrite(RELAY1,HIGH) // Turns Relay OffĭigitalWrite(RELAY2,LOW) // Turns ON Relays 2ĭigitalWrite(RELAY2,HIGH) // Turns Relay OffĭigitalWrite(RELAY3,LOW) // Turns ON Relays 3ĭigitalWrite(RELAY3,HIGH) // Turns Relay OffĭigitalWrite(RELAY4,LOW) // Turns ON Relays 4ĭigitalWrite(RELAY4,HIGH) // Turns Relay Off These data pins link to 4 Relay board pins IN1, IN2, IN3, IN4 define names for the 4 Digital pins On the Arduino 7,8,9,10 You will also see the corresponding Red LED on the 4 Relay board Fill the feeder with treats and you will be able to watch deer, turkey, and other animals feed and interact with one another. If you have a fence, place the feeder on the inside of the fence so the deer can’t reach it. Farhan Ahsan DecemCamping & Survival, DIY 4,637 Views If you enjoy watching wildlife, a homemade deer feeder will bring the wildlife closer to you for observation. Place your bird feeder in an area that is not easily accessible to deer. ![]() Deer can jump high, but they can’t reach bird feeders that are hung from a height. ![]() You can here them click as there state changes from off to on and on to Hang your bird feeder from a shepherd’s hook or other tall structure. Each relay is turned on for 2 seconds and then off. Got relays to work turning on and off for two seconds each. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |