sagacious-solutions / planet-snake-hardwareAPI

This is an eco-system controller combined with an Express API to maintain and monitor environmental conditions in a Snake Terrarium.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Planet Snake Research Vivarium

At Project Completion

After one year

Description

This is project is a Raspberry Pi controlled eco system. It monitors the temperatures inside the Vivarium creating a temperature gradient throughout. This helps to provide Sunny a warm place to hide, a cool place to hide as well as a basking spot that will roast like the sun.

Sunny is our intrepid but stealthy snake. She goes up, she goes down, she goes all around. Sunny loves the sun! Thats why Planet Snake also features lighting control. Thats right, during the day she gets healthy dose of UVB as well as extra LED lights targeted towards plant growth and health. During the evening it has a nice healthy blue glow for moon light.

Hardware

This project runs on a Raspberry Pi Zero W. Its effective for the project, but hasn't had to run any databasing, data serving or UI elements yet. Board choice will be reevaluated as project needs change.

This enclosure utilizes 2 sets of 4 mechnical opto-isolated relays. One for the lights and one for heating.

Display

Currently information about the state of the vivarium is displayed via an i2c 20x4 row LCD. Ideally this will be removed entirely, or supplemental to a React JS front end. This will also visualize data over time with grafana via data from the database.

Heating

Currently utilizing 3 of an available 6 connected relays recycled from a previous project. Final build will we be updated to solid state relays to reduce noise and increase reliability. It will also be updated to a sleeker 3D Printed Enclosure.

Humidity

Humidity is tracked via a single SHT-31 i2c sensor. It can be raised by running a sonic mister which also creates a lovely spooky effect.

Software

Currently the enclosure features a web dashboard for control and adjustment. Alexa has also been integrated via get requests from a local hubitat. Ideally this will be refactored into an alexa skill. Currently Alexa is able to make the enclosure spooky by turning on the sonic mister and turning it to night mode. Once refactored into an alexa skill, it will include the ability to switch between day and night, get the currrent enviromental conditions, provide voice reminders for when its time to feed sunny and much more.

About

This is an eco-system controller combined with an Express API to maintain and monitor environmental conditions in a Snake Terrarium.


Languages

Language:JavaScript 97.9%Language:Shell 2.1%