RooDe - A "reliable" PeopleCounter
-
@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-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.
@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

-
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! -
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.1and nothing more.
What is wrong? -
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 -
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?
-
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?
-
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?
-
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

This is the first iteration of enclosure without the OLED panel

The new design preview with the VL53L0X-Sensors

@Kai-Bepperling is this product for sale ?
- Configurable Setup
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