Cov txheej txheem:

Tsheb Hacks Siv Arduino: 4 Cov Kauj Ruam
Tsheb Hacks Siv Arduino: 4 Cov Kauj Ruam

Video: Tsheb Hacks Siv Arduino: 4 Cov Kauj Ruam

Video: Tsheb Hacks Siv Arduino: 4 Cov Kauj Ruam
Video: ສອນ ການແກ້ລະບົບສົມຜົນໃນ excel part2 qhia siv excel ແກ້ລະບົບສົມຜົນ part2 2024, Hlis ntuj nqeg
Anonim
Tsheb Hacks Siv Arduino
Tsheb Hacks Siv Arduino
Tsheb Hacks Siv Arduino
Tsheb Hacks Siv Arduino

Cov ntaub ntawv no nthuav qhia yooj yim thiab raug nqi txoj hauv kev nyiag tsheb tsheb OBD kwj. Hauv qhov no kuv sim qhia txoj hauv kev kom tau txais OBD cov ntaub ntawv.

Ntawm no kuv tab tom siv Arduino UNO, CAN-Bus shield (1.2), DB9 cable txuas rau OBD chaw nres nkoj thiab rau programming Arduino IDE (uas pab hlawv qhov chaws kom yooj yim dua).

Kuv pib qhov haujlwm no txhawm rau txhim kho lub qhov rooj kaw qhov rooj thaum lub tsheb tau nrawm dua 20KM thiab pib yob ntawm txhua lub qhov rais thaum lub tsheb xauv sab nraud.

Txhawm rau nrhiav cov ntaub ntawv uas tsim los ntawm OBD chaw nres nkoj yuav tsum tau tshuaj xyuas thiab nkag siab cov ntaub ntawv ua ntej pib txoj haujlwm no. (Xav tau kev ua siab ntev ntxiv thiab txuas ntxiv los ntawm kev tso).

Nov yog zaj dab neeg pib. (Kuv tab tom sim Hyundai Grand i10, Magna, 2019 - Ua hauv Is Nrias teb, Cov ntaub ntawv yuav sib txawv raws li kev tsim khoom / sib txawv thiab lwm yam).

Kauj ruam 1: Hardaware Purchasing Links

Hardaware Purchasing Links
Hardaware Purchasing Links
Hardaware Purchasing Links
Hardaware Purchasing Links
Hardaware Purchasing Links
Hardaware Purchasing Links
Hardaware Purchasing Links
Hardaware Purchasing Links
  1. CAN-bus arduino shield-CAN-bus shield
  2. Arduino UNO - Arduino UNO
  3. OBD Chaw nres nkoj rau DB9 Cable - DB9 Cable

Kauj Ruam 2: Npaj Kho Vajtse, IDE thiab Lwm Yam Tsim Nyog

Npaj Kho Vajtse, IDE thiab Lwm Yam Uas Tsim Nyog
Npaj Kho Vajtse, IDE thiab Lwm Yam Uas Tsim Nyog

Ua ntej pib qhov haujlwm, peb yuav tsum ua kom ntseeg tau tias txhua lub cuab yeej siv rau txoj haujlwm no yuav tsum txheeb xyuas thiab ua haujlwm raws li qhov xav tau. Yog li peb yuav tsum txuas cov kho vajtse mus rau OBD chaw nres nkoj thiab xav kom ntseeg tau tias tsis muaj pa taws lossis cua sov tsis tsim los ntawm cov cuab yeej, tom qab ntawd peb yuav tsum hlawv cov qauv piv txwv kom ntseeg tau tias kho vajtse tuaj yeem nyeem cov ntaub ntawv ntws los ntawm OBD.

Thawj kauj ruam pib ntawm no, Teeb Arduino IDE hauv tshuab thiab xyuas kom tseeb tias cov tsev qiv ntawv tsim nyog tau teeb tsa ntawm nws. Tom qab txuas txuas arduino uno rau lub khoos phis tawj, tom qab ntawd peb tau xaiv qhov txuas txuas nrog chaw nres nkoj thiab hom phiaj hauv Arduino IDE.

Cov qauv piv txwv yuav tsum rub tawm los ntawm git repository thiab hlawv cov lej rau Arduino Uno, tom qab ntawd peb tau txuas daim ntaub thaiv mus rau OBD chaw nres nkoj ces pib cov ntaub ntawv nyeem.

Git Cov Chaw -

github.com/JijovarghesePunalur/CarHacks.git

Koj tuaj yeem tau txais Tus lej piv txwv thiab tsev qiv ntawv rau txuas thiab rho tawm Can-npav cov ntaub ntawv xa mus. Tom qab cloning txoj haujlwm, koj tuaj yeem luam cov ntawv qiv hauv cov arduino cov ntawv tais ceev tseg thiab ua kom suav sau thiab hlawv cov txheej txheem hauv arduino IDE.

Ua ntej hlawv cov cai rau Arduino Uno, koj yuav tsum txuas lub arduino rau lub computer tom qab ntawd yuav tsum xaiv Serial Port thiab board hom hauv Arduino IDE.

Hauv cov nplaub tshev piv txwv koj tuaj yeem pom Nyeem ntawv ua haujlwm, sau ua haujlwm thiab Cov Ntaub Ntawv Xov Xwm, cov hauv paus ntsiab lus tau los ntawm kev siv cov ntaub ntawv hauv tsev qiv ntawv. Serial-Message sib txawv nrog Nyeem ntawv raws li qhov tsim tawm, uas yog hauv qhov haujlwm no kuv tau sim siv can-utils hauv linux rau kev txheeb xyuas cov lus rov tshwm sim.

Kev siv thiab ua tiav ntawm cov tuaj yeem siv tau, koj tuaj yeem pom nws ntawm Readme.md cov ntaub ntawv ntawm CarHaks.

Kauj ruam 3: Video Txuas

Cov vis dis aus no yuav qhia koj lub tswv yim tseeb txog CAN-npav cov ntaub ntawv ntws (OBD chaw nres nkoj). Nws yuav yooj yim vim tias kuv suav nrog cov ntaub ntawv tseem ceeb.

Kauj Ruam 4: Ua Koj Tus Kheej thiab Ua Kom Yooj Yim

Sau rov qab rau CAN-npav siv cov ntaub ntawv rho tawm siv Serial Message, qhov no yuav ua rau koj xav tsis thoob tiag. (Koj tuaj yeem pom qhov kev sau ntawv hauv qhov chaw cia khoom, sim tam sim no).

Koj tuaj yeem tswj txhua yam txuas nrog ECU / BCM, tsuas yog xav tau los tshuaj xyuas cov ntaub ntawv tom qab ntawd sau rov qab.

Txoj haujlwm tom ntej yuav ua raws qhov kev tshawb fawb no - Tswj Tsheb Siv Smart phone.

Pom zoo: