Sie sind auf Seite 1von 32

Windows & Androids Based Car Scan Tool DR.Eng Ir.M. Harly , MT (VEDC) – Ir Herman M K, M.

Sc (PKTJ)
=======================================================================================

LAPTOP BASED CAR SCANN TOOL


USING PROTOCOL CAN BUS
Hasil Research Bersama Kemenhub & Kemendikbud

1) DR.Eng Ir. M.Harly , MT.Eng (VEDC Malang)


2) Cand. Doktor Ir. Herman Mariadi Kaharmen , M.Sc (PKTJ Tegal)

1
Windows & Androids Based Car Scan Tool DR.Eng Ir.M. Harly , MT (VEDC) – Ir Herman M K, M.Sc (PKTJ)
=======================================================================================

TEACHNING MATERIAL CONTENT


1. Electronic Number System
1.1 Hexa versus Decimal
1.2 Biner versus others
1.3 Asci
2. Basic Logic
2.1 Gate’s Characteristics
2.2 Karnaugh Map
3. Integrated Car ECU’S Network transceiver
3.1 No Coordination Car-ECU
3.2 Networked Car-ECU
4. In System Programing & Protocol’s
4.1 Hardware & Software ISP protocol
4.2 Hardware & Software UART protocol
4.3 Hardware & Software OBD II protocol group
5. Setup Port Communication
5.1 Scan tool Serial Communication
5.2 Scan tool Bluetooth Communication
5.3 Scan tool Wi-Fi Communication
6. ECU Data Logger Signal & Code Interpreter
6.1 Malfunction Code
6.2 Current Data Code
6.3 Command Data Code
7. Visual Basic Based Scan Tool
7.1 Visual Basic Scan Tool Installation
7.2 Car M&R using Visual Basic Scan Tool
8. Problems
8.1 Knowledge & Know How test
8.2 Practical/Skill Test

2
Windows & Androids Based Car Scan Tool DR.Eng Ir.M. Harly , MT (VEDC) – Ir Herman M K, M.Sc (PKTJ)
=======================================================================================

I. ELECTRONIC’S NUMBER SYSTEM

1.1 Biner versus Decimal

Decimal (10-an) component : 0-1-2-3-4-5-6-7-8-9


Biner (2-an) component : 0-1

Contoh :
12(10) = …..(2) ?
Solusi :
12/2 = 6 sisa 0
6/2 = 3 sisa 0
3/2 = 1 sisa 1
12(10) = 1100(2)

1.2 Biner versus Hexa

Hexa (16-an) component : 0-1-2-3-4-5-6-7-8-9-A-B-C-D-E-F


Decimal (10-an) component : 0-1-2-3-4-5-6-7-8-9
Biner (2-an) component : 0-1

Contoh :
12(16) = …..(2) ?
Solusi :

12(16) = 18(10)

18/2 = 9 sisa 0
9/2 = 4 sisa 1
4/2 = 2 sisa 0
2/2 = 1 sisa 0
12(16) = 10010(2)

3
Windows & Androids Based Car Scan Tool DR.Eng Ir.M. Harly , MT (VEDC) – Ir Herman M K, M.Sc (PKTJ)
=======================================================================================

Me-convert system bilangan dengan calculator programmer

1.3 Bilangan ASCII

Dalam pemrograman Visual digunakan bilangan & character ASCII sbb :

4
Windows & Androids Based Car Scan Tool DR.Eng Ir.M. Harly , MT (VEDC) – Ir Herman M K, M.Sc (PKTJ)
=======================================================================================

II. BASIC LOGIC


2.1 Gate characteristic

NOT – gate Mathematical Symbol Electronically Symbol True Table

_
AND – gate Mathematical Symbol Electronically Symbol True Table


OR – gate Mathematical Symbol Electronically Symbol True Table

5
Windows & Androids Based Car Scan Tool DR.Eng Ir.M. Harly , MT (VEDC) – Ir Herman M K, M.Sc (PKTJ)
=======================================================================================

2.2 Karnaugh Map

Problem 1 : kendali 2 Inputs – 1 Output mengharuskan kondisi sebagai berikut :

