nicolasdb / M5Stamp-C3U

This is an example PlatformIO project for M5Stamp C3
The Unlicense
1 stars 1 forks source link

ESP32C3 + ADXL345, not responding, nothing on serial monitor #4

Open nicolasdb opened 2 years ago

nicolasdb commented 2 years ago

ADXL345 from keyestudio.

The code from the wiki work fine on Arduino UNO, but not with the M5Stamp. So the sensor is working.

I tried the example from :

Everytimes, I defined the I2C pins with Wire.begin(6,7); and the result was the same. Serial Monitor stay blank, and yes speedrate is set adequately. My guess is a communication problem with I2C pins within library.

nicolasdb commented 2 years ago

Next I would try this library

with this turorial https://wolles-elektronikkiste.de/en/adxl345-the-universal-accelerometer-part-1

nicolasdb commented 2 years ago

https://embetronicx.com/tutorials/rtos/nuttx/nuttx-rtos-i2c-example-using-esp32-adxl345-interfacing/#ADXL345_Sensor