Fl4m3Ph03n1x

Fl4m3Ph03n1x

How to build a stall monitor?

Hold on, don’t roll your eyes yet, this is not a troll post!

Background

After watching Building a Smart Sprinkler Controller with Nerves - Todd Resudek I was rather fascinated.

One of the many things I found interesting was the stall monitor. Yes, you got it right. Now Todd jokes that it was a solution to a real life problem (nature calls, people have to go so on so on) but I feel that in my company we have a similar problem - too many people and only 1 bathroom.

So I would like to learn more on how to build such a device. It would have to use a small battery and be inexpensive (I guess such devices are not that expensive right?) and I would have something cool to show for it.

Having in mind I never really worked with hardware, where would I start? Where could I get help?

Most Liked

al2o3cr

al2o3cr

The Arduino community has produced a lot of beginner-oriented documentation; an example Google turned up is this from Adafruit:

There’s also this, which presents one possible solution to your monitoring conundrum:
https://thoughtbot.com/blog/arduino-bathroom-occupancy-detector

Where Next?

Popular in Questions Top

RisingFromAshes
I’ve read in another post that it may be possible with a router helper - but I couldn’t find an appropriate one, and tbh, I’m still just ...
New
minhajuddin
I have seen a lot of code which picks the first element from a list using Enum.at(0) instead of List.first. Is there a reason why people ...
New
Brian
What is the proper way to load a module from a file in to IEX? In the python world, doing something like this pretty standard: from ....
New
gshaw
What is the idiomatic way of matching for not nil in Elixir? E.g., First way: defp halt_if_not_signed_in(conn, signed_in_account) when...
New
belgoros
I’m not a pro in using Regex and can’t figure out why the following behaviour happens, especially if we take into account the difference ...
New
stefanluptak
Hello everybody, usually, I use a 29" ultra-wide monitor for VSCode which can easily accomodate explorer (files panel) + file with code ...
New
freewebwithme
Using vs code and installed ElixirLS: support and debugger. And I got an error popped up on start up says Failed to run ‘elixir’ comma...
New

Other popular topics Top

minhajuddin
I have seen a lot of code which picks the first element from a list using Enum.at(0) instead of List.first. Is there a reason why people ...
New
grych
Hi folks, Few months ago I have announced the proof-of-concept of the library to manipulate the browsers DOM objects directly from Elixi...
639 54006 488
New
joaquinalcerro
Hi there, I am working with Ecto-Postgresql and I need to call all of the records from a specific table but the table has 40,000 records...
New
hariharasudhan94
I would like to know what is the best IDE for elixir development?
New
gshaw
What is the idiomatic way of matching for not nil in Elixir? E.g., First way: defp halt_if_not_signed_in(conn, signed_in_account) when...
New
alice
Hey, Just curious what are the main benefits of Elixir compared to Clojure? When is Elixir more useful than Clojure and vice versa? Th...
New

We're in Beta

About us Mission Statement