M5Stack and HC-SR04
-
Hi, I would like to port my project with esp8266 and hc-sr04 to M5Stack.
I'm in the arduino envirement.- which HC-SR04 have I to chose ? 3v3(HC-SR04+) o 5v version?
- can I use the NewPingESP8266.h library?
best regards
-
@cepics
Do you want M5Core and esp8266 are linked together? And at the meanwhile, M5Core and hc-sr04 are linked together?In addition, choose 5V version of hc-sr04 will be convenient for you, because all GROVE ports on M5Core consists of GPIOx, GPIOx, GND, and 5V.
-
@watson said in M5Stack and HC-SR04:
@cepics
Do you want M5Core and esp8266 are linked together? And at the meanwhile, M5Core and hc-sr04 are linked together?sorry I don't understood ... I have an old project with esp8266 and HC-SR04 and now I would like to use M5Stack instead of esp8266, to display distance locally and send distance value through esp-now to M5Stick
@watson said in M5Stack and HC-SR04:
@cepics
In addition, choose 5V version of hc-sr04 will be convenient for you, because all GROVE ports on M5Core consists of GPIOx, GPIOx, GND, and 5V.this means that GPIOx pins of GROVE connector in M5Core(M5Stack and M5Stick), are 5V tollerant?
thanks a lot
-
@cepics
Yes, tollerant
-
@cepics said in M5Stack and HC-SR04:
HC-SR04
Perhaps this might be useful https://www.instructables.com/id/Pocket-Size-Ultrasonic-Measuring-Tool-With-ESP32/
-
thanks a lot !!!