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

New Zoe ZE50 and CanZE (iOS and Android) #588

Open
FredLeudon opened this issue Nov 30, 2019 · 31 comments
Open

New Zoe ZE50 and CanZE (iOS and Android) #588

FredLeudon opened this issue Nov 30, 2019 · 31 comments
Assignees
Labels

Comments

@FredLeudon
Copy link
Collaborator

@FredLeudon FredLeudon commented Nov 30, 2019

Hi, all

I could approach a new Z.E. 50 Zoe yesterday.

After adding the first 9 digits of the vin to my online vin decoder database, I could identify the new Zoe with the latest iOS beta.

As the car was only in the showroom, I couldn’t start it but it was possible to CanZE to identify at least one ecu.

I wish I can spend one hour next week to plug my dongle in a new Zoe and use CanZE to identify all ecu’s

If it work’s, I’ll publish the results ;-)

@FredLeudon FredLeudon added the iOS label Nov 30, 2019
@FredLeudon FredLeudon self-assigned this Nov 30, 2019
@yoh-there

This comment has been minimized.

Copy link
Collaborator

@yoh-there yoh-there commented Nov 30, 2019

Nice. What command did you send? 7df (broadcast)? That is what the tool of the general mechanic did and he indeed pulled out the VIN but nothing more

@FredLeudon

This comment has been minimized.

Copy link
Collaborator Author

@FredLeudon FredLeudon commented Nov 30, 2019

@yoh-there

This comment has been minimized.

Copy link
Collaborator

@yoh-there yoh-there commented Nov 30, 2019

Yes it makes sense :-) I am very curious if all the ECU's responded and if not, which one did.

I am pretty sure there are no free frames on the Diagnostic bus and it looks like the MM bus has been removed.

@yoh-there

This comment has been minimized.

Copy link
Collaborator

@yoh-there yoh-there commented Dec 1, 2019

What exactly do you mean with "for each address"? I don't understand as those (26, 27, ...) are not ECU CAN addresses. I would expect 765/745, 7bc/79c etcetera.

@FredLeudon

This comment has been minimized.

Copy link
Collaborator Author

@FredLeudon FredLeudon commented Dec 1, 2019

@yoh-there

This comment has been minimized.

Copy link
Collaborator

@yoh-there yoh-there commented Dec 1, 2019

Oh I see what you mean, I think you meant eculist.xml.

The universal car diagnostic computer issues a broadcast. But I couldn't see which ECU responded with the VIN. Oh well, next time ;-)

@FredLeudon

This comment has been minimized.

Copy link
Collaborator Author

@FredLeudon FredLeudon commented Dec 1, 2019

@FredLeudon

This comment has been minimized.

Copy link
Collaborator Author

@FredLeudon FredLeudon commented Dec 1, 2019

@yoh-there

This comment has been minimized.

Copy link
Collaborator

@yoh-there yoh-there commented Jan 1, 2020

Someone in the German forum suggested the ZE50 uses 29 bit CAN addressing. If true I would be very surprised as I would not have suspected such a serious change. Then again, if it's true , the problem is probably simpler to solve than we thought, and my sniffer might just have been ignoring all the frames. Do you know more already Frédéric?

@FredLeudon

This comment has been minimized.

Copy link
Collaborator Author

@FredLeudon FredLeudon commented Jan 1, 2020

@yoh-there

This comment has been minimized.

Copy link
Collaborator

@yoh-there yoh-there commented Jan 1, 2020

Same to you and the (new) family ;-)

Cool (Monday). If you bring any sniffer material, remember the 29 bits stuff. My current sniffer (CanSee) does throw numbers other than standard 11 bits addressing away, so maybe I have been working with completely wrong assumptions all along. I will try to have a bit more confirmation before Monday and will post here if so.

@FredLeudon

This comment has been minimized.

Copy link
Collaborator Author

@FredLeudon FredLeudon commented Jan 1, 2020

@yoh-there

This comment has been minimized.

Copy link
Collaborator

@yoh-there yoh-there commented Jan 1, 2020

Can you maybe send me the very very most recent xml's you could find please? Google does drive me nuts on this one. I would appreciate it.

@KarelSvo

This comment has been minimized.

Copy link

@KarelSvo KarelSvo commented Jan 1, 2020

Someone in the German forum suggested the ZE50 uses 29 bit CAN addressing. If true I would be very surprised as I would not have suspected such a serious change.

All new Renault, Dacia, Nissan on C1A electronics platform use 29 bit addresses for the drive control units.

@yoh-there

This comment has been minimized.

Copy link
Collaborator

@yoh-there yoh-there commented Jan 1, 2020

Thanks @KarelSvo , good to know. The guy from the German forum suggested only the motor controller used extended addressing, the remainder standard. Mixing is allowed on the network level of course but ick!

@yoh-there

This comment has been minimized.

