User:Ahsanriaz6157/enes-100/project 2

Week1 Narrative
Found the location of CANbus.

Wrote items to be purchased from junkyard.

Studied a guideline about CANbus locations in various cars.

prepared for the presentation infront of the seminar

corrected some wrong labelled work in the junkyard

finally found how a CANbus looks like.

Failure
could not present as the other group was better

all the cars in the catalogue were expensive ones and could not finf toyota, honda etc.

catalogue locating CANbus

 * web installation of CANbus


 * catalogue for CANbus location

Next steps
go through the ECU project of last year.

make it work.

submit the report to the president for the donation of a car.

prepare the presentation again.

read the catalogue thoroughly

Week2 Narrative
Found the location of CANbus.

Wrote items to be purchased from junkyard.

Studied a guideline about CANbus locations in various cars.

corrected some wrong labelled work in the junkyard

finally found how a CANbus looks like.

Failure
all the cars in the catalogue were expensive ones and could not finf toyota, honda etc.

catalogue locating CANbus

 * web installation of CANbus


 * catalogue for CANbus location

Next steps
perform the experiment by connecting OBD scanner to the arduino-CANbus shield and thento the laptop.

go through the ECU project of last year.

make it work.

submit the report to the president for the donation of a car.

prepare the presentation again.

read the catalogue thoroughly

week 3 narrative
performed experiment for finding CAN high and CANlow

connected OBDscanner to multimeter, oscilloscope and a battery source andfound the active wire (purple)

orange wire was the power wire

reviewed ECU and traced down its wires through three portals

traced the active(purple wire)

problems
Could not find 12 v battery at first and had problem while soliciting.

the schematic diagram of the van was not matching the actual ECU circuit

next step
figure out the missing wires from the schematic diagram which are actually present in the ECU circuit.

charge the arduinos upto 12v connect the arduino-CANbus shield, OBD scanner with OBD portal to the computer to find CANhigh CANlow.

week4 narrative
Performed a number of experiments for making the OBD scanner power up with an arduino,CAnbus shield and arduino-CANbus shields structures.

made an analysis of ECU project and tracked down the missing wires.

experimented to find CANhigh and CANlow in the OBD sacnner wires.(experiment1)

Problems
the 12 volt battery did not work for experiment1 hence could not find CANhigh and CANlow among the five wires. had "linkage errors" shown by the OBD scanner in rest of the experiments.

Next steps
1.Check for other active wires.

2. connect other wires of the OBD scanner and plug them in CANbus shield and see for the results on source computer and OBD scanner.

3.connect the Experiment 5 procedure to a source computer and run the OBD Ombrei on the OBD scanner.

4.make a report of the ECU pins and their wires linkages, compare the schematic diagram to the actual ECU and try making it active.

Objectives
Find CANhigh and CANlow wires from the five OBDwires

procedure
connected orange wire(power) of the OBD scanner to the positive terminal of a 9 volt battery and the other end was connected to the ground of the arduino.

The arduino-CANbus shield structure connected to the source computer.

switched on the OBD sccaner and went into OBD ombrei in the OBD scanner.

disconnected the battery source for 10 seconds and then connected it back again.

Results
the battery was not working, replaced it with a charged battery but still the OBD scanner screen showed the error that No power source was detected.

 File:Experiment 1.JPG|thumb|powering OBD with a 12v battery source.if successful then find CANhigh and CANlow from the five wires in OBD scanner. File:Error in experiment 1.JPG|thumb|" please verify the tool is connected with the ignition key turned onn" was the error as the battery was not working. 

Objectives
To see that which wire is active from the five OBD portal wires from the OBD sacnner.

apparatus
Multimeter, variable battery source, Oscilloscope.

procedure
1.Connected the orange wire(power wire)of the OBD portal in the 12 volt power supply of the battery source

2.Connected the black wire(ground wire)of the OBD portal in the ground of the battery source

3.switch the OBD scanner on and then remove 12v battery source for 10 seconds and plug it back in and watch the OBD scanner.

4.Now add a multimeter by connecting the ground and power of multimeter to the ground and power of the OBD scanner.

5.Now switch on the OBD scanner and then again remove 12v battery source; plug it back in and this time watch the multimetre for the fluctuating voltages

6. add an oscilloscope and attach the ground and power of oscilloscope to the ground and power of battery source respectively. repeat the switching on of OBD scanner for 10 seconds and watch for the fluctuating voltage line on the oscilloscope.

7. Now switch to amperes on multimeter, oscilloscope and battery source and watch for the fluctuating amperes.

8. Now connect purple wire of the OBD scanner to the power sources and watch for the fluctuation. 9. Repeat the same procedure for rest of the two wires on the OBD scanner.

Results
1.The OBD scanner screen showed an error after some time of "Working" as "Linkage error"

2.The purple wire is still active as it showed fluctuation on the multimeter and the oscilloscope as it started off from 0.022 and got upto 0.032 ampere and went as far as 0.065A

3. The purple wire is attached to pin 2= J1850 (standard) usually paired up with pin 10. Pin 10 is pink and it is generally the power wire.

4. OBD power= orange wire, purple is active wire.

5. OBD can be powered.

 File:Experiment 2.JPG|thumb|Finding the active wire from the Five wires in the OBD scanner File:Experiment 2 (working).JPG|thumb|the screen of OBD scanner after plugging in the voltage source after 10 secods.The OBD scanner us trying to communicate with the connected device. File:Error in experiment 2.JPG|thumb|After some "working" by the OBD screen we saw this error "Link error" File:Diagram145163105.JPG|thumb|sdhnqejjj File:Diagrajomko65123.JPG|thumb|vdasgvbrsdgvb 

Objectives
power the OBD scanner with an arduino

Appartus
arduino,charger,OBD scanner with OBDportal( five wires)

Procedure
Connect the orange wire(power)of OBD scanner into the Vin of the arduino and the black(ground wire)of the OBD scanner into the Ground of arduino

2.connect the charger to the arduino and plug it in a switch.

results
OBD scanner was powered and the light on the arduino started to glow.

 File:Experiment 3.JPG|thumb|Powering the OBD scanner with the help of arduino. File:Experiment 3 (successful).JPG|thumb|OBD scanner got powered after plugging in the charger. 

Objectives
power the OBD scanner with CANbus shields.

apparatus
CANbus shields, arduino, charger, OBD scanner attached to OBD portal with five wires.

Procedure
Plug in the orange wire(power) and the black wire(ground) of the OBD scanner to the Vin and ground of CANbus shield and an arduino respectively.

2.connect a charger with the arduino and plu it in.

Result
1. The OBD scanner was powered.

2. The light bulb on the CANbus shield started to blink and the light on the arduino glowed.

 File:Experiment 4.JPG|thumb|Canbus shield-arduino powering OBD scanner. 

Objectives
power the CANbus shield with an Arduino-CANbus shield structure.

apparatus
CANbus shields, arduinos,charger,OBD scanner attached to OBD portal with five wires.

Procedure
1.connect a CANbus shield on top of an arduino making a CANbus shield-arduino structure; do the same for the other CANbus shield and arduino.

2.Connect the orange wire (power) and the black wire(ground)of the OBD sacnner to the two Vin and two grounds of the two CANbus shields-arduino structures respectively. use a wire cap to connect some wires togather.

3. connect the charger with one arduino and plug it in.

Results
1. the light of the arduino glowed and OBD scanner was powered. 2. The light bulbs on the CANbus shields were blinking showing that the two arduino were communicating with each other.

 File:Experiment number 5.JPG|thumb|powering the OBD sacnner with the help of CANbus shield-Arduino structures. File:Experiment 5.JPG|thumb|Vin and ground of CANbus shields connected to Vin and ground wires of OBD scanner. File:Experiment 5( without voltage supply).JPG|thumb|complete structure for experiment 5; the charger is plugged out. 

Hypothesis
1. OBD scanner can be powered without connecting to a 12V battery source; though CANbus shield-Arduino structures with the two arduinos still communicating with each other. 2. The error given by the OBD scanner was be removed. "no power source detected"

3.Orange is the power wire and purple is still active.

Videos

 * |Experiment experiment 2
 * |Experiment experiment 1
 * |Failure in experiment 1
 * |experiment experimet 3
 * |experiment experiment 3
 * | experiment 4
 * | experiment 5