AzuritBER - Einrichtung und Betrieb

Klingt komisch! Warum der Fehler?

Bernard hatte schon einige Defekte Module. Vielleicht nochmal ein neues besorgen?


Lass mal die Console mitlaufen... Vielleicht sieht man ja den Fehler?

Wenn der Mäher nicht parallel fährt kannst du mal unter Settings, IMU gucken ob der noch aktiv ist oder auf deaktiviert steht.
Hi,
wie geht das mit der Konsole ? Da brauche ich doch ne Kabelverbindung oder ? Ich sehe nur in der Pfodapp den Status bzw. die Einstellungen.
Den Raspi wollte ich eigentlich nicht auch noch einbauen. Noch ne Fehlerquelle und noch ein Stromverbraucher.
Parallel fährt er ja schon halbwegs. E driftet etwas, das ist momentan aber nicht so schlimm. Mich stört hauptsächlich dass er immer wieder mit der IMU Com Störung aussteigt.
Ich habe jetzt mal die PWM des Mähmotors auf 195/220 gestellt und damit fährt nun schon seit 60minuten.

Gruss Michael
 
I Hope it can work for a long time , my MPU-9255 do the same : it work for 2 or 3 days and without any reason it freeze.
For me the main issue is in the mow motor noise, i say this because in 2 years it's never append on my 2 robomow platform with 3 big Mow motor.
and it's always freeze after 1 minute or less in the cheap tianchen TC-G158 platform (The perimeter signal is also perturbate) but the 2 mow motor don't have emf protection inside.
 
Hi bernard,
i use Ardumower 1.62- Azuritber GY521.
I changed the PWM frequency like in your post from 3600 to 10000. This is the only change i did.
Using wifi with Pfodapp
 
Yes it's like for AZURIT , but if you use the old HC05 module you need to use AZURIT to write the code inside the first time, After you can upload again AZURITBER.
What kind of module do you use ?
 
I can't test on my side but You can try to change this:
into robot.cpp
The showmessage fonction
Add the WIFI support:
Code:
void Robot::ShowMessage(String message) {
  Console.print (message);
  if (ConsoleToPfod) {
    if (bluetoothUse) {
      Bluetooth.print (message);
    }
    else {
      ESP8266port.print(message);
    }
  }
}
void Robot::ShowMessageln(String message) {
  Console.println(message);
  if (ConsoleToPfod) {
    if (bluetoothUse) {
      Bluetooth.println (message);
    }
    else {
      ESP8266port.println(message);
    }
  }
}

void Robot::ShowMessage(float value) {
  Console.print (value);
  if (ConsoleToPfod) {

    if (bluetoothUse) {
      Bluetooth.print(value);
    }
    else {
      ESP8266port.print(value);
    }

  }
}
void Robot::ShowMessageln(float value) {
  Console.println(value);
  if (ConsoleToPfod) {
    if (bluetoothUse) {
      Bluetooth.println (value);
    }
    else {
      ESP8266port.println(value);
    }
  }
}
 
if you use the HC05 one time with AZURIT it's OK simply upload again AZURITBER
Do not forget to change the setting to Bluetooth
Into mower.cpp line 255 select correct configuration
* bluetoothUse = 1; // use Bluetooth module? It's Impossible to use Bluetooth and esp8266 at same time
* esp8266Use = 0; // use ESP8266 Wifi module?

On your phone simply connect and add a PFOD connection via BT.

You can also use Arduremote (see Playstore).

In all case i recommend to use ESP32 DEV KIT V1 (cheaper) or the one from morotronics

For connecting and firmware see WIKI

Do not connect the PN5180 reader and use the simple passerelle code:
 
So i think the ferrit around the mower motor cable did the job.
Since one week every day mowing not one imu error or any other error. I think i am happy a little bit.
It also look like i have much less drift with the imu then before.
 
Hi,
want to reactivate this thread because having issues getting AzuritBer running. I cant calibrate my IMU GY-521 (look like I got a clone because the DeviceID is 0x38 (56) instead of 0x34), the accel values didnt even change much.

17:33:56.971 -> Compass calibration deleted
17:34:04.050 -> AccelGyro calibration deleted
17:34:04.050 -> Reading sensors for first time... without any offset
17:34:07.351 -> Reading ax: -4805 ay: 12677 az: 7907 gx: 69 gy: 136 gz: 42
17:34:07.351 ->
17:34:07.351 -> Calculating offsets...
17:34:10.652 -> Wait until accel 3 val are < 8 : 4804 12676 8481 and Gyro 3 val are < 1 : 60 111 47
17:34:13.943 -> Wait until accel 3 val are < 8 : 4803 12676 8477 and Gyro 3 val are < 1 : 45 78 48
17:34:17.235 -> Wait until accel 3 val are < 8 : 4804 12678 8482 and Gyro 3 val are < 1 : 34 51 60
17:34:20.579 -> Wait until accel 3 val are < 8 : 4801 12679 8479 and Gyro 3 val are < 1 : 25 32 57
17:34:23.881 -> Wait until accel 3 val are < 8 : 4803 12677 8483 and Gyro 3 val are < 1 : 19 18 54
17:34:27.192 -> Wait until accel 3 val are < 8 : 4806 12680 8480 and Gyro 3 val are < 1 : 15 5 53
17:34:30.497 -> Wait until accel 3 val are < 8 : 4804 12677 8480 and Gyro 3 val are < 1 : 11 1 52
17:34:33.795 -> Wait until accel 3 val are < 8 : 4802 12676 8474 and Gyro 3 val are < 1 : 9 7 64
17:34:37.091 -> Wait until accel 3 val are < 8 : 4804 12675 8480 and Gyro 3 val are < 1 : 7 13 60
17:34:40.383 -> Wait until accel 3 val are < 8 : 4803 12679 8483 and Gyro 3 val are < 1 : 5 16 57
17:34:43.718 -> Wait until accel 3 val are < 8 : 4803 12678 8478 and Gyro 3 val are < 1 : 4 18 55
17:34:47.019 -> Wait until accel 3 val are < 8 : 4808 12679 8476 and Gyro 3 val are < 1 : 3 22 53
17:34:50.323 -> Wait until accel 3 val are < 8 : 4809 12680 8484 and Gyro 3 val are < 1 : 3 79 52
17:34:53.633 -> Wait until accel 3 val are < 8 : 4810 12674 8476 and Gyro 3 val are < 1 : 2 254 64
17:34:56.940 -> Wait until accel 3 val are < 8 : 4808 12677 8473 and Gyro 3 val are < 1 : 2 96 351
17:35:00.247 -> Wait until accel 3 val are < 8 : 4808 12675 8485 and Gyro 3 val are < 1 : 1 24 252
17:35:03.540 -> Wait until accel 3 val are < 8 : 4806 12676 8477 and Gyro 3 val are < 1 : 1 115 177
17:35:06.839 -> Wait until accel 3 val are < 8 : 4806 12681 8481 and Gyro 3 val are < 1 : 1 78 122
17:35:10.139 -> Wait until accel 3 val are < 8 : 4808 12682 8482 and Gyro 3 val are < 1 : 1 53 66
17:35:13.442 -> Wait until accel 3 val are < 8 : 4807 12679 8478 and Gyro 3 val are < 1 : 1 276 38
17:35:16.745 -> Wait until accel 3 val are < 8 : 4807 12677 8480 and Gyro 3 val are < 1 : 1 215 17
17:35:20.044 -> Wait until accel 3 val are < 8 : 4805 12678 8483 and Gyro 3 val are < 1 : 1 168 1
17:35:23.393 -> Wait until accel 3 val are < 8 : 4803 12681 8478 and Gyro 3 val are < 1 : 1 132 11
17:35:26.696 -> Wait until accel 3 val are < 8 : 4808 12679 8485 and Gyro 3 val are < 1 : 1 107 33
17:35:29.994 -> Wait until accel 3 val are < 8 : 4805 12678 8482 and Gyro 3 val are < 1 : 1 16 37
17:35:33.287 -> Wait until accel 3 val are < 8 : 4806 12675 8481 and Gyro 3 val are < 1 : 1 6 40
17:35:36.584 -> Wait until accel 3 val are < 8 : 4807 12678 8480 and Gyro 3 val are < 1 : 1 3 42
17:35:39.888 -> Wait until accel 3 val are < 8 : 4807 12680 8485 and Gyro 3 val are < 1 : 1 9 44
17:35:43.194 -> Wait until accel 3 val are < 8 : 4806 12676 8485 and Gyro 3 val are < 1 : 1 13 45
17:35:46.499 -> Wait until accel 3 val are < 8 : 4807 12682 8491 and Gyro 3 val are < 1 : 1 18 59
17:35:49.841 -> Wait until accel 3 val are < 8 : 4808 12675 8485 and Gyro 3 val are < 1 : 1 20 57
17:35:53.139 -> Wait until accel 3 val are < 8 : 4806 12677 8496 and Gyro 3 val are < 1 : 1 79 55
17:35:56.442 -> Wait until accel 3 val are < 8 : 4807 12680 8490 and Gyro 3 val are < 1 : 1 54 55
17:35:59.741 -> Wait until accel 3 val are < 8 : 4807 12681 8492 and Gyro 3 val are < 1 : 1 34 54
17:36:03.050 -> Wait until accel 3 val are < 8 : 4807 12680 8500 and Gyro 3 val are < 1 : 1 18 66
17:36:06.360 -> Wait until accel 3 val are < 8 : 4808 12679 8488 and Gyro 3 val are < 1 : 1 7 62
17:36:09.654 -> Wait until accel 3 val are < 8 : 4807 12680 8489 and Gyro 3 val are < 1 : 1 104 60
17:36:12.946 -> Wait until accel 3 val are < 8 : 4807 12680 8497 and Gyro 3 val are < 1 : 1 69 57
17:36:16.291 -> Wait until accel 3 val are < 8 : 4805 12682 8496 and Gyro 3 val are < 1 : 1 46 56

Can anyone help me with this?
 
Oben