In this chapter, we have delved into hardware testing to enhance the quality of our projects. We found how valuable this process is because, with this approach, we can isolate hardware faults from software bugs.
We added another LED to our previous prototype so that we can control multiple devices from the Android application. Then, we simulated a hardware fault in one of the electric components, removing one resistor from the circuit to produce a controlled anomaly. This led us to write our own diagnostic mode to find these kinds of faults quickly.
The first step was to add a push button to our prototype that we can use to start the diagnostic mode and then we used this functionality to mimic all the possible circuit behaviors to find the broken resistor easily.
In the next chapter, we start a new prototype from scratch, which is capable of collecting data from the environment, through a new set of electronic components. We will also write an Android application capable of reading...