Start Probleme

So, ich habe jetzt nochmals vieles geändert und die Bibliothek komplett entfernt. Nun werden die Register direkt ausgelesen. Auch die Shuntspannungen werden nun angezeigt und die /? -Seite aktualisiert sich im 5-Sekunden-Takt.

Ich hoffe das bringt nun etwas licht ins dunkel...

Pericurrent wird bei mir nicht angezeigt, muss jetzt aber los zur arbeit... muss also warten... Chargecurrent funzt jedoch!
 
So, ich habe jetzt nochmals vieles geändert und die Bibliothek komplett entfernt. Nun werden die Register direkt ausgelesen. Auch die Shuntspannungen werden nun angezeigt und die /? -Seite aktualisiert sich im 5-Sekunden-Takt.

Ich hoffe das bringt nun etwas licht ins dunkel...

Pericurrent wird bei mir nicht angezeigt, muss jetzt aber los zur arbeit... muss also warten... Chargecurrent funzt jedoch!

Sorry für den Stress, aber vielen Dank für deine Bemühungen. Echt klasse!!!
Ich Habe gestern auch nochmal mein arduino (mit dem Inatest sketch) mit den strompins der senderplatine verbunden ob da evtl etwas falsch ist aber er zeigt da definitiv bewegung an. Zwar nicht die richtigen shuntwerte aber es passiert etwas. Aber trotzdem seltsam, wenn es bei dir doch funktioniert!?

Was ich auch seltsam finde das ich,
(um mein oled display zu finden über die Adresse) die sda und scl pin tauschen muss am Stecker des displays. Möchte ich aber etwas anzeigen lassen auf dem display muss ich es wieder zurücktauschen!?
 
Last edited:
Bevor ich es vergesse: BITTE "ESP32_WIFI_Sender_without_INA_lib" verwenden!

Du musst alle I2C Pins kontrollieren, manchmal ist SDA und SCL vertauscht. Dann musst du die Händisch drehen.
Eigentlich sollten alle INAs und auch das Display mit dem Scanner zu finden sein. Dann sollte auch das Display etwas anzeigen!
 
leider nein, habe auch sda scl getauscht, habe adressen getauscht von 0x40 zu 0x44 und anders. auch habe ich die inas getauscht aber es bleibt leider bei null...

MAC ADRESS = 78:21:84:E1:83:B4
WORKING DURATION= 0min.
PERI CURRENT= 0.00mA
PERI BUS VOLTAGE= 0.00V
PeriShuntVoltage= 0mV
CHARGE CURRENT= 0.00mA
CHARGE VOLTAGE= 0.00v
ChargeShuntVoltage= 0mV
sigDuration= 104ms
sigCodeInUse= 1
sender A : 1
sender B : 0​

 
leider nein, habe auch sda scl getauscht, habe adressen getauscht von 0x40 zu 0x44 und anders. auch habe ich die inas getauscht aber es bleibt leider bei null...

MAC ADRESS = 78:21:84:E1:83:B4​

WORKING DURATION= 0min.​

PERI CURRENT= 0.00mA​

PERI BUS VOLTAGE= 0.00V​

PeriShuntVoltage= 0mV​

CHARGE CURRENT= 0.00mA​

CHARGE VOLTAGE= 0.00v​

ChargeShuntVoltage= 0mV​

sigDuration= 104ms​

sigCodeInUse= 1​

sender A : 1​

sender B : 0​

If i2c scanner show the correct adress:
Try a true esp32 ina226 library ,for example code locate here :
 
If i2c scanner show the correct adress:
Try a true esp32 ina226 library ,for example code locate here :
Yesterday I tested the espressif sketch. Unfortunately, I have no idea how to swap the I2C pins there. so I didn't get any data either.

I have an idea, could it be that the I2C change in the Wifi transmitter sketch had no effect on the hardware!? no matter how I swap the I2C pins in the sketch, the oled display always works!? that shouldn't be the case!? I found 3 devices with the I2C scanner sketch. 2 x Ina226 and the display. But only when I have swapped the sda and scl pins on the display cable do I find that. If I now load the wifi transmitter Sketch on it, I have to swap the 2 pins on the display cable back again, otherwise there is no picture!? that almost sounds as if the assignment in the wifi sketch had no effect!?
just an idea...