Solve the mathematical circuit

Draw the electronically circuit based on mathematical circuit

6
Windows & Androids Based Car Scan Tool DR.Eng Ir.M. Harly , MT (VEDC) – Ir Herman M K, M.Sc (PKTJ)
=======================================================================================

Problem 2 : kendali 3 Input – 1 Output mengharuskan kondisi sebagai berikut :

Solve the mathematical circuit

Develop Karnaugh Map

7
Windows & Androids Based Car Scan Tool DR.Eng Ir.M. Harly , MT (VEDC) – Ir Herman M K, M.Sc (PKTJ)
=======================================================================================

Draw the electronical circuit based on mathematical circuit

Kesimpulan : Manfaat Karnaugh Map untuk ………………………………………………………………………………………

………………………………………………………………………………………………………………………………………………………….

Latihan Basic Logic dengan software EWB

1). Install EWB


2). Buka EWB sehingga tampil halaman sebagai berikut

8
Windows & Androids Based Car Scan Tool DR.Eng Ir.M. Harly , MT (VEDC) – Ir Herman M K, M.Sc (PKTJ)
=======================================================================================

Pada menu File => Open => Pada Folder pilih file circuit “Logic Gate” klik OK

9
Windows & Androids Based Car Scan Tool DR.Eng Ir.M. Harly , MT (VEDC) – Ir Herman M K, M.Sc (PKTJ)
=======================================================================================

Maka akan terlihat electronic circuit Gate sbb:

Buatlah True – Table rangkaian di atas dan mathematical circuitnya !!!

10
Windows & Androids Based Car Scan Tool DR.Eng Ir.M. Harly , MT (VEDC) – Ir Herman M K, M.Sc (PKTJ)
=======================================================================================

III. Integrated Car ECU’S Network transceiver

3.1 No Coordination Micro-Car_ECU

Hanya meneyediakan protocol


1) ISP
2) UART/USART

11
Windows & Androids Based Car Scan Tool DR.Eng Ir.M. Harly , MT (VEDC) – Ir Herman M K, M.Sc (PKTJ)
=======================================================================================

3.2 Coordination Micro-Car_ECU with Can Bus

12
Windows & Androids Based Car Scan Tool DR.Eng Ir.M. Harly , MT (VEDC) – Ir Herman M K, M.Sc (PKTJ)
=======================================================================================

IV. IN SYSTEM PROGRAMMING & PROTOCOLS

4.1 ISP Program downloading


A). Apa yang disebut Car-ECU EEPROM CHIPPING ?

Memprogram CHIP / MICROCONTROLLER ECU melalui protocol yang dihubungkan langsung pada pin-
pin CHIP (MISO,MOSI,SCK,RESET)
Pemrograman menggunakan Assembler atau C language dengan compiler tertentu (RiDe , Code
Vision, Winar etc)

B). Apa yang disebut Car-ECU FLASH MEMORY remapping ?

Memodifikasi program CHIP YG SUDAH ADA , melalui protocol SAE, J 1939 dan tidak langsung ke
CHIP /MICROCONTROLLER tetapi lewat 2 cara yaitu :
1) CAN BUS (OBD 2)
2) Melepas CHIP dan dimodifikasi dengan EPROM WRITER

13
Windows & Androids Based Car Scan Tool DR.Eng Ir.M. Harly , MT (VEDC) – Ir Herman M K, M.Sc (PKTJ)
=======================================================================================

Contoh Architecture Car ECU

In System Programing dengan C-Language melalui Code Vision compiler

1) Buka file EMS control file

14
Windows & Androids Based Car Scan Tool DR.Eng Ir.M. Harly , MT (VEDC) – Ir Herman M K, M.Sc (PKTJ)
=======================================================================================

2) Chek kebenaran program code dengan menu Project=> compile

3) Bila “ NO ERROR “ pada information berarti program code benar

15
Windows & Androids Based Car Scan Tool DR.Eng Ir.M. Harly , MT (VEDC) – Ir Herman M K, M.Sc (PKTJ)
=======================================================================================

4) Setup Program Debugger

5) Pilih downloader AVRSTUDIO4

