Skip to content

A monitor system for laboratory hardware, including ridges, freezers, and incubators

Notifications You must be signed in to change notification settings

dunnlab/lullaby

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

34 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

lulLABy

The lab monitoring platform that lets you rest easy.

This project is a work in progress, and is probably broken

Custom lab equipment monitor from the Dunn Lab.

This project is built around Particle Photon boards that have the following three tools for viewing the world:

  • D0 is connected to a digital temperature probe. The probe is wired as follows: Red=3.3V from Photon, Black=Gnd, White= D0 with a 4.7K pullup resistor to 3.3V.

  • D1 and D2 are hardwired to the alarm relay on the equipment. The relay common is connected to ground, the normally closed contact is connected to D1, and the normally open contact is connected to D2.

  • TX and RX are connected to a RS232 converter board to monitor the status of instruments that have serial output (like -80C freezers). VCC on the converter board is wired to 3.3V from the Photon.

The intent is for each piece of equipment to have one photon, and for the code on all the photons to be the same. Each of the three sensors above is optional, and the monitor will function fine when only a subset of devices are attached.

Getting set up

Particle monitor boards

Getting the photon MAC address

Some institutions require that you register the MAC address of any headless device that you connect to the wireless network. To get the MAC address of a new Photon using an apple computer:

At Yale, you would then register the MAC address at https://regvm2.its.yale.edu, wait a few minutes for it to propagate, and then configure the Photon to connect to the yale wireless SSID.

Server

The server is run in a docker container, which can be run locally or on a cloud service like an Amazon EC2 instance.

Build the docker file in the docker/ directory of this repository as described in my Docker cheat sheet.

Then run it is follows:

docker run -d \
  -e PARTICLE_ACCESS_TOKEN='access_token' \
  -e SLACK_WEBHOOK_URL='slack_webhook_url' \
  image

Where:

  • access_token is the particle access token, available from the particle console

  • slack_webhook_url is the webhook url from the slack integration

  • image is the id of the image you build

Running the monitor

References

This project draws on a variety of others, including:

About

A monitor system for laboratory hardware, including ridges, freezers, and incubators

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published