Hyundai Coupe/Tuscani (Siemens ECU)

Help on hobdrive connection with vehicle, parameters configuration

Re: Hyundai Coupe/Tuscani

alawadhi3000 » 26 май 2012, 06:19

Attached.

Thanks.

Edit:- logATZ.txt is what you requested, log.txt is the same but without ATZ.
Вложения
logATZ.txt
(17.54 КБ) Скачиваний: 944
log.txt
(30.39 КБ) Скачиваний: 923
Местный
 
Сообщения: 54
Зарегистрирован: 16 май 2012, 17:36

Re: Hyundai Coupe/Tuscani

cail » 26 май 2012, 06:36

Hrr..
The sequence is absolutely the same as in your terminal:

Код: Выделить всё
[TRACE] 2012-05-26 06:25:40.628[OBD2Engine]  SendCommand:ATZ
[TRACE] 2012-05-26 06:25:41.470[OBD2Engine]  HandleReply: ELM327 v1.5
[TRACE] 2012-05-26 06:25:41.533[OBD2Engine]  SendCommand:ATSP5
[TRACE] 2012-05-26 06:25:41.580[OBD2Engine]  HandleReply: ATSP5
OK
[TRACE] 2012-05-26 06:25:41.580[OBD2Engine]  SendCommand:ATSH8111F1
[TRACE] 2012-05-26 06:25:41.626[OBD2Engine]  HandleReply: ATSH8111F1
OK
[TRACE] 2012-05-26 06:25:41.626[OBD2Engine]  SendCommand:81
[TRACE] 2012-05-26 06:25:42.391[OBD2Engine]  HandleReply: 81
BUS INIT: OK
C1 EF 8F
[TRACE] 2012-05-26 06:25:42.438[OBD2Engine]  SendCommand:2101
[TRACE] 2012-05-26 06:25:42.890[OBD2Engine]  HandleReply: 00 00 00 00 00 00 80 00 00 00 00 01 43 07 00 00

but the result is different. I don't understand that.

I see you use explicit COM port baud setting (9600). Can you remove that and leave it empty? This may have some impact.
HobDrive(свежак) + Android4 rk3188 2din + Elm327USB + Pontiac Vibe 2003
Не пишите пожалуйста вопросы в личку. Создавайте тему в соответствующем форуме.
Аватара пользователя
Администратор
 
Имя: Игорь
Сообщения: 4310
Зарегистрирован: 06 дек 2011, 15:49
Откуда: Нижний Новгород

Re: Hyundai Coupe/Tuscani

alawadhi3000 » 26 май 2012, 06:54

Attached. :D
Вложения
log.txt
(53.4 КБ) Скачиваний: 961
Местный
 
Сообщения: 54
Зарегистрирован: 16 май 2012, 17:36

Re: Hyundai Coupe/Tuscani

cail » 26 май 2012, 15:32

HobDrive(свежак) + Android4 rk3188 2din + Elm327USB + Pontiac Vibe 2003
Не пишите пожалуйста вопросы в личку. Создавайте тему в соответствующем форуме.
Аватара пользователя
Администратор
 
Имя: Игорь
Сообщения: 4310
Зарегистрирован: 06 дек 2011, 15:49
Откуда: Нижний Новгород

Re: Hyundai Coupe/Tuscani

alawadhi3000 » 26 май 2012, 17:47

I did a quick test and I think it works, I'm going to set up my xml first and then test thoroughly later.

Thanks a lot. :D
Местный
 
Сообщения: 54
Зарегистрирован: 16 май 2012, 17:36

Re: Hyundai Coupe/Tuscani

alawadhi3000 » 26 май 2012, 20:48

The last build works perfectly !!

I do have a question, how does the program check for MIL codes if the car is not OBD? In terminal I can type the code 18 00 FF 00 and it will return a string that shows the DTCs, is there anyway that this can be done in Hobdrive?

BTW I'm seriously considering buying the app once I finish getting the rest of the sensors. :D

Edit:- also how can I put this equation in the xml? ((255-A)*0.7)-50?
Местный
 
Сообщения: 54
Зарегистрирован: 16 май 2012, 17:36

Re: Hyundai Coupe/Tuscani

cail » 26 май 2012, 23:02

alawadhi, glad for you ;)

Currently customized MIL readout is not available. Mean hobdrive can only read OBD2 compliant MIL codes. Hope version 1.2 will introduce an option to readout custom formatted MIL codes.

ecuxml supports only equations of form Factor*A+Offset.
In your example that would be