So ich hatte gestern den espressif sketch mal getestet. Nur leider habe ich dort keine ahnung, wie ich die I2C pins tauschen kann. also habe ich auch keine daten bekommen.

Ich habe da so eine idee, könnte es sein das die I2C änderung im Wifi Sender sketch auf die Hardware keinen einfluss hatt!? egal wie ich die I2C pins im sketch Tausche, das oled Display geht immer!? das dürfte doch gar nicht sein!?

Ich habe mit dem I2C scanner sketch, 3 Geräte gefunden. 2 x Ina226 und das display. Aber erst nur wenn ich am displaykabel die sda und scl pins getauscht habe finde ich das.
Lade ich nun den wifi sender sketch drauf muss ich die 2 pins am display kabel wieder zurücktauschen sonst gibts kein bild!? das klingt fast so als wenn die zuweisung im wifi sketch keine auswirkung hatt!? nur so eine Idee...
 
Yesterday I tested the espressif sketch. Unfortunately, I have no idea how to swap the I2C pins there. so I didn't get any data either.

I have an idea, could it be that the I2C change in the Wifi transmitter sketch had no effect on the hardware!? no matter how I swap the I2C pins in the sketch, the oled display always works!? that shouldn't be the case!? I found 3 devices with the I2C scanner sketch. 2 x Ina226 and the display. But only when I have swapped the sda and scl pins on the display cable do I find that. If I now load the wifi transmitter Sketch on it, I have to swap the 2 pins on the display cable back again, otherwise there is no picture!? that almost sounds as if the assignment in the wifi sketch had no effect!?
just an idea...


So ich hatte gestern den espressif sketch mal getestet. Nur leider habe ich dort keine ahnung, wie ich die I2C pins tauschen kann. also habe ich auch keine daten bekommen.

Ich habe da so eine idee, könnte es sein das die I2C änderung im Wifi Sender sketch auf die Hardware keinen einfluss hatt!? egal wie ich die I2C pins im sketch Tausche, das oled Display geht immer!? das dürfte doch gar nicht sein!?

Ich habe mit dem I2C scanner sketch, 3 Geräte gefunden. 2 x Ina226 und das display. Aber erst nur wenn ich am displaykabel die sda und scl pins getauscht habe finde ich das.
Lade ich nun den wifi sender sketch drauf muss ich die 2 pins am display kabel wieder zurücktauschen sonst gibts kein bild!? das klingt fast so als wenn die zuweisung im wifi sketch keine auswirkung hatt!? nur so eine Idee...
HI.
On the sample : try to replace:
Code:
// Default INA226 address is 0x40
  ina.begin();

By
Code:
// Default INA226 address is 0x40
  ina.begin(0x40);
or
Code:
// Default INA226 address is 0x40
  ina.begin(0x44);
for battery or perimeter (only voltage is ok with this test)
 
HI.
On the sample : try to replace:
Code:
// Default INA226 address is 0x40
  ina.begin();

By
Code:
// Default INA226 address is 0x40
  ina.begin(0x40);
or
Code:
// Default INA226 address is 0x40
  ina.begin(0x44);
for battery or perimeter (only voltage is ok with this test)
ok understand that these are the addresses.

but the I2C pins don't matter then???
because my inas have a different pin assignment than on the transmitter pcb.
 
Du musst die Ina Adressen anpassen und die I2c Pins.
ok habs herausgefunden..

