Comments (29)
The connections seem correct. Maybe the issue is the sensor. First of all, is it a VL53L1X sensor? If so, in general there is some sort of cover on the sensor. Try removing that.
If then it still doesn't work, try connecting it to a 5v pin
from peoplecounter.
The connections seem correct. Maybe the issue is the sensor. First of all, is it a VL53L1X sensor? If so, in general there is some sort of cover on the sensor. Try removing that.
If then it still doesn't work, try connecting it to a 5v pin
1)Yes...is VL53L1X-V2
1)Soft cover removed
2)Tried use 5v pin...not working
Do u mind show your sensor?
from peoplecounter.
Then I really don't know which is the problem.
Maybe the sensor is defective
from peoplecounter.
Then I really don't know which is the problem.
Maybe the sensor is defective
but i have tried few sensor also same...izzit u sensor same with me?if working izzit serial monitor result 0 will change 1 then 2?
from peoplecounter.
Currently I'm using a sensor from Pololu, which is not the one you're using.
When working, in the signal monitor you should read the distance measured by the sensor (in your case, unfortunately, always equal to 0)
from peoplecounter.
Currently I'm using a sensor from Pololu, which is not the one you're using.
When working, in the signal monitor you should read the distance measured by the sensor (in your case, unfortunately, always equal to 0)
Do u mind screen shot your serial monitor?
from peoplecounter.
Currently I'm using a sensor from Pololu, which is not the one you're using.
When working, in the signal monitor you should read the distance measured by the sensor (in your case, unfortunately, always equal to 0)
After soldering sensors working.TQ
i use manual_calibration can count people, when using autocalibration no working...may i noe using autocalibration what mqtt topic should i write?
from peoplecounter.
If you are using the code in the file called people_counter_esp32.ino
or the one in people_counter_esp8266.ino
, you have to subscribe to the topic people_counter/NAME_OF_THE_ROOM/counter
, while if you want to read the distance you have to subscribe to the topic people_counter/NAME_OF_THE_ROOM/distance
.
To specify the name of the room, you have to change the code in the line indicated in the file
from peoplecounter.
successfully flashed but not connecting to wifi and no serial logging in arduino IDE? I do get some on ither serial monitor
Using 'COM16' as serial port.
Showing logs:
[19:39:12]ets Jun 8 2016 00:22:57
[19:39:12]
[19:39:12]rst:0x1 (POWERON_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)
[19:39:12]configsip: 0, SPIWP:0xee
[19:39:12]clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
[19:39:12]mode:DIO, clock div:1
[19:39:12]load:0x3fff0018,len:4
[19:39:12]load:0x3fff001c,len:1216
[19:39:12]ho 0 tail 12 room 4
[19:39:12]load:0x40078000,len:10944
[19:39:12]load:0x40080400,len:6388
[19:39:12]entry 0x400806b4
[19:39:12]E (58) psram: PSRAM ID read error: 0xffffffff
[19:39:12][19:39:12]
[19:39:12]rst:0xc (SW_CPU_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)
[19:39:12]configsip: 0, SPIWP:0xee
[19:39:12]clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
[19:39:12]mode:DIO, clock div:1
[19:39:12]load:0x3fff0018,len:4
[19:39:12]load:0x3fff001c,len:1216
[19:39:12]ho 0 tail 12 room 4
[19:39:12]load:0x40078000,len:10944
[19:39:12]load:0x40080400,len:6388
[19:39:12]entry 0x400806b4
[19:39:12]E (59) psram: PSRAM ID read error: 0xffffffff
from peoplecounter.
successfully flashed but not connecting to wifi and no serial logging in arduino IDE? I do get some on ither serial monitor
Using 'COM16' as serial port. Showing logs: [19:39:12]ets Jun 8 2016 00:22:57 [19:39:12] [19:39:12]rst:0x1 (POWERON_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT) [19:39:12]configsip: 0, SPIWP:0xee [19:39:12]clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00 [19:39:12]mode:DIO, clock div:1 [19:39:12]load:0x3fff0018,len:4 [19:39:12]load:0x3fff001c,len:1216 [19:39:12]ho 0 tail 12 room 4 [19:39:12]load:0x40078000,len:10944 [19:39:12]load:0x40080400,len:6388 [19:39:12]entry 0x400806b4 [19:39:12]E (58) psram: PSRAM ID read error: 0xffffffff [19:39:12][19:39:12] [19:39:12]rst:0xc (SW_CPU_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT) [19:39:12]configsip: 0, SPIWP:0xee [19:39:12]clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00 [19:39:12]mode:DIO, clock div:1 [19:39:12]load:0x3fff0018,len:4 [19:39:12]load:0x3fff001c,len:1216 [19:39:12]ho 0 tail 12 room 4 [19:39:12]load:0x40078000,len:10944 [19:39:12]load:0x40080400,len:6388 [19:39:12]entry 0x400806b4 [19:39:12]E (59) psram: PSRAM ID read error: 0xffffffff
Maybe u can check few things
1)void setup_wifi()
{
WiFi.begin(ssid, password);
while (WiFi.status() != WL_CONNECTED)
{
delay(5000);
Serial.print(".");
WiFi.begin(ssid, password);
}
}
Delay from 500 change to 5000
from peoplecounter.
Serial monitor was 9600 👍 but I can not get any output?
I changed the 500 to 5000 and it comes alive now... will proceed further with homeassitsant integration etc.
thanks!!
from peoplecounter.
Make sure to fill in correct information.
from peoplecounter.
Yes, that is correct because I am getting mqtt information:
Oh... for my sensor orientation? Do you happen to know like below:
https://github.com/Andrea-Fox/peopleCounter/blob/master/autocalibration/sensor_orientation.png
I have a VL53L1X
from peoplecounter.
Yes, that is correct because I am getting mqtt information:
Oh... for my sensor orientation? Do you happen to know like below:
https://github.com/Andrea-Fox/peopleCounter/blob/master/autocalibration/sensor_orientation.pngI have a VL53L1X
no...I use the manual calibration counting people is working...if using auto calibration no working, no matter what i change MQTT topic also same.
from peoplecounter.
for an ESP32 what would I have to use?
https://github.com/Andrea-Fox/peopleCounter/tree/master/manual_calibration
from peoplecounter.
peopleCounter.ino
from peoplecounter.
Hm... that looks complicated for now. i want to try with auto first. I do not see any change on the mqtt tpoic people_counter/tof_people/counter... I do see continuous change on the people_counter/tof_people_ard/distance topic... any tips/suggestion?
from peoplecounter.
Manual Calibration Setting
1)double-check u serial monitor working anot...if same with my screenshot mean working.then u can next step
2)Go Homeassistant-Congfiguration-Helpers-Add Helper
3)Go Homeassistant-Files Editor-automations.yaml-add below these script
from peoplecounter.
but no people are counting yet:
from peoplecounter.
u using manual calibration or auto calibration?
Follow this Topic
topic: "peopleCounter/serialdata/tx"
from peoplecounter.
Auto
from peoplecounter.
Auto
u try using manual...because auto calibration also no working for me.
from peoplecounter.
Sorry but I have read that and I do not know how to start with that manual calibrarion
from peoplecounter.
Sorry but I have read that and I do not know how to start with that manual calibrarion
just flash the manual calibration files...then follow my step.
from peoplecounter.
I flashed https://github.com/Andrea-Fox/peopleCounter/blob/master/manual_calibration/peopleCounter.ino and entered my data but it wont connect to wifi and I see no serial logging...
And not sure what is meant with this:
from peoplecounter.
u forgot change wifi delay?
void setup_wifi()
{
WiFi.begin(ssid, password);
while (WiFi.status() != WL_CONNECTED)
{
delay(5000);
Serial.print(".");
WiFi.begin(ssid, password);
}
}
Delay from 500 change to 5000
from peoplecounter.
Don't know how that happened... I did thought I checked it, but probably not well enough.. I get now:
from peoplecounter.
Hi, what you are seeing in your last message is the correct behavior. The topic in peopleCounter/serialdata
is updated only whenever a passage is detected.
A passage is detected whenever the array of 4 numbers (the one which is in general 0000) is either 0132 or 0231
from peoplecounter.
Let me conclude my topic...just my soldering problem. TQ
from peoplecounter.
Related Issues (18)
- Count People at two entrance HOT 7
- Automation Example with Choose HOT 1
- Code question advised_oriantation_of_the_sensor HOT 1
- Possible enhancement with 4 ROIs HOT 7
- ESPHome compatible sketch? HOT 6
- Possible to use ESP8266 ? HOT 2
- ESP32 & VL53L3CX HOT 3
- counter = 1, but never 2 HOT 2
- install for esp8266
- Feature request: Use a single MQTT publisher topic and ArduinoJson.h HOT 1
- Using without MQTT
- Wifi connection issues HOT 13
- People in the room now: 111227 HOT 3
- Configure MQTT for HomeAssistant HOT 1
- Updated ST algorithm V2 HOT 3
- Esphome integration HOT 3
- High power consumption -> not possible to run via battery HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from peoplecounter.