Skip to content
  • MySensors
  • OpenHardware.io
  • Categories
  • Recent
  • Tags
  • Popular
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo
  1. Home
  2. My Project
  3. RooDe - A "reliable" PeopleCounter

RooDe - A "reliable" PeopleCounter

Scheduled Pinned Locked Moved My Project
18 Posts 13 Posters 10.0k Views 12 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • P Offline
    P Offline
    petewill
    Admin
    wrote on last edited by
    #9

    @Kai-Bepperling I have been wanting to make something like this for years. I keep getting sidetracked so I have never completed anything. I am excited to try this method at some point. I have a few rooms where this would work much better than the motion sensors I have now. Thank you for posting this.

    My "How To" home automation video channel: https://www.youtube.com/channel/UCq_Evyh5PQALx4m4CQuxqkA

    Kai BepperlingK 1 Reply Last reply
    1
    • P petewill

      @Kai-Bepperling I have been wanting to make something like this for years. I keep getting sidetracked so I have never completed anything. I am excited to try this method at some point. I have a few rooms where this would work much better than the motion sensors I have now. Thank you for posting this.

      Kai BepperlingK Offline
      Kai BepperlingK Offline
      Kai Bepperling
      wrote on last edited by Kai Bepperling
      #10

      @petewill Very happy to hear that you are interested! If you have any questions feel free to ask.

      I was very productive this weekend and i have some pictures of the new enclosure for you guys. The enclosure is made to use an Arduino Pro Mini (top right), an NRF24L01+ with adapter (top left), OLED Display (top center), PIR, center and two VL53L0X

      2_1543782371321_WallMount.png 1_1543782371321_Inside_with_electronics.png 0_1543782371319_Complete.png

      1 Reply Last reply
      1
      • Kai BepperlingK Offline
        Kai BepperlingK Offline
        Kai Bepperling
        wrote on last edited by
        #11

        Hey guys,

        i have a question for you: Is there a interest in a DIY-kit? I could provide a whole kit with all the sensors, cables and enclosure. But before i am going to to buy stuff and so on, i ask you guys about your opinion to see if there is an interest.

        My idea is to provide a kit with everything a user needs to build a RooDe. That would include the enclosure, sensors (pre soldered), cables in the correct length and screws/nuts.
        I'll add a poll in the main post!

        1 Reply Last reply
        0
        • K Offline
          K Offline
          Kabron
          wrote on last edited by mfalkvidd
          #12

          I'm trying to reproduce the projectr on WEMOS D1 mini Lite with VL53L0/1X excluding oled support. Compiling pass OK, but all I got via serial is

           __  __       ____
          |  \/  |_   _/ ___|  ___ _ __  ___  ___  _ __ ___
          | |\/| | | | \___ \ / _ \ `_ \/ __|/ _ \| `__/ __|
          | |  | | |_| |___| |  __/ | | \__ \  _  | |  \__ \
          |_|  |_|\__, |____/ \___|_| |_|___/\___/|_|  |___/
                 |___/                      2.3.1
          

          and nothing more.
          What is wrong?

          1 Reply Last reply
          0
          • M Offline
            M Offline
            Mathea90
            wrote on last edited by
            #13

            Hello Kai,

            this is such a coincidence! I am developing the same device with the same sensors at home. I am currently writing the software so it is not functional yet. But maybe I can look into what you did.

            What I can offer you: I designed a custom PCB with all the components directly SMD-soldered onto it. It is very compact but due to the form factor of the VL53L0X sensors you definitely need a reflow oven or heatgun to solder it. I could try to find a way to share the PCB layout. Then you can define this task as completed.

            Greetings,
            Martin

            1 Reply Last reply
            0
            • T Offline
              T Offline
              Tyrone
              wrote on last edited by
              #14

              Do two or more people go through accounting?

              1 Reply Last reply
              0
              • Geeky GirlsG Offline
                Geeky GirlsG Offline
                Geeky Girls
                wrote on last edited by
                #15

                Sorry although this is an old thread, is there any continuity on this topic? did a new sensor of a reliable people counter being made?

                Mie MieeM 1 Reply Last reply
                0
                • Geeky GirlsG Geeky Girls

                  Sorry although this is an old thread, is there any continuity on this topic? did a new sensor of a reliable people counter being made?

                  Mie MieeM Offline
                  Mie MieeM Offline
                  Mie Miee
                  wrote on last edited by
                  #16

                  hi, is it possible to skip arduino mini, and replace it with esp8266 or esp32, the purpose is to have dc mqtt transmitted to Home Assistant?

                  1 Reply Last reply
                  0
                  • Jonatan CastroJ Offline
                    Jonatan CastroJ Offline
                    Jonatan Castro
                    wrote on last edited by
                    #17

                    We have been trying one VL53L1X as counter and it works great, except during some moment during the day were the natural light is at certain wavelength. Have you find a workaround for this, or actually the workaround is to use 2 sensors?

                    1 Reply Last reply
                    0
                    • Kai BepperlingK Kai Bepperling

                      My idea is to provide a kit with everything a user needs to build a RooDe. That would include the enclosure, sensors (pre soldered), cables in the correct length and screws/nuts. Pleas vote :)

                      Today is finally the day where i write about my lovely project: RooDe.
                      RooDe is a fairly low price reliable PeopleCounter using the MySensors library for communication. The project started as a university project about 2 years ago. I started with a scientific research about exisiting products, people counting techniques and so forth.
                      The main goal was to built a low price but reliable people counting system for door ways. I tried a lot of diffierent methods and sensors and ended up with a good combination (two SHARP IR sensors). The system is working very well for me and i use it (passive) nearly every day since then.

                      After the university project i continued the development, fixed a lot of bugs, made the system even more reliable, modular and cleaner. At the moment i am switching to fairly new sensors, the VL53L0X which are much better for that prupose due to the non analog interface (which caused a lot of problems...). I refactored the whole project and created a new repository on GitHub: https://github.com/Lyr3x/Roode

                      Features:

                      • Configurable Setup
                        • Different measuring sensors
                        • OLED support (displaying the counter and boot up Info)
                        • PIR for wakeup after sleep
                        • Push-Button support for manual counter change on the hardware itself (not finished yet)
                      • Calibration system for your own environment
                        • Threshold calculation using standard deviation
                        • Recalibration via Domoticz
                        • Update Counter via Domoticz
                      • Domoticz setup to control Roode and automate things
                      • BatteryMode - With a pair of 18650 i used the system for about 3 month.
                        • Battery management can be improved though!
                      • STL files for a 3D printable enclosure (Available via GitHub)

                      Hardware used:

                      • Any Atmel 328P AVR (Arduino Pro Mini 5V is working well)
                      • 2x VL53L0X/VL53L1X
                        • The VL53XXX are using I²C and are much more reliable up to 2m/4m
                      • HC-SR501
                      • 1x NRF24L01+ incl. Power Adapter
                        • Alternative: RFM69 or ESP8266 (ESP8266 for MQTT)
                      • 1x CP2101 Micro USB TTL Adapter and used as power supply
                      • 1x 128x32 OLED Display (Optional)

                      When using ESP8266/ESP32 i recommend the wemos d1 mini boards (available with 8266 and 32) as i build another super small enclosure with a pcb to connect all devices. As the Arduino hardware is super limited the project continues on the ESP platform using MQTT as transmitter

                      I have a lot more ideas and plans how to improve RooDe and hope some guys will test the system and give me some feedback. I would really appreciate some feedback about the code itself. I think there is a lot to improve.
                      Feel free to open issues and contribute to the project!

                      Some of my ideas where i would really appreciate some support:

                      • Developing one PCB with all the stuff integrated to make the whole system much smaller and less messy -> If anyone with experience wants to help me to achieve this i would very appreciate a message.
                      • Developing support for the VL53L1X
                        • These new sensors support programmable ROI position -> Its possible to define two ROI's to count people with one sensor or we can cover 4 ROI's with two sensors to make it possible to count 2 people entering simultaneously. Need to get two sensors to implement this.
                      • OTA update mechanism (Not sure if this is a good idea though)

                      I'll attach some pictures of the development process. Hope you like the idea and implementation Cheers!
                      RooDe latest changelog:
                      You will always find the lates changes on GitHub. Check always the dev branches!

                      Changelog v1.0 - upcoming release

                      • Completely new architecture
                        • easy to extend due to new abstraction layer for both sensors and transmitter types (MySensors, MQTT, Blynk, whatever)
                      • Independent sensor calibration
                      • improved detection algorithm
                      • ESP Platform
                        • Support for MQTT
                        • Multicore support for ESP32 - coming soon
                        • Web Interface for easy configuration and setup - coming soon
                        • OTA update

                      Changelog v0.9.6

                      • added full VL53L0X support
                      • measruing speed improvements
                      • Fixed receiving and sending message issues
                      • Added OLED brightness config option
                      • general bug fixes and improvements

                      Thread Changelog:
                      2.12.18:

                      • Removed the old Circuit plan as it is maybe confusing
                      • Updated Goals
                      • Added a few more pictures

                      Assembled RooDe: https://photos.app.goo.gl/WdYxeUiESCUnJaAfA

                      The first self soldered circuit (was working good) prototype
                      1_1543592637580_Platine_klein_oben.jpg
                      This is the first iteration of enclosure without the OLED panel
                      0_1543592637579_Gehaeuse_montiert.jpg

                      The new design preview with the VL53L0X-Sensors
                      0_1543592812633_be99e35c-d576-41f1-8f38-3001addd06da-image.png

                      Shannon BreauxS Offline
                      Shannon BreauxS Offline
                      Shannon Breaux
                      wrote on last edited by
                      #18

                      @Kai-Bepperling is this product for sale ?

                      1 Reply Last reply
                      0

                      Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                      Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                      With your input, this post could be even better 💗

                      Register Login
                      Reply
                      • Reply as topic
                      Log in to reply
                      • Oldest to Newest
                      • Newest to Oldest
                      • Most Votes


                      8

                      Online

                      12.0k

                      Users

                      11.2k

                      Topics

                      113.4k

                      Posts


                      Copyright 2025 TBD   |   Forum Guidelines   |   Privacy Policy   |   Terms of Service
                      • Login

                      • Don't have an account? Register

                      • Login or register to search.
                      • First post
                        Last post
                      0
                      • MySensors
                      • OpenHardware.io
                      • Categories
                      • Recent
                      • Tags
                      • Popular