void setup()
{
Serial.begin(115200);
Wire.begin (22, 21); // sda= GPIO_21 /scl= GPIO_22
pinMode(2, OUTPUT);
digitalWrite(2, LOW); // turn the LED off by making the voltage LOW

ich habe wire.begin im sketch hinzugefügt jetz zeigt er endlich was(y)

also 1. Bild die Ina mit der adresse 0x40

und 2 . Bild die ina mit der adresse 0x44
 

Attachments

  • Screenshot 2023-06-08 201837.jpg
    Screenshot 2023-06-08 201837.jpg
    86.4 KB · Views: 8
  • Screenshot 2023-06-08 201935.jpg
    Screenshot 2023-06-08 201935.jpg
    86.8 KB · Views: 7
so das selbe habe ich jetzt bei stefans letzten sketch gemacht und siehe da, ein kleiner erfolg...

MAC ADRESS = 78:21:84:E1:83:B4​

WORKING DURATION= 0min.​

PERI CURRENT= 0.00mA​

PERI BUS VOLTAGE= 10.84V​

PeriShuntVoltage= 6mV​

CHARGE CURRENT= 0.00mA​

CHARGE VOLTAGE= 29.12v​

ChargeShuntVoltage= 0mV​

sigDuration= 104ms​

sigCodeInUse= 1​

sender A : 1​

sender B : 0​



aber wie ich vermutet habe, hatt der #define eintrag oben im sketch, keine wirkung auf den sketch bzw. hardware.

26 #define I2C_SDA 22 // SDA pin
27 #define I2C_SCL 21 // SCL pin

nach dem ich wire.begin wie oben eingetragen habe im wifi sender sketch in zeile 510, musste ich auch die I2C pins meines oled display ändern, so wie es logisch wäre. ach schön, ich freu mich endlich ein kleiner erfolg....;) (y)
 
Last edited:
Ich habe es gerade hinzugefügt... Ich habe vergessen die Variablen unten bei Wire.begin() einzufügen. Doofer Fehler!
 
Hallo, ich habe nach wie Probleme mit dem Mähen nach Kabel. Habe einen kleinen Kreis aufgebaut um zu sehen ob er innerhalb des Kreises bleibt. Aber er fängt nur kurz an zu suchen findet sie scheinbar aber geht kurz darauf auf Störung bzw. Error!?
Erstes Bild in der Schleife mit 213 smag und 2. Bild direkt auf der Schleife mit 1032 smag.
Aber er fährt los und kurz darauf error im comand menu!?
Ich versteh das irgendwie nicht. Wenn ich wüsste was er denn genau für probleme hatt!?


Hello, I still have problems with corded mowing. Set up a small circle to see if it stays inside the circle. But he only starts to search for a short time, but apparently finds it, but shortly thereafter it goes to fault or error!?
First image in the loop with 213 smag and 2nd image directly on the loop with 1032 smag.
But he drives off and shortly thereafter error in the comand menu!? I kind of don't get it. If I knew what he had exactly for problems!?
 

Attachments

  • 20230716_173530.jpg
    20230716_173530.jpg
    2.5 MB · Views: 2
  • 20230716_173624.jpg
    20230716_173624.jpg
    2.1 MB · Views: 2
  • Screenshot_20230716_173515_ArduRemote.jpg
    Screenshot_20230716_173515_ArduRemote.jpg
    595.5 KB · Views: 2
  • Screenshot_20230716_173611_ArduRemote.jpg
    Screenshot_20230716_173611_ArduRemote.jpg
    596 KB · Views: 3
Last edited:
Something is not OK in the sender or the coil receiver, Mag value need to be >10000.
Immediatly after start Go to console menu to see what append

What's the diameter of your test circle ?
 
Waaas über 10000!? Ok das ist aber viel! Meindest du mag oder smag!?
Ok da muss ich nochmal rann, evtl die Spule auf dem Enpfänger ein falschen Wert!? ich habe die Spule von der Originalen Platine die auf dem Matrix Mow800 drauf war.!?

Der Test Bereich hatt so 3m Durchmesser.

Whaaat over 10000!? Ok that's a lot! Did you mean mag or smag!?
Ok I have to run again, maybe the coil on the receiver has a wrong value!? I have the coil from the original circuit board that was on the Matrix Mow800.!?

The test area had a diameter of 3m.
 
Try on a bigger area .
Do you have shunt the capacitor on receiver and put the poti to max ?
 
Ok,
and yes is all se same as website on this pic, but without a capacitor.
 

Attachments

  • Perimeter_v2_receiver_circuit.png
    Perimeter_v2_receiver_circuit.png
    187.2 KB · Views: 2
Last edited:
Du hast die original Spule vom Matrix genommen?
Bin mir nicht sicher, ob das damit richtig funktioniert.
 
@Richtel :I don't remember the motor driver that you use , but my test on Yardforce with ZS-X12H is not always OK , On high grass the driver don't react as fast as needed and it's not perfect.
ZS-X11H work really better.
 
Back
Top