Copy link
Collaborator

@yoh-there yoh-there commented Jan 12, 2020

The 11 <> 29 bits addressing is quite a bit more complicated. Many new or upgraded boxes, some 11 bits, some 29, some both. I will amend the massive spreadsheet (ECU tab) as soon as I can.

@yoh-there yoh-there added the Android label Feb 16, 2020
@yoh-there yoh-there self-assigned this Feb 16, 2020
@yoh-there yoh-there changed the title New Zoe Z.E. 50 and iOS CanZE. New Zoe ZE50 and CanZE (iOS and Android) Feb 16, 2020
@yoh-there

This comment has been minimized.

Copy link
Collaborator

@yoh-there yoh-there commented Feb 16, 2020

First Beta is out, actually more alpha regarding the ZE50 stuff. The ECU tab in the spreadsheet is slowly being ammended,

@arqueox

This comment has been minimized.

Copy link

@arqueox arqueox commented Feb 24, 2020

There is something i can do to use a beta version of ios app on my ZE50? I could try and give you my feedback about.

@arqueox

This comment has been minimized.

Copy link

@arqueox arqueox commented Feb 24, 2020

First Beta is out, actually more alpha regarding the ZE50 stuff. The ECU tab in the spreadsheet is slowly being ammended,

No IOS beta app yet?

@FredLeudon

This comment has been minimized.

Copy link
Collaborator Author

@FredLeudon FredLeudon commented Feb 24, 2020

@arqueox

This comment has been minimized.

Copy link

@arqueox arqueox commented Feb 26, 2020

Hi, A new iOS beta app will be available soon Regards Frédéric RICHARD

Oh thnx! I’ll wait then

@Steckmaestro

This comment has been minimized.

Copy link

@Steckmaestro Steckmaestro commented Feb 28, 2020

I can borrow this.

I tried CanZE for Android using Samsung S8. Appversion 1.52beta4.

Tried with Zoe R135 (ZE50) - Swedish car.

I used two different ODBII dongles (first a bluetooth one I bought previously and after reading your recommendation I ordered Konweii and tried with that one.

Hopefully debug logs can tell you something. I'm really looking forward to be able to see more detailed information about my Zoe :)

debug-2020-02-27-17-38-40.log

@KarelSvo

This comment has been minimized.

Copy link

@KarelSvo KarelSvo commented Feb 28, 2020

I'm really looking forward to be able to see more detailed information about my Zoe :)

Yes there is a python kivy app that can show such information ;)
tested on new Zoe and connected to over 20 ecus

@yoh-there

This comment has been minimized.

Copy link
Collaborator

@yoh-there yoh-there commented Feb 28, 2020

Getting there. Seems like the braking system has changed significantly, so we might need to defer the torques, but there is progress. Getting info out is "cracked". Getting the same info presented consistently is a different game.

@ik2wxx

This comment has been minimized.

Copy link

@ik2wxx ik2wxx commented Mar 2, 2020

Hello, how can I apply for iOS beta test for Zoe ZE50 ?
Thank you

@kkornel13

This comment has been minimized.

Copy link

@kkornel13 kkornel13 commented Mar 2, 2020

Hey guys,
A month ago I used CanZE on Reanult Zoe Q90 with LELink iOS bluetooth adapter. I connacted it with my iPad, and it worked really well. But I would like to export the real-time consumption datas (the numbers), but the app does not send the log files. So my question is how can I export the log files? Unfortunatelly I am not exactly a tech expert, so every help is greatly appreciated.
Thank you very much

@abrensch

This comment has been minimized.

Copy link

@abrensch abrensch commented Mar 23, 2020

Hi,

I have a couple of question on CanZE / new ZOE / Bluetooth Dongle, hoping someone can steepen my learning curve.

I'm expecting my ZOE R 110 Z.E. 40 next week (seems I made it before the production shutdown at 16.3.2020 ...). I was occasional User of CanZE with car-sharing rents of ZOE

  • am I right that, though it's not ZOE 50, your thoughts here apply, because it's the face-lifted version where the ODB2 connector is near your left foot ?

  • can I expect that CanZE will (someday) work on a ELM327 clone, or do I need the CanSee hardware?

I am working on integrated range assistence that need to read realtime data from the ZOE. It's only a very small subset of what CanZE can read (just speed, SOC, amps and volts). I append below some pseudo code, that is working with a KONNWEI Bluetooth dongle and an "old" ZOE 40. Any chance to get that running on the "new" ZOE40?

thanx, Arndt

