Building the Solution
Assembling the hardware to fit snuggly inside the feeder may require some ingenuity, especially if the bird feeder doesn’t offer much space inside the seed container. Before we start cramming electronics into the feeder, we first need to make sure our components work as expected.
We will start with the easy part of connecting the aluminum foil capacitive sensor to the Arduino and writing a function that will send a message to the serial window (and eventually the serial port of the attached XBee radio) when the sensor is triggered.
Next, we will hook up the photocell to the Arduino and write the code for it to react to changes in light.
Then we will pair the two XBee radios and transmit these events from the XBee ...