Difference between revisions of "Mouse Cage Imaging"

From Wiki
Jump to navigation Jump to search
Line 13: Line 13:
  
 
== Real Time Clock Setup ==
 
== Real Time Clock Setup ==
 +
 
 +
  echo "dtoverlay=i2c-rtc,ds3231" >>/boot/config.txt
 +
 +
edit the /lib/udev/hwclock-set file (sudo nano /lib/udev/hwclock-set) and "comment out" the following lines"
 +
 +
  if [ -e /run/systemd/system ] ; then
 +
  exit 0
 +
  fi
 +
 +
so they become:
 +
 +
  #if [ -e /run/systemd/system ] ; then
 +
  # exit 0
 +
  #fi
 +
 +
 +
Update the HW Clock from system time, assuming the Raspberry PI had is network connected.
 +
 +
  sudo hwclock -w
 +
 +
reboot and then run:
 +
 +
  sudo hwclock -r
  
 
== Infrared Camera Setup ==
 
== Infrared Camera Setup ==

Revision as of 19:38, 5 February 2019

This is a mouse imaging system designed to take timelapse photos every 10 minutes, even overnight in complete darkness. It uses 3D parts to mount a Raspberry Pi, and an Infrared Camera to a mouse cage.

Parts:

Real Time Clock Setup

 echo "dtoverlay=i2c-rtc,ds3231" >>/boot/config.txt

edit the /lib/udev/hwclock-set file (sudo nano /lib/udev/hwclock-set) and "comment out" the following lines"

 if [ -e /run/systemd/system ] ; then
 exit 0
 fi

so they become:

 #if [ -e /run/systemd/system ] ; then
 # exit 0
 #fi


Update the HW Clock from system time, assuming the Raspberry PI had is network connected.

 sudo hwclock -w 

reboot and then run:

 sudo hwclock -r

Infrared Camera Setup

Timelapse Scripts

3D Printed Parts