Hardware Reference
In-Depth Information
Prepare for lift off
In order to build this interacive pet feeder, we need the following items:
F A pet feeder. (Available from home improvement stores, for example, Home Depo t,
Lowes, and so on).
F The PIR sensor ( http://www.adafruit.com/product/189 ).
F Spark Core or any Wi- Fi enabled board.
F A USB batery pack ( http://www.adafruit.c om/products/1959 ).
F A small breadboa rd ( http://www.adafruit.com/products/64 ).
F Raspberry Pi with a Twisted framework installed.
F A Raspberry Pi camera module with a lens atachment. For example,
http://store.cutedigi.com/raspberry-pi-camera-module-5mp-wide-
angle-160-degree/ .
Engage thrusters
1. The irst step involved in programming Spark Core is to detect the moion sensor
events and publish those results to Raspberry Pi.
2.
The sensor needs to be connected to SparkCore mounted on the breadboard as
shown in the following figure:
A motion sensor connected to Spark Core
 
Search WWH ::




Custom Search