Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MPU6050 connection failed #99

Open
pixyfox opened this issue Apr 24, 2022 · 0 comments
Open

MPU6050 connection failed #99

pixyfox opened this issue Apr 24, 2022 · 0 comments

Comments

@pixyfox
Copy link

pixyfox commented Apr 24, 2022

Hello,

Thank you for this amazing project.

I have an issue with the GY-86. I do not get data from it in the info page.
It is connected and recognized. I am am able to make the calibration of both the acc-sensor and the gyro-sensor. It is connected to the rights pins, 3v3 and GND.

Here is the text I get with the serial port since I do the calibration:

[I][Baro.cpp:323] calibGyro(): write new offsets
[I][WebHelper.cpp:36] onWebSocketEvent(): [0] Disconnected!
ets Jul 29 2019 12:21:46

rst:0xc (SW_CPU_RESET),boot:0x12 (SPI_FAST_FLASH_BOOT)
configsip: 0, SPIWP:0xee
clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
mode:DIO, clock div:2
load:0x3fff0018,len:4
load:0x3fff001c,len:1044
load:0x40078000,len:8896
load:0x40080400,len:5828
entry 0x400806ac
[I][main.cpp:1763] setup(): SDK-Version=v3.3.5-1-g85c43024c
[I][main.cpp:1764] setup(): CPU-Speed=240Mhz
[I][main.cpp:1765] setup(): Total heap: 253424
[I][main.cpp:1766] setup(): Free heap: 226236
[I][main.cpp:691] printChipInfo(): This is ESP32 chip with 2 CPU cores, WiFi/BT/BLE,
[I][main.cpp:692] printChipInfo(): silicon revision 3,
[I][main.cpp:694] printChipInfo(): 4MB external flash
[I][main.cpp:1779] setup(): compiled at Jan 11 2022 20:41:55
[I][main.cpp:1780] setup(): current free heap: 195272, minimum ever free heap: 190280
[I][main.cpp:1656] print_wakeup_reason(): wakeup undefined --> possible by reset
[I][main.cpp:1790] setup(): SPIFFS total=173441 used=118723 free=54718
[I][fileOps.cpp:6] load_configFile(): LOAD CONFIG FILE
[E][Preferences.cpp:492] getBytesLength(): nvs_get_blob len fail: BATOFFS NOT_FOUND
[I][main.cpp:1536] printSettings(): **** SETTINGS ****
[I][main.cpp:1537] printSettings(): Access-point password=12345678
[I][main.cpp:1538] printSettings(): Board-Type=0
[I][main.cpp:1539] printSettings(): Display-Type=3
[I][main.cpp:1540] printSettings(): Display-Rotation=0
[I][main.cpp:1541] printSettings(): AXP192=0
[I][main.cpp:1543] printSettings(): BAND=868mhz
[I][main.cpp:1547] printSettings(): BAND=0
[I][main.cpp:1548] printSettings(): LORA_POWER=14
[I][main.cpp:1549] printSettings(): Mode=0
[I][main.cpp:1550] printSettings(): Fanet-Mode=0
[I][main.cpp:1551] printSettings(): Fanet-Pin=1234
[I][main.cpp:1552] printSettings(): external power switch=0
[I][main.cpp:1555] printSettings(): Serial-output=0
[I][main.cpp:1556] printSettings(): OUTPUT Vario=2
[I][main.cpp:1557] printSettings(): OUTPUT FLARM=1
[I][main.cpp:1558] printSettings(): OUTPUT GPS=1
[I][main.cpp:1559] printSettings(): OUTPUT FANET=1
[I][main.cpp:1561] printSettings(): WIFI connect=0
[I][main.cpp:1562] printSettings(): WIFI SSID=
[I][main.cpp:1563] printSettings(): WIFI PW=
[I][main.cpp:1564] printSettings(): Aircraft=PARA_GLIDER
[I][main.cpp:1565] printSettings(): Pilotname=Leo
[I][main.cpp:1566] printSettings(): Wifi-down-time=600
[I][main.cpp:1567] printSettings(): Output-Mode=3
[I][main.cpp:1568] printSettings(): UDP_SERVER=192.168.4.2
[I][main.cpp:1569] printSettings(): UDP_PORT=10110
[I][main.cpp:1570] printSettings(): UDP_SERVER=192.168.4.2
[I][main.cpp:1571] printSettings(): UDP_PORT=10110
[I][main.cpp:1574] printSettings(): GS LAT=0.000000
[I][main.cpp:1575] printSettings(): GS LON=0.000000
[I][main.cpp:1576] printSettings(): GS ALT=0.00
[I][main.cpp:1577] printSettings(): GS SCREEN OPTION=0
[I][main.cpp:1578] printSettings(): GS POWERSAFE=0
[I][main.cpp:1580] printSettings(): BattVoltOffs=0.00
[I][main.cpp:1581] printSettings(): minBattPercent=20
[I][main.cpp:1582] printSettings(): restartBattPercent=20
[I][main.cpp:1584] printSettings(): AirWhere-Livetracking=0
[I][main.cpp:1585] printSettings(): OGN-Livetracking=15
[I][main.cpp:1586] printSettings(): Traccar-Livetracking=0
[I][main.cpp:1587] printSettings(): Traccar-Address=
[I][main.cpp:1588] printSettings(): RF-Mode=15
[I][main.cpp:1591] printSettings(): VarioSinkingThreshold=-2.50
[I][main.cpp:1592] printSettings(): VarioClimbingThreshold=0.20
[I][main.cpp:1593] printSettings(): VarioNearClimbingSensitivity=0.20
[I][main.cpp:1594] printSettings(): VarioVolume=80
[I][main.cpp:1595] printSettings(): Vario use MPU=1
[I][main.cpp:1596] printSettings(): Vario temp offset=0.00
[I][main.cpp:1597] printSettings(): Vario sigmaP=0.10
[I][main.cpp:1598] printSettings(): Vario sigmaA=0.60
[I][main.cpp:1602] printSettings(): WD tempoffset=0.0 [°]
[I][main.cpp:1603] printSettings(): WD windDirOffset=0 [°]
[I][main.cpp:1604] printSettings(): WD rainSensor=0
[I][main.cpp:1606] printSettings(): WD FANET-Weatherdata=0
[I][main.cpp:1607] printSettings(): WD FANET-Interval=40000 [msec]
[I][main.cpp:1609] printSettings(): WUUlEnable=0
[I][main.cpp:1610] printSettings(): WUUlInterval=300000 [msec]
[I][main.cpp:1611] printSettings(): WUUlID=
[I][main.cpp:1612] printSettings(): WUUlKEY=
[I][main.cpp:1614] printSettings(): WIUlEnable=0
[I][main.cpp:1615] printSettings(): WIUlID=
[I][main.cpp:1616] printSettings(): WIUlKEY=
[I][main.cpp:1619] printSettings(): MqttMode=0
[I][main.cpp:1620] printSettings(): MqttServer=
[I][main.cpp:1621] printSettings(): MqttPort=1883
[I][main.cpp:1622] printSettings(): MqttPw=
[I][main.cpp:1631] printSettings(): fuel-sensor=0
[I][main.cpp:1886] setup(): Board=T_BEAM
[I][main.cpp:1352] setupAXP192(): init AXP192 --> ready
[I][main.cpp:2845] taskBaro(): starting baro-task
[I][main.cpp:4104] taskStandard(): GPS Baud=9600,8N1,RX=34,TX=12
[I][fmac.cpp:1200] readAddr(): ESP32ChipID=48D587842178
[I][fmac.cpp:1206] readAddr(): dev_id=08D548
[I][fmac.cpp:487] begin(): sck=5,miso=19,mosi=27,ss=18,reset=23,dio0=26,gpio=-1
[I][Screen.cpp:19] begin(): starting E-Ink type=1;cs=15,dc=32,rst=0,busy=33,clk=4,din=2
[I][fmac.cpp:528] begin(): LoRa Initialization OK!
[I][FanetLora.cpp:58] begin(): myDevId:08D548
[I][main.cpp:3845] readGPS(): GPS detected --> enable GPS
I NimBLEDevice: "BLE Host Task Started"
I NimBLEDevice: "NimBle host synced."
[I][ble.h:167] start_ble(): Starting BLE
[I][main.cpp:1373] WiFiEvent(): SYSTEM_EVENT_STA_START
[I][main.cpp:1435] setupWifi(): Setting soft-AP ...
[I][ble.h:174] start_ble(): Waiting a client connection to notify...
[I][Baro.cpp:416] initMS5611(): found sensor MS5611
[I][Baro.cpp:432] initMS5611(): MPU6050 connection failed
[I][Screen.cpp:29] begin(): display-type 2.9 V2
[I][Baro.cpp:454] initMS5611(): tempcorrection: t0=20.00 z0=0.00 t1=0.00 z1=0.00
[I][Baro.cpp:456] initMS5611(): Initializing DMP...
[I][main.cpp:1438] setupWifi(): Ready
[I][main.cpp:1443] setupWifi(): Setting soft-AP configuration ...
[I][main.cpp:1446] setupWifi(): Ready
[I][main.cpp:1471] setupWifi(): hostname=GXAirCom-08D548
[I][main.cpp:1475] setupWifi(): my APIP=192.168.4.1
[I][Baro.cpp:474] initMS5611(): acc offsets ax_offset=3844,ay_offset=1818,az_offset=1025
[I][Baro.cpp:489] initMS5611(): scale ax_scale=1.00,ay_scale=1.00,az_scale=0.99,
[I][Baro.cpp:490] initMS5611(): acc offsets ax_offset=-205,ay_offset=-16,az_offset=-48
[I][Baro.cpp:491] initMS5611(): gyro offsets gx_offset=19,gy_offset=-22,gz_offset=-3
[I][main.cpp:1399] WiFiEvent(): SYSTEM_EVENT_AP_STAIPASSIGNED!!!!!!!!!!!!
[I][WebHelper.cpp:43] onWebSocketEvent(): [0] Connection from 192.168.4.2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant