Accelerometer with ESP-IDF using I2C
Accelerometer with ESP-IDF using I2C
I need to interface my LSM6DS33 with ESP32 Devkit V1 in ESP-IDF(not in Arduino IDE) for getting accelerometer values, using "I2C". Please help me with the code.
Re: Accelerometer with ESP-IDF using I2C
Could not find any code for LSM6DS33. But here is a ESP-IDF driver for LIS3MDL https://github.com/gschorcht/lis3mdl-esp-idf
This may help to some extent. However, if you consider using a simpler 3-axis accelerometer, you can try ADXL335
https://www.pcbway.com/project/sharepro ... eca92.html
This may help to some extent. However, if you consider using a simpler 3-axis accelerometer, you can try ADXL335
https://www.pcbway.com/project/sharepro ... eca92.html
Re: Accelerometer with ESP-IDF using I2C
Have you looked at the ESP-IDF I2C example programs, and checked the documentation for your specific device for I2C address and commands, etc? It's not clear what specific kind of help you're looking for.