TransWikia.com

Wemos D1 mini and JSN-SR04T-2.0: Type of power supply affects the sensor readings

Arduino Asked on September 25, 2021

Pretty similar to what is described here I have the strange problem that my sensor readings are affected by the type of power supply I use.

Whenever I connect my D1 mini through USB with laptop everything works fine. The readings make sense and are quite accurate.
But as soon as I disconnect it from the laptop and use a USB power supply (I tested different ones) the readings do not make sense anymore.

I also tried to apply the sketch to a NodeMCU board. The results are the same. So I assume it has something to do with either the sensor or the ESP 12E.

Any suggestions?

One Answer

Try a different supply or computer, it sounds like that one has a lot of ripple and or noise on it. Not all USB power supplies are clean and some do not have much filtering.

Answered by Gil on September 25, 2021

Add your own answers!

Ask a Question

Get help from others!

© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP