Roberto Marquez has set-up a Raspberry Pi to take pictures of his lizard. The Pi listens for a GPIO pin to change state, triggered by a capacitive touch sensor. All his Java code is available on GitHub.
You can see a video about the project, and lots of lizard footage, below: