Start Probleme

OK i2C scanner finds 2 devices on 0x40 the perimeter and 0x44 the one for the charging station.
Should I change or add the 64 or 68 somewhere?

ok i2c scanner findet 2 geräte auf 0x40 der perimeter und 0x44 der für den Akku. sollte ich denn die 64 bzw. 68 irgendwo ändern oder nachtragen?Screenshot 2023-06-04 191324.jpg
 
It's OK for the INA226,but where is the screen ?,maybe not connected
Or you have the same adress on the screen (0x44 or 0x40)
 
It's OK for the INA226,but where is the screen ?,maybe not connected
Or you have the same adress on the screen (0x44 or 0x40)
Ok, but if I unplug the screen and run it without it, I don't get any power on the perimeter INA according to Serial ConsoleScreenshot 2023-06-04 192647.jpg
 
I don't understand what do you mean.
Run the scanner I2C with screen and the 2 INA connected , need to discover 3 devices.
 
I don't understand what do you mean.
Run the scanner I2C with screen and the 2 INA connected , need to discover 3 devices.
ok, so if I remove the screen I also have 2 I2C devices according to the scanner. How do I find out which address the screen uses?
 
OK it's because the screen certainly don't have pull-up resistor,
Try with Ina perimeter + screen
and ina charge + screen
 
line 418 of the code:
Code:
 Serial.println("Measuring voltage and current using INA226 ...");
  INAPERI.begin(0x40);
  INACHARGE.begin(0x44);
try to swap the 2 adress to see if you have something when mower is charging.

display adress is at line 51 of acro...h
 
Look at the row 566 and 567. The first number is the shunt resistor and the second number is the maximum range to measure.
 
Look at the row 566 and 567. The first number is the shunt resistor and the second number is the maximum range to measure.
Ok I have to close for today, I'll look at it again tomorrow.
First of all, thank you for your time!

Ok ich muss erstmal schluss machen für heut, ich schaue es mir morgen nochmal an.
Vielen Dank erstmal für eure Zeit!
 
For the 0,1ohm resistor try

INAPERI.setResistorRange(0.1, 0.8);
INACHARGE.setResistorRange(0.1, 0.8);
Hello, I changed it in the sketch but unfortunately no success. I once measured the motor driver output, there are initially 1.2 volts and when the loop starts, it jumps to 5.2 volts. So something happens, but my inas don't really want to!?


hallo, habe es geändert im sketch aber leider kein erfolg. ich habe mal gemessen am Mototreiber ausgang liegen anfangs 1,2 volt an und wenn der loop startet springt auf 5,2 volt. also passiert ja etwas aber meine inas wollen nicht so recht!?Screenshot 2023-06-05 211413.jpg

1. pic my ina226

2. pic my oled
 

Attachments

  • Screenshot 2023-06-05 212651.jpg
    Screenshot 2023-06-05 212651.jpg
    800.9 KB · Views: 6
  • Screenshot 2023-06-05 212938.jpg
    Screenshot 2023-06-05 212938.jpg
    988.6 KB · Views: 8
Ich habe den Code jetzt ein wenig geändert. - Mach mal ein Firmwareupdate und gib nach dem Neustart http://DEINEIPADRESSE/? ein. Natürlich mit deiner IP Adresse.

Bei mir sieht das so aus:

MAC ADRESS = C8:F0:9E:F1:88:A8
WORKING DURATION= 0min.
PERI CURRENT= 0.00mA
PERI VOLTAGE=9.51V
CHARGE CURRENT= 559.28mA
CHARGE VOLTAGE= 29.64V
sigDuration= 104ms
sigCodeInUse= 1
sender A : 0
sender B : 0​

 
Ich habe den Code jetzt ein wenig geändert. - Mach mal ein Firmwareupdate und gib nach dem Neustart http://DEINEIPADRESSE/? ein. Natürlich mit deiner IP Adresse.

Bei mir sieht das so aus:

MAC ADRESS = C8:F0:9E:F1:88:A8​

WORKING DURATION= 0min.​

PERI CURRENT= 0.00mA​

PERI VOLTAGE=9.51V​

CHARGE CURRENT= 559.28mA​

CHARGE VOLTAGE= 29.64V​

sigDuration= 104ms​

sigCodeInUse= 1​

sender A : 0​

sender B : 0​

Hallo,
hatt er gemacht doch leider...

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


Oh mann ganz schön verzwickt.
Stefan sind deine inas auch verdreht an den scl und sda pins?!
 
Last edited:
Back
Top