https://github.com/martijn/washer_dryer
Monitor your washer/dryer cycle using Elixir and Nerves
https://github.com/martijn/washer_dryer
gpio nerves raspberry-pi
Last synced: 18 days ago
JSON representation
Monitor your washer/dryer cycle using Elixir and Nerves
- Host: GitHub
- URL: https://github.com/martijn/washer_dryer
- Owner: martijn
- License: unlicense
- Created: 2017-01-07T16:37:31.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2017-01-14T19:18:27.000Z (over 9 years ago)
- Last Synced: 2025-08-18T10:30:09.045Z (10 months ago)
- Topics: gpio, nerves, raspberry-pi
- Language: Elixir
- Size: 23.4 KB
- Stars: 4
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# WasherDryer
This project aims to notify me when my washer or dryer finished it's cycle. The
hardware contraption that goes with it is looks as follows:

Basically it's two circuits of 200K LDRs and 1uF capacitors. We discharge the
capacitor by pulling the GPIO pin low, then wait for it to charge again. The
faster the GPIO pin rises, the more light is sensed by the LDR.
This project is built with [Nerves](http://nerves-project.org), a
platform/framework/toolchain that leverages [Elixir](http://elixir-lang.org)
for embedded applications. It targets the Raspberry Pi Zero and notifications
are sent using [Pushover](https://pushover.net).
To compile the application:
* Install dependencies with `mix deps.get`
* Create firmware with `mix firmware`
* Burn to an SD card with `mix firmware.burn`