I'm trying the MPU-6050 Level project and I need is a basic display in the Serial Monitor of the level angle - no LCD display, no LEDs.
I'm using the Dronebot sketch 'mpu-6050-level.ino' which, as I understand it, requires no additional MPU-6050 libraries. What I see in the Serial Monitor is not this line:
Serial.print(" | Angle = "); Serial.println(angle_pitch_output);
but the following lines repeating:
Build:Feb 7 2021 rst:0x8 (TG1WDT_SYS_RST),boot:0xd (SPI_FAST_FLASH_BOOT) Saved PC:0x40380082 SPIWP:0xee mode:DIO, clock div:1 load:0x3fcd5820,len:0x458 load:0x403cc710,len:0x814 load:0x403ce710,len:0x2880 entry 0x403cc710 ESP-ROM:esp32c3-api1-20210207
Do you have any idea what this is?
@donpk Normal start up messages.
HOWEVER, be aware the Ver 3 boards has been modified and many things are broken. Try rolling the esp32 boards back to 2.0.17 if you have mysterious results.
First computer 1959. Retired from my own computer company 2004.
Hardware - Expert in 1401, and 360, fairly knowledge in PC plus numerous MPU's and MCU's
Major Languages - Machine language, 360 Macro Assembler, Intel Assembler, PL/I and PL1, Pascal, Basic, C plus numerous job control and scripting languages.
My personal scorecard is now 1 PC hardware fix (circa 1982), 1 open source fix (at age 82), and 2 zero day bugs in a major OS.
@zander Thanks, Ron. This is a SparkFun Pro Micro - ESP32-C3 which, so far, I've had luck with. Your right, a similar Adafruit C3 board I was never able to get running.
I'll post if I make any headway.
@donpk Here is the V3 migration document from Espressif. Take a glance at it to see if you are affected. If you are, you just have to wait for the library authors to catch up. If you are using libs from Adafruit or any of the well known authors, they should catch up quickly and may already be there, if it's not a well known source you could be waiting a long time so in that case find one of the better lib sources.
https://docs.espressif.com/projects/arduino-esp32/en/latest/migration_guides/2.x_to_3.0.html
First computer 1959. Retired from my own computer company 2004.
Hardware - Expert in 1401, and 360, fairly knowledge in PC plus numerous MPU's and MCU's
Major Languages - Machine language, 360 Macro Assembler, Intel Assembler, PL/I and PL1, Pascal, Basic, C plus numerous job control and scripting languages.
My personal scorecard is now 1 PC hardware fix (circa 1982), 1 open source fix (at age 82), and 2 zero day bugs in a major OS.
@zander FWIW, I posted the Serial Monitor message I'm getting as a query on ChatGPT. Below is the conclusion. I can post the more detailed answer if anyone is interested, although I know A.I. is controversial for some people.
Conclusion
The ESP32-C3 has reset due to a watchdog timer timeout, and it's in the process of booting up using the SPI flash memory in fast mode. If this reset is unexpected or keeps occurring, it may indicate an issue in your code where the watchdog timer is not being properly handled (e.g., a blocking loop or a task taking too long to execute). You might want to review your code to ensure that tasks are yielding control as needed or that the watchdog is properly fed.
@donpk So you choose to ignore the official document from Espressif but choose to believe a piece of software that just regurgitates someone else's code that may or may not have worked. Noted.
First computer 1959. Retired from my own computer company 2004.
Hardware - Expert in 1401, and 360, fairly knowledge in PC plus numerous MPU's and MCU's
Major Languages - Machine language, 360 Macro Assembler, Intel Assembler, PL/I and PL1, Pascal, Basic, C plus numerous job control and scripting languages.
My personal scorecard is now 1 PC hardware fix (circa 1982), 1 open source fix (at age 82), and 2 zero day bugs in a major OS.