Код: Выделить всё
<value-NN>-0.7</value-NN>
<offset>128</offset>
HobDrive(свежак) + Android4 rk3188 2din + Elm327USB + Pontiac Vibe 2003
Не пишите пожалуйста вопросы в личку. Создавайте тему в соответствующем форуме.
Аватара пользователя
Администратор
 
Имя: Игорь
Сообщения: 4310
Зарегистрирован: 06 дек 2011, 15:49
Откуда: Нижний Новгород

Re: Hyundai Coupe/Tuscani

alawadhi3000 » 26 май 2012, 23:19

Well, it turned out that I don't need that complex equation, the coolant and intake sensors byte are FF if the temp is -40C and 00 if its 215C (Weird Hyundai !) however the next byte is always the inverse of it (i.e if the coolant sensor is 00 then it will be FF) so I can use that byte instead of doing a weird formula. :D

So far I got the Coolant temp, intake temp, throttle position, engine load and speed sensors do display correctly and working on the rest sensors. :mrgreen:
Местный
 
Сообщения: 54
Зарегистрирован: 16 май 2012, 17:36

Re: Hyundai Coupe/Tuscani

alawadhi3000 » 27 май 2012, 12:59

I have more questions (lol).

1- How do I let the program automatically calculate MAP since I already have the MAF, Intake temp and RPM readings.
2- My instant MPG does not work, but the trip MPG does, why is that?
3- Can you add the option to select each measuring unit individually rather than use the Imperial or Metric systems? I like to use the Metric system however I like to use MPG instead of L/100KM (I still like to use liters for amount of fuel).
4- I'm planning on purchasing the app, can you compile me a the 1.1.36 version of the Hobdrive?

Thanks. :D
Местный
 
Сообщения: 54
Зарегистрирован: 16 май 2012, 17:36

Re: Hyundai Coupe/Tuscani

cail » 27 май 2012, 16:56

alawadhi,
Here is a excel file which can simplify you search for a sensor designation and formulas - it builds charts from the dump of hobdrive replies:

download/file.php?id=46

regarding your answers:

1.Why do you need MAP? I dont have the formula for such a conversion (but it can be derived I think)
2. instang MPG shows information only druring driving (speed > 0). Thats strange although that you say you have trip MPG.
3. Will consider this for the next release 1.2
4. After purchase you can contact me with your contract id and I'll send you the hobdrive's beta.
HobDrive(свежак) + Android4 rk3188 2din + Elm327USB + Pontiac Vibe 2003
Не пишите пожалуйста вопросы в личку. Создавайте тему в соответствующем форуме.
Аватара пользователя
Администратор
 
Имя: Игорь
Сообщения: 4310
Зарегистрирован: 06 дек 2011, 15:49
Откуда: Нижний Новгород

Re: Hyundai Coupe/Tuscani

alawadhi3000 » 28 май 2012, 01:51

