Hello,
I have a dust sensor from Honeywell [https://sensing.honeywell.com/honeywell ... 0-e-en.pdf][ and which is connected to Vin(5v) of esp32 dev board. The problem I am facing is sensor throwing different values when I change USB cable which I use to power on esp32. Different cable is giving me different values but sensor works fine when I use it with Arduini uno.
I also use esp32 WIFI and BLE which are switched on all the time.
Can someone please explain to me what am I missing here?
Dust sensor throwing different values on change of usb cable
Re: Dust sensor throwing different values on change of usb cable
According to datasheet this sensor requires only 80mA, it is not much. But using ble + wifi, especially during initialization, is using more. Usually its causing brownout. Could you try to test it without wifi and ble?
Re: Dust sensor throwing different values on change of usb cable
I tried without wifi and BLE on but the same issue. Brownout issue is another issue I am facing but not that frequent but when that happens device goes to a reboot loop.
-
- Posts: 9725
- Joined: Thu Nov 26, 2015 4:08 am
Re: Dust sensor throwing different values on change of usb cable
The fact that you have brownouts indicates that you have a power supply setup that has voltage sag when some current is drawn, possibly because of thin USB cables. This may also affect the output of your dust sensor. Can you try to see if supplying external voltage to the board, e.g. by using a lab power supply, solves this issue?
Re: Dust sensor throwing different values on change of usb cable
I think you can connect a oscilloscope to check the voltage of the 5V pin.
When RF circuit is working, it might take more current.
When RF circuit is working, it might take more current.
Re: Dust sensor throwing different values on change of usb cable
I don't have a lab power supply at home but I tried few android mobile chargers. I have the android chargers(all are 2A) from XIOMI, LENOVO, SONY and I get a perfect reading with SONY charger and weird reading from the other two.ESP_Sprite wrote:The fact that you have brownouts indicates that you have a power supply setup that has voltage sag when some current is drawn, possibly because of thin USB cables. This may also affect the output of your dust sensor. Can you try to see if supplying external voltage to the board, e.g. by using a lab power supply, solves this issue?
Re: Dust sensor throwing different values on change of usb cable
I checked in my multimeter and in all cables it hovers between 4.6V and 4.7Vcostaud wrote:I think you can connect a oscilloscope to check the voltage of the 5V pin.
When RF circuit is working, it might take more current.
Who is online
Users browsing this forum: No registered users and 102 guests