here the pseudo-code (that was inspired by what's inside CanZE):

        reader.writeToElm("atz");  // full reset
        reader.writeToElm("ate0");  // no echo
        reader.writeToElm("ats0");
        reader.writeToElm("ath0");  // header off
        reader.writeToElm("atl0");
        reader.writeToElm("atal");
        reader.writeToElm("atcaf0");
        reader.writeToElm("atfcsh77b");
        reader.writeToElm("atfcsd300000");
        reader.writeToElm("atfcsm1");
        reader.writeToElm("atsp6");

        // now periodic commands
        for (; ; ) {
            .... cycle wait ...
            reader.writeToElm("atar");
            reader.writeToElm("atsh7e4");
            reader.writeToElm("atfcsh7e4");

            reader.writeToElm("03223203");
            p = reader.getResult().get(0);
            reading.lbcvolt = read2(p,4) * 0.5;

            reader.writeToElm("03223204");
            p = reader.getResult().get(0);
            reading.lbcamps = (32768 - read2(p,4))*0.25;

            p = reader.readFreeFrame( "5d7", 7 );
            reading.speed = 0.01 * read2(p, 0);

            p = reader.readFreeFrame( "427", 0 );
            reading.aenergy = (read2(p, 6) >> 6 )* 0.1;
        }
@yoh-there

This comment has been minimized.

Copy link
Collaborator

@yoh-there yoh-there commented Mar 23, 2020

If it's the ZOE with the OBD2 on the far left side, consider it for CanZE purposes, a ZE50, sorry

You do not need a CanSee dongle. It nice and fast, but decent ELMs do work for the ZE50.

That code won't work at the moment. The free frames are not present on the OBD2 connector. The others work "in principle". LBC commands work for sure, though they are different (unless your car uses the "old" battery computer, I don't know that). You need to open the secure gateway (easy, just one command) and then do exactly the same. That is already in the code base.

@KarelSvo

This comment has been minimized.

Copy link

@KarelSvo KarelSvo commented Mar 29, 2020

here the pseudo-code (that was inspired by what's inside CanZE):

        reader.writeToElm("atz");  // full reset
        reader.writeToElm("ate0");  // no echo
        reader.writeToElm("ats0");
        reader.writeToElm("ath0");  // header off
        reader.writeToElm("atl0");
        reader.writeToElm("atal");
        reader.writeToElm("atcaf0");
        reader.writeToElm("atfcsh77b");
        reader.writeToElm("atfcsd300000");
        reader.writeToElm("atfcsm1");
        reader.writeToElm("atsp6");

        // now periodic commands
        for (; ; ) {
            .... cycle wait ...
            reader.writeToElm("atar");
            reader.writeToElm("atsh7e4");
            reader.writeToElm("atfcsh7e4");

            reader.writeToElm("03223203");
            p = reader.getResult().get(0);
            reading.lbcvolt = read2(p,4) * 0.5;

            reader.writeToElm("03223204");
            p = reader.getResult().get(0);
            reading.lbcamps = (32768 - read2(p,4))*0.25;

            p = reader.readFreeFrame( "5d7", 7 );
            reading.speed = 0.01 * read2(p, 0);

            p = reader.readFreeFrame( "427", 0 );
            reading.aenergy = (read2(p, 6) >> 6 )* 0.1;
        }

Hi
The free frame 5d7, on phase 1 transmits from the ABS but on phase 2 with it Cell voltages sent by the BMS. Phase 2 uses the new Renault Nissan electronics platform.
You must to build your project for phase 2 from scratch. For more information, give an email address.

@abrensch

This comment has been minimized.

Copy link

@abrensch abrensch commented Mar 29, 2020

Thank you guys for making me hopeful that I can get that working

The free frame 5d7, on phase 1 transmits from the ABS but on
phase 2 with it Cell voltages sent by the BMS. Phase 2 uses the
new Renault Nissan electronics platform. You must to build your
project for phase 2 from scratch. For more information, give an
email address.

For speed (that I was reasding from free frame 5d7) I have the GPS-speed as a fallback, just in case.

The available energy read from free frame 427 is 0.1 kWh in resolution, which is not enough for my use case, so I added some averaging/filtering with the electric power. I have a similar adapter working for Nissan Leaf (at least the older models) where there's a 6-digit "micro-soc" that worked out-of-the box. So I am curious what's possible for ZOE ph2.

@abrensch

This comment has been minimized.

Copy link

@abrensch abrensch commented Apr 5, 2020

I am working on integrated range assistence that need to read
realtime data from the ZOE. It's only a very small subset of what
CanZE can read (just speed, SOC, amps and volts).

I got that working (with some Help from Karel)

Reading 5 fields now per cycle from the EVC only, in that order:

  • 22303E kWh per SOC %
  • 2220BE State of charge
  • 2220FE volts (measured at the battery)
  • 2221CC amps (measured at the battery)
  • 223064 Motor RPM ( rpm*0.012325 = speed/kmh )

It's about 400ms (80ms per field).

Actually, it works better then my solution for Phase1 ( faster, less latency, better resoltion SOC)

Thanx again

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

Successfully merging a pull request may close this issue.

None yet
8 participants
You can’t perform that action at this time.