@felmue Hi, thanks for the reply. I'll look into it :D
Posts made by ameero95
RE: Using the GROVE Port to run I2C sensors using ESP-IDF doesnt work.
Using the GROVE Port to run I2C sensors using ESP-IDF doesnt work.
Hello, I'm using the I2C driver library from ESP-IDF to communicate with some sensors connected to the GROVE port and I have this problem where the sensors are just not responding to any I2C writes and reads from the microcontroller (NO ACKs). The weird thing is, when I used the premade libraries from Adafruit (using Wire), it works just fine and managed to find the sensors on the GROVE port.
One thing I noticed, is that when I use the Adafruit libraries, the power LED on the sensor module lights up meaning the sensor is receiving power from the GROVE port. When I use the I2C drivers from ESP-IDF however, the LED on the module doesnt light up.
What I found to be crazy weird is that, when I flash the M5 with the Arduino code first, the M5 could then find the sensor when I flash the ESP32 with the code using the I2C driver from ESP-IDF. This however only works when I directly flash the IDF code after I flashed the Arduino code on the M5. The LED on the sensor is still turned on for some reason with the new code flashed on the M5.
When I turn the M5 off (press side button) and turn it on again, the M5 would then be unable to find the sensor and the LED of the sensor module doesnt light up.
This is what I found out while tinkering around between IDF and Arduino with the M5StickC Plus. It would be nice if any engineers from M5Stack can help me figure out why the M5StickC Plus is behaving like this.
Thanks for the help,
M5StickC Plus cant drive an Adafruit sensor module (3.3V) through the Grove port using the Grove to STEMMA QT adapter.
Hi everyone, I cant seem to drive the STEMMA QT sensor modules that I have using the Grove to Stemma QT cable adapter sold by M5Stack through the Grove port of the M5StickC Plus board. Funnily enough, the M5StickC Plus's Grove port is able to drive an Ultrasonic sensor from M5Stack that needs 5V to run it. I would appreciate any kind of help cause I'm out of ideas already. Thank you in advance.