-
Notifications
You must be signed in to change notification settings - Fork 21
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Need help: No sensors for BRESSER_5_IN_1 #56
Comments
Hi, did you have a look at the schematics at https://resource.heltec.cn/download/WiFi_LoRa_32/V2? Please also see here: Regards |
Thanks for your time, Matthias Well I am not that into hardware. I coupled the GND and Vext, but doesn't help. I used your project since the beginning and it worked fine before. But there is much refectoring. If I start debug mode, I get some sensor data (the 1234567 sensor). So it can read some of the sensors? So it worked before. Can I see which sensors are present, so I can white list them or something? |
Hi, I'm not sure if I understand the situation correctly.
This sets GPIO21 (aka VEXT_EN) low, which should in turn switch on VEXT (to 3.3V).
What do you mean by this? You mean the changes I made?
Ah, I think I understand the problem! If you enable For all other debug information, please see here:
If both To test which sensors are available, you could also switch to BresserWeatherSensorBasic.ino temporarily. This is much simpler and prints sensor data as soon as they are received without trying to collect different parts. If there are unknown sensors within range, this might help to find and eventually blacklist them. Hope this helps a bit! Cheers |
BTW: Which board did you select in the Arduino IDE for the Heltec lora v2 esp32? |
Well the board is called Heltec Wifi Lora 32(v2), so that seems right. The logging is on verbose.
I did try your version of this repo around Aug 2022. I think I used the debug mode (I cannot recall so maybe I didn't in the end). However it did show the right sensordata. The temperature was right. You refactored a bit and that is fine. Its more dynamic and cleaner now. I cannot believe it. But within the hours that I changed the code. The battery died.... It is working now, even without the gio21 pin. Thank you so much for your time anyways, I am very happy with the code |
I've made a new release v0.9.0 with pin definitions for Heltec WiFi LoRa 32 V2. I'd be happy if you could test this. Only Regarding the Vext topic: I just had a brief look at the PE4295 RF switch datasheet. I'm pretty sure that power must be provided at Vext. Probably the Arduino board support package already takes care of it. It would be great if you could measure the voltages at GPIO21 and Vext to confirm this. (Be careful not to make a short circuit with your meter's probes! Don't don't try to do this if you're not confident.) Thank you very much in advance, |
Ofcourse and it is working smooth. Thanks so much! |
Thank you! GPIO21 is connected to JP3 pin 18. There are two ways to control the RF switch: Complementary-pin control mode allows the So it would make sense if Vext were low and CTRL high. BTW: Are you using an external antenna for 868 MHz? |
With my Heltec lora v2 esp32, I dont have any sensors.
I am running the MQTTcustom example
I added:
SENSOR_IDS_EXC
&SENSOR_IDS_INC
are both emptyI dont know how I can de bug any further. The serial montior outputs only the loop. No sensor.loop
The text was updated successfully, but these errors were encountered: