Test Day(Faults and Possible Solutions)
On Tuesday morning, we tested the buggy with the final code to make it achieve the project objectives. As seen in my video posted, our buggy recognized the change in colour intensity and did follow the black line but the main problem was that the motors were too slow to react to the changes. By the time one motor went off and the other came on, the buggy had passed over the black line.
This made us worry and Hani tried to change the program and circuit to make it perfect but it was our bad luck. He changed the program and we programmed our buggy for testing. But the buggy just went in a straight line instead of following it. Then we tried to use the previous program but it also didn`t worked.
Possible Faults:
1.LDR Senstivity:
The two sensors had different ranges of operation so the difference (range) between them was fluctuating and was not constant. In our case, we wanted it to increase but it was below 10 so the program did not execute.
A possible reason for varying LDR range is that the light in the different parts of the room was not constant. If the sensors were working fine, our buggy could have followed the lines easily.
2.Connection Problem
There could have been a possible problem in the motor because we noticed that our battery pack had blown up so a possible reason was problem in the board or even in the circuit board itself.
3.Skid
A Problem in the design was the skid we had chosen because although the skid was slippery but it was not able to run smoothly on the track. It got stuck on every joint between the two tracks.
Possible Solutions:
After recognizing all these problems, following are possible solutions to the faults.
1.Introduce a time delay mechanism in the program so that the buggy moves slowly and the have LDRs have plenty of time to react to the changes in colour. This would make the buggy work perfectly and without any problem.
2.Using a circuit board which does not get heated up or using high voltage batteries so that they do not over heat the board and cause any short circuit.
3.The Skid can be changed to a small ball bearing which can roll on all surfaces and is not affected by joints of track or anything else. An example is shown below.