6) Setup Programmer Type Pilih Atmel STK500/AVRISP melalui COM14

16
Windows & Androids Based Car Scan Tool DR.Eng Ir.M. Harly , MT (VEDC) – Ir Herman M K, M.Sc (PKTJ)
=======================================================================================

7) Sekarang siap me download file program ke ECU dg menu Tool=>Chip Programmer

8) Load file-nya dg File=>load Flash, Pilih Chip yang dipakai ATmega 16

9) Klik Program all

10) Akan tampil progress flash erase dengan bar format , klik yes

11) Akan tampil progress flash programming dengan bar format , klik yes

12) Akan tampil progress EPROM erase dengan bar format , klik no

17
Windows & Androids Based Car Scan Tool DR.Eng Ir.M. Harly , MT (VEDC) – Ir Herman M K, M.Sc (PKTJ)
=======================================================================================

4.2 Hardware & Software UART protocol

UART hardware

UART software terminal chek

18
Windows & Androids Based Car Scan Tool DR.Eng Ir.M. Harly , MT (VEDC) – Ir Herman M K, M.Sc (PKTJ)
=======================================================================================

4.3 Hardware & Software OBD II protocol

OBD II to USB Hardware

19
Windows & Androids Based Car Scan Tool DR.Eng Ir.M. Harly , MT (VEDC) – Ir Herman M K, M.Sc (PKTJ)
=======================================================================================

Bluetooth Communication

20
Windows & Androids Based Car Scan Tool DR.Eng Ir.M. Harly , MT (VEDC) – Ir Herman M K, M.Sc (PKTJ)
=======================================================================================

21
Windows & Androids Based Car Scan Tool DR.Eng Ir.M. Harly , MT (VEDC) – Ir Herman M K, M.Sc (PKTJ)
=======================================================================================

OBD II Software Terminal Tester

22
Windows & Androids Based Car Scan Tool DR.Eng Ir.M. Harly , MT (VEDC) – Ir Herman M K, M.Sc (PKTJ)
=======================================================================================

23
Windows & Androids Based Car Scan Tool DR.Eng Ir.M. Harly , MT (VEDC) – Ir Herman M K, M.Sc (PKTJ)
=======================================================================================

24
Windows & Androids Based Car Scan Tool DR.Eng Ir.M. Harly , MT (VEDC) – Ir Herman M K, M.Sc (PKTJ)
=======================================================================================

V. SETUP CAN BUS COMMUNICATION

25
Windows & Androids Based Car Scan Tool DR.Eng Ir.M. Harly , MT (VEDC) – Ir Herman M K, M.Sc (PKTJ)
=======================================================================================

VI. ECU DATA LOGGER SIGNAL/CODE INTREPETER

4.1 Malfunction Code

26
Windows & Androids Based Car Scan Tool DR.Eng Ir.M. Harly , MT (VEDC) – Ir Herman M K, M.Sc (PKTJ)
=======================================================================================

4.2 Command & Current Data Code

27
Windows & Androids Based Car Scan Tool DR.Eng Ir.M. Harly , MT (VEDC) – Ir Herman M K, M.Sc (PKTJ)
=======================================================================================

VII. VISUAL BASIC SCAN TOOL

7.1 Blok Diagram PC based Car Scan tool

28
Windows & Androids Based Car Scan Tool DR.Eng Ir.M. Harly , MT (VEDC) – Ir Herman M K, M.Sc (PKTJ)
=======================================================================================

7.2 Instalasi Software VB scan tool

29
Windows & Androids Based Car Scan Tool DR.Eng Ir.M. Harly , MT (VEDC) – Ir Herman M K, M.Sc (PKTJ)
=======================================================================================

7.3 M&R dengan VB scan tool

30
Windows & Androids Based Car Scan Tool DR.Eng Ir.M. Harly , MT (VEDC) – Ir Herman M K, M.Sc (PKTJ)
=======================================================================================

31
Windows & Androids Based Car Scan Tool DR.Eng Ir.M. Harly , MT (VEDC) – Ir Herman M K, M.Sc (PKTJ)
=======================================================================================

32

Das könnte Ihnen auch gefallen