esp-drone
esp-drone copied to clipboard
how to make this work on icm 20948
i want to make drone with esp32 and icm 20948. How to change the firmware to make it work with icm 20948
@NBL-NZ - i may be able to help modify the firmware for the 20948. have you already built a version of the schematic using the 20948?
@mvschaefer yes i have built using 20948.
@NBL-NZ - can you share your schematic? specifically, are you using SPI or I2C, and is AD0 tied to GND (I2C address --> 0x68) or VDD (I2C address --> 0x69)?
we are using i2c, pin number 21 and 22 (deault). INT pin used is 23.![Screenshot from 2024-04-12 13-14-35]15335_9DoF_Schematic.pdf icm connected with reference to spark fun schematics . pdf is attached here
then the default address should be 0x69
a good starting point for src code would be to replace the components/drivers/i2c_devices/mpu6050/ folder w/a local/modified version of:
- https://github.com/sparkfun/SparkFun_ICM-20948_ArduinoLibrary (if you are using arduino this could be easy?..) OR
- https://github.com/stephendpmurphy/icm20948
if you are "past this point" already and things arent working, access to src code will likely be required...
then the default address should be 0x69
a good starting point for src code would be to replace the components/drivers/i2c_devices/mpu6050/ folder w/a local/modified version of:
- https://github.com/sparkfun/SparkFun_ICM-20948_ArduinoLibrary (if you are using arduino this could be easy?..) OR
- https://github.com/stephendpmurphy/icm20948
if you are "past this point" already and things arent working, access to src code will likely be required...
Is there is any option to controll flight mode through mobile application .currently i have set pressure sensor to this drone. but didnt see any option regarding flight mode for using altitude control mode .i have checked complete app setting there is no option to switch or use flight modes using expansion module.. Is there is somthing i missing ?