Search found 20 matches
- Thu Aug 20, 2020 8:23 pm
- Forum: ESP32 Arduino
- Topic: MPU6050 Accel/Gyro no-interrupt gives erratic accel readings
- Replies: 0
- Views: 1993
MPU6050 Accel/Gyro no-interrupt gives erratic accel readings
I am using the Electronic Cats MPU6050 lib to interface with an MPU6050 on an ESP32 without interrupt pin. The basic code reads data from the MPU6050 and then displays it on the OLED However the readings are very erratic. Even with the MPU taped to a table to give stability, the readings are erratic...
- Mon Aug 10, 2020 6:10 pm
- Forum: ESP32 Arduino
- Topic: problem using MPU-6050 Accel/Gyro with ESP32
- Replies: 11
- Views: 12973
Re: problem using MPU-6050 Accel/Gyrp with ESP32
After a lot of testing I was able to figure it out. The issue was not with the code the problem was the pin used. In addition the code to configure a pin as an interrupt is working. The data found on the internet for the Heltec WiFi32 board is misleading because some features of this board operate d...
- Sun Aug 09, 2020 8:28 pm
- Forum: ESP32 Arduino
- Topic: problem using MPU-6050 Accel/Gyro with ESP32
- Replies: 11
- Views: 12973
Re: problem using MPU-6050 Accel/Gyrp with ESP32
I forgot to mention that I used the same MPU6050 Library by Electronic Cats that I started with
- Sun Aug 09, 2020 8:26 pm
- Forum: ESP32 Arduino
- Topic: problem using MPU-6050 Accel/Gyro with ESP32
- Replies: 11
- Views: 12973
Re: problem using MPU-6050 Accel/Gyrp with ESP32
Progress. I was able to get the MPU6050 to initialize. I don't know if it will work on any pin but I will have to test that after I get the interrupt to work. I do not know how to setup and use a pin as an Interrupt on the ESP32. The accel/gyro generates an interrupt when data is available. Then I c...
- Sun Aug 09, 2020 6:05 pm
- Forum: ESP32 Arduino
- Topic: How to use interrupt pin
- Replies: 0
- Views: 1637
How to use interrupt pin
I have an MPU6050 Accel/Gyro and it uses an Interrupt. How can I define/use an interrupt pin with the WifiKit ESP32 ?
I will be testing a barometric sensor and it is setup the same way I2C SDA,SCL pins and an INTerrupt pin
Also what pins are available for use as an interrupt?
Thanks
I will be testing a barometric sensor and it is setup the same way I2C SDA,SCL pins and an INTerrupt pin
Also what pins are available for use as an interrupt?
Thanks
- Sat Aug 08, 2020 11:46 pm
- Forum: ESP32 Arduino
- Topic: problem using MPU-6050 Accel/Gyro with ESP32
- Replies: 11
- Views: 12973
Re: problem using MPU-6050 Accel/Gyrp with ESP32
How am I supposed to use these two files?
I do not see a download option
Plus if I just download these it will overwrite the other MPU6050 library which I am using for the accelerometer on an Arduino project
I do not see a download option
Plus if I just download these it will overwrite the other MPU6050 library which I am using for the accelerometer on an Arduino project
- Sat Aug 08, 2020 8:24 pm
- Forum: ESP32 Arduino
- Topic: problem using MPU-6050 Accel/Gyro with ESP32
- Replies: 11
- Views: 12973
Re: problem using MPU-6050 Accel/Gyrp with ESP32
I tried that snippet and on verify/compile it gives tons of errors Arduino: 1.8.12 (Windows 10), Board: "WiFi LoRa 32(V2), Disabled, 240MHz (WiFi/BT), 921600, None, REGION_EU868, None" C:\Users\Tony\Desktop\ESP32_Accel_SNIPPET\ESP32_Accel_SNIPPET.ino: In function 'void task_mpu6050(void*)': ESP32_Ac...
- Fri Aug 07, 2020 11:08 pm
- Forum: ESP32 Arduino
- Topic: problem using MPU-6050 Accel/Gyro with ESP32
- Replies: 11
- Views: 12973
Re: problem using MPU-6050 Accel/Gyrp with ESP32
I checked the github for the MPU6050 library and it does support ESP32
https://github.com/ElectronicCats/mpu60 ... /README.md
https://github.com/ElectronicCats/mpu60 ... /README.md
- Fri Aug 07, 2020 5:26 pm
- Forum: ESP32 Arduino
- Topic: problem using MPU-6050 Accel/Gyro with ESP32
- Replies: 11
- Views: 12973
Re: problem using MPU-6050 Accel/Gyrp with ESP32
It says that it does but I do not know if there are any unique things that need to be changed for the ESP32
- Thu Aug 06, 2020 7:24 pm
- Forum: ESP32 Arduino
- Topic: problem using MPU-6050 Accel/Gyro with ESP32
- Replies: 11
- Views: 12973
problem using MPU-6050 Accel/Gyro with ESP32
I am having problems getting the MPU-6050 Accelerometer & Gyro to work with my Heltec ESP32 Development board. I can run the I2C scanner and it detects the MPU-6050 at 0x68 If I run any of the example sketches that came with the MPU6050.h library it does not get data from the MPU-6050 I tried the MP...