The voltage regulator should be fine (while maybe hot) for up to ~500mA. Obviously you can have bad components on your setup.
I mentioned on my pos#11 that Esphome actually reports that data is available (0x1) but then after tells readings unavailable…
Hello,
There are reports of unstable power supply causing exactly what is reported.
If the power to the sensor drops for short time can freeze.
Hello,
You should have a power supply able to deliver 3.3 V and using a breadboard wire everything.
Breadboard
Then it will be something like this:
The power to esp and to sensor will come from external power supply
I was looking at your pics again it seems the vcc pin on the sensor is empty, purple wire goes to GND on sensor and to 3V3 on esp, it is not very clear so I am unsure.
Then it probably depends on 5V switching supply, not 3.3V LDO.
Some capacitor on sensor supply could be helpful.
Yes, I saw the pic. It seems vcc is empty, but it’s not.
I think I don’t have a breadboard with an external supply.
Also I check with a multimeter, vcc to GND. It shows 4,95V
Hello,
Yes it should be someway good.
But it is difficult to say where to put it without a drawing of the sensor board.
The arrangement of ens160 should be more or less what showed in page 33 of the datasheet.
What you want to achieve is a more stable power supply, so from the positive power supply to ens160 sensor on the board to ground.
Hello, the schema of the wiring that I use now it’s the same of the image that you sent above.
VCC to 5V
GND to GND
SDA and SCL to GPIO.
The stranger things is if I try to wire the sensor and the board on a breadboard, on the log I see that ens160 is not connected
Hello,
No the drawing of purple board on which ens160 is mounted.
Ahhh ok, the schema of the sensor board. May I see on the down part of it ?
Did you solder the pin header to the sensor or you bought it pins soldered?
I soldered the pin by my self
Ah!! I’ll check later. When I am at home! I keep this post update! Thanks!
Hello Again.
I checked the joint and tried to adjust bad joint.
I don’t know why but it doesn’t work. Always the same result on the log… I don’t know what I have to try more
Difficult to debug undocumented module, can you even be sure about the correct supply voltage?
Did you try with different power source, usb from computer for example?
Did you check you didn’t desolder the capacitor close to vcc pin while you were soldering?
You could try the sensor in SPI mode.
• the sensor could work in 3V and 5V
• I tried with my computer, so yes…
• I think I didn’t desolder nothing
• SPI mode?
According to who?? Did you control the voltage regulator?
Do inspection with magnifying lens.
spi:
clk_pin: GPIO14 #( to ens SCL)
mosi_pin: GPIO13 #( to ens SDA)
miso_pin: GPIO12 #( to ens ADD)
Ens160 component doc has example for SPI configuration
According to who?? Did you control the voltage regulator?
In the data sheet, I check all the circuit with voltage regulator
Do inspection with magnifying lens.
For sure !
Ens160 component doc has example for SPI configuration
Try this now.