Week 2 Summary

In the second week we started to delve deeper into the our respective tasks. Abdul Wahab came accross some issues with the Arduino code, which he has outlined below:

In the second week the Arduino code needs to be modified because of problem that has been faced. The problem is that when the values were tested it will always show that the user have a wrong voltage value. So, the suitable thing was to use an if statement in the Arduino code and it was working correctly to a certain degree. Further research needs to be done in order to get more accurate response from the code. 

Erik continued to work on the communication between the computer and the Arduino:

We managed to work around the junk data received from the Arduino. Initially, we tried to copy only the needed data to a new, smaller string, however, this did not solve the issue, so we resorted to checking against an expected result one character at a time. Additionally, the code now sweeps across the windows COM ports to locate the Arduino and automatically connect to it once it finds it. The software can check if the device is correct, however, the software currently hangs if no response is received.

Adam made steady progress with the game code. Level 2 is now completed, which is similar to Level 1, but is a much more complicated problem involving 2 sets of parallel resistors. I had a few issues finding the best way to link each level. Having all the levels in one long C++ file seemed slighly untidy. I decided to create all the level files first then complie them together after.

Comments

Popular posts from this blog

Week 4 summary

Week 3 Summary