Lavatory Signal


How it works

Sometime It is very convinience that one toilet is occupied or not.
There is a human detect sensor like EKMC1601111.
We create html that showing lavatory signal (like in airplane ) by collaborating with this sensor.


  1. obniz – 1
  2. EKMC1601111 – 1
  3. battery or usb adaptor & cable – 1

Step 1

connect EKMC1601111 to an obniz.

Now we connect like
io0: GND,
io1: Signal,
io2: VDD

Step 2

put this on toilet.


<!DOCTYPE html>
  <meta charset="utf-8">
  <meta name="viewport" content="width=device-width, initial-scale=1">

  <link rel="stylesheet" href="" integrity="sha384-Gn5384xqQ1aoWXA+058RXPxPg6fy4IWvTNh0E263XmFcJlSAwiGgFAW/dAiS6JXm" crossorigin="anonymous">
  <script  src="" integrity="sha256-hwg4gsxgFZhOsEEamdOYGBf13FyQuiTwlAQgxVSNgt4="  crossorigin="anonymous"></script>
  <script src="" integrity="sha384-vFJXuSJphROIrBnz7yo7oB41mKfc8JzQZiCq4NCceLEaO4IHwicKwpJf9c9IpFgh" crossorigin="anonymous"></script>
  <script src="" integrity="sha384-JZR6Spejh4U02d8jOt6vLEHfe/JQGiRRSQQxSfFWpi1MquVdAyjUar5+76PVCmYl" crossorigin="anonymous"></script>

  <script src=""></script>

<div id="obniz-debug"></div>
<div class="text-center">
  <h1> Lavatory Signal </h1>

<div id="a"><img src="" id="image" width="100%"></div>
<h1 id="print"></h1>
<div id="sens1"></div>


var sensorAdd = 0;

/* This will be over written on webapp page */
var obniz = new Obniz("OBNIZ_ID_HERE");
obniz.onconnect = async function () {

  var sensor = obniz.wired("PaPIRsVZ", {gnd:0, signal:1, vcc:2});
  sensor.onchange = function(val){
    if (val) {
      sensorAdd += 1;

  function update() {
    if (sensorAdd == 0) {
      $("#image").attr("src", "");
    } else if (sensorAdd != 0) {
      $("#image").attr("src", "");
    sensorAdd = 0;
  setInterval(update, 2000) 

You will Get in Few Days

Circuit for Starter “obniz Board” is available on Amazon and other online stores.
You can get it at below

Our products and resellers


Visit our developer’s forum to discuss and discover technologies.



Feel free to contact out support and technical team.

Contact us