Coder Social home page Coder Social logo

garage_sensors_rp2040's Introduction

Garage Sensors using Adafruit Feather RP2040

RP2040 based system for multiple sensors, relayed back to house using LoRa

This project started as a way to collect outdoor temp/humidity data. The best spot for sensors was on the North side of my detached garage to avoid direct sun but then I had to solve getting the data back to my house and powering the project.

To get the data back to my house I went with a LoRa radio transmitter for reliability as WiFi in the garage is weak enough to drop sporadically but I am hoping to run ethernet to the garage at some point and would switch to hardwired ethernet connection.

The garage had power but it was isolated to the South wall, I fixed this by running conduit up and over the door (from the existing wall mounted box for the lights/outlet) and placing new outlet boxes evenly on the East wall. Ultimately I decided to place the sensor box directly behind the door as the space was otherwise wasted.

I chose to run ethernet data/power wire for the outdoor sensors using an Adafruit I2C extender/active terminator. The outdoor sensors include a temp/humidity sensor as well as an air quality sensor.

Once the initial system was setup I added an additional temp/humidity sensor in the garage because...why not? I chose to use a different sensor (SHT40) to avoid I2C address conflicts with the outdoor sensors. In addition to the garage temp sensor I wired in a magnetic contact sensor next to the frame of the garage door allowing me to get notifications on my phone as to the current state of the door without needing to get a whole new smart garage door opener.

The above general setup was left in a generic hobby box sitting on a shelf for 6 months before I decided to rebuild the entire project around a 3D printed enclosure specifically for this project. The images in this repo show both the 3D modeled enclosure as well as the final project mounted securely to the wall.

After creating the enclosure I decided to 3D print a rain gauge. The rain gauge is largely based on this design by DusanJ but I again used a magnetic contact switch as a robust/waterproof solution. To accomodate the rain gauge I simply drilled two holes in the side of my enclosure and added panel mount banana jacks which make the entire setup easy to take down for the winter.

The last thing that I added was an indication LED on the side of the garage. There were existing holes in the cinderblock (not sure what for) that perfectly fit an LED so I wired one inline with a resistor and pushed it 3/4 of the way through. It is protected from the elements being recessed and makes a nice indication of if the garage door is open or not with a quick glance from the house.

All of the sensor data that is sent to the house is collected by a Raspberry Pi system that is running a small python application that pushes the data to a Home Assistant instance to save to a DB or trigger automations.

garage_sensors_rp2040's People

Contributors

russellafisher avatar

Stargazers

 avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.