Well I read somewhere that MAP sensor in more accurate at calculating MPG than the MAF. (I'm not sure though).

Instant MPG stays at infinity even if I'm moving (Speed >0).

Can you please give me a startup on how do I use the excel sheet?

In sheet #1 I see the ECU replies, but if I copy and paste into them the pasted values only goes in one column and not in the whole row, is there any method that I can enter the data using copy and paste from the HOBD log without manually entering them?

Also, I'll PM you regarding purchasing, thanks.
Местный
 
Сообщения: 54
Зарегистрирован: 16 май 2012, 17:36

Re: Hyundai Coupe/Tuscani

cail » 28 май 2012, 05:23

Basically MAF is more stable, because for MAP you have to know your engine Volumetric Efficiency, which is somewhat floating and could be found only experimentally. For MAF you need no calibration.

There is also "Short time MPG". Does in showing up?

In Libre office, as soon as I paste the raw data, it offers me "Paste formatted" dialog, where I can choose to split values by space, so they go different columns.

In Excel I think there is similar dialog "Format text", or "Paste formatted".
HobDrive(свежак) + Android4 rk3188 2din + Elm327USB + Pontiac Vibe 2003
Не пишите пожалуйста вопросы в личку. Создавайте тему в соответствующем форуме.
Аватара пользователя
Администратор
 
Имя: Игорь
Сообщения: 4310
Зарегистрирован: 06 дек 2011, 15:49
Откуда: Нижний Новгород

Re: Hyundai Coupe/Tuscani

alawadhi3000 » 28 май 2012, 13:28

No, Short term MPG doesn't show up.

It also says that my Idle time is 1hr03m (the same as my trip time) which means the idle time, instant MPG and short term MPG all see the speed as 0 and therefore it thinks that I'm not moving, however Fuel Economy works fine.
Местный
 
Сообщения: 54
Зарегистрирован: 16 май 2012, 17:36

Re: Hyundai Coupe/Tuscani

cail » 28 май 2012, 14:01

I see now. Guess you put your sensors into user.ecuxml file?

Thats a problem of sensors priorities. As a temporary solution, please take f.e. delphi-mr240.ecuxml file, put your sensors in there (removing all its previous content), and choose "Delphi mr240" ECU in vehicle settings (vehicle type).

This should help.
HobDrive(свежак) + Android4 rk3188 2din + Elm327USB + Pontiac Vibe 2003
Не пишите пожалуйста вопросы в личку. Создавайте тему в соответствующем форуме.
Аватара пользователя
Администратор
 
Имя: Игорь
Сообщения: 4310
Зарегистрирован: 06 дек 2011, 15:49
Откуда: Нижний Новгород

Re: Hyundai Coupe/Tuscani

alawadhi3000 » 28 май 2012, 14:37

I'm already editing delphi-mt20u.xml, and I'm using that in the vehicles settings.
Местный
 
Сообщения: 54
Зарегистрирован: 16 май 2012, 17:36

Re: Hyundai Coupe/Tuscani

cail » 28 май 2012, 14:53

Hm.. Can you share your user.vehicles file?
HobDrive(свежак) + Android4 rk3188 2din + Elm327USB + Pontiac Vibe 2003
Не пишите пожалуйста вопросы в личку. Создавайте тему в соответствующем форуме.
Аватара пользователя
Администратор
 
Имя: Игорь
Сообщения: 4310
Зарегистрирован: 06 дек 2011, 15:49
Откуда: Нижний Новгород

Re: Hyundai Coupe/Tuscani

alawadhi3000 » 28 май 2012, 15:16

cail писал(а):Hm.. Can you share your user.vehicles file?

The file attached is from my home PC, I don't think that I've edited the vehicle profile in the car, I only modified the ECU XML in the car PC.

File is attached.
Вложения
user.zip
(533 байт) Скачиваний: 762
Местный
 
Сообщения: 54
Зарегистрирован: 16 май 2012, 17:36

Re: Hyundai Coupe/Tuscani

cail » 29 май 2012, 14:48

<idle-speed>900</idle-speed>

Hey, why that?

This means you command hobdrive to treat all speeds below 900 km/h as Idling!
HobDrive(свежак) + Android4 rk3188 2din + Elm327USB + Pontiac Vibe 2003
Не пишите пожалуйста вопросы в личку. Создавайте тему в соответствующем форуме.
Аватара пользователя
Администратор
 
Имя: Игорь
Сообщения: 4310
Зарегистрирован: 06 дек 2011, 15:49
Откуда: Нижний Новгород

Re: Hyundai Coupe/Tuscani

alawadhi3000 » 30 май 2012, 04:32

Lol, I thought that was the idle RPM speed. :mrgreen:
I removed that and the problem was solved. :P

I have some suggestions if you don't mind.

1- The currency symbol on the fuel data screen should be on the left of the number, not on the right.
2- Can you please add Bahraini Dinars (BD) into the next version? It should have three digits after the decimal point (i.e BD1.234).
3- I know you said that DTCs for non OBD-II cars will be considered for the 1.2 version but after investigation it seems that its probably easy to implement.

To get the codes the you have to send the command 18 00 FF 00 and the ECU reply will be something like:-
58 03 01 02 03 04 05 06 07 08 09

58 = ignore.
03 = Number of DTCs stored.
The two digits after them is the first code P0102.
03 =ignore.
The two digits after them is the second code (P0405).
...etc.

To clear the codes you have to send the code 14 FF 00.
Местный
 
Сообщения: 54
Зарегистрирован: 16 май 2012, 17:36

Re: Hyundai Coupe/Tuscani

cail » 30 май 2012, 13:43

1. That depends. In my country it is on a right side. I'll add some config for this
2. You can enter into the currency settings dialog whatever characters you want.
3. Sure, I know this. The point is in good integration of this because different ECU types share this MIL format. I'll let you know when beta with this functionality will be ready.
HobDrive(свежак) + Android4 rk3188 2din + Elm327USB + Pontiac Vibe 2003
Не пишите пожалуйста вопросы в личку. Создавайте тему в соответствующем форуме.
Аватара пользователя
Администратор
 
Имя: Игорь
Сообщения: 4310
Зарегистрирован: 06 дек 2011, 15:49
Откуда: Нижний Новгород

Пред.След.

Кто сейчас на конференции
Сейчас этот форум просматривают: нет зарегистрированных пользователей и гости: 3