I would greatly appreciate some guidance on hardware.
I am new to microcontrollers but have a fair bit of coding experience so I hope the plunge into building will be reasonably straightforward. I am not yet even clear that arduino vs pi is settled though I am leaning to arduino to keep it smaller and simple.
Here are my project goals:
-
Manage the devices / sensors remotely by having a basic on board web-server. I have seen some examples of a basic server on arduino.
-
Network connection only by wired ethernet. I don't want to spread more wifi out there and I have now wired in the coop with Cat6 an a PoE+ switch to connect several cameras -currently running. I make my own cable and have plenty to run out to the new door. I would add a splitter to drive power for both the boards and motors -PoE+ can send 30w.
-
Control motor (DC/servo/stepper?) to open and close a small door to the fenced run of my chicken coop. The door will run horizontally and not need as much torque as a lifting door would need. Door control to be via a web-page button and with a wired button beside the actual door as a backup.
-
Control solenoid that will lock the chicken door open or closed by driving a pin into an opening.
-
Read local air temperature
-
Read the water level in a closed and slightly heated watering bucket.
-
Count objects (chickens) going through the door: report the counts to the lan, read in from code on my ubuntu server and processed there. The count will only really be useful as an end of day count to double check on all birds in or possibly prior to some other reason to close up the run. I was considering an IR transmitter / receiver pair for the counting. Perhaps two sets spaced before and after if I want to get fancy and maintain a running count.
-
Strain gauge measure of the weight of the feeder -not yet seeing sensors that might do that.
To support this set of goals I imagine the following:
Uno, ethernet 2 shield, H-bridge motor board or arduino motor shield, Grove temp sensor, Grove water sensor (would that work sitting in water and read out when the level falls below a mark?), Grove IR emitter / receivers.
Motor: 12v pwm small but not yet spec'd. Locking pin solenoid: could be a small servo / stepper
Questions:
- Does this list of requirements look well matched to the parts I was considering?
- By the time I buy and uno and the ethernet shield I might not be better off with a pi?
- Would it be better to use smaller boards, possibly something like the adafruit ethernet wing?
- Should I use the uno just as a prototyper on the way to smaller boards?

