Datasheet
The sensors
We'll use two basic sensors to log data, a CdS photocell to track light (http://adafru.it/161)
(this will tell us when the door has been opened) and a semiconductor temperature sensor
to log the ambient fridge temperature. (http://adafru.it/165)
We have two great tutorials for these sensors on our site, if you haven't used them before
or need some refreshment, please read them now!
Photocell tutorial
http://adafru.it/reg
TMP36 tutorial
http://adafru.it/reh
We will wire the sensors as shown in the diagram below.
Note that we connect ARef, the power pin of the temp sensor, and the light sensor to 3.3V
© Adafruit Industries https://learn.adafruit.com/adafruit-data-logger-shield Page 52 of 85