In this chapter, we explored how we can use the UART and on-board a MicroPython board to transmit a stream of data that provides us developers with insights into how our system is behaving. We created a stream of known data that represented temperature and humidity data to verify that a host-based visualizer application was able to parse the data stream and then plot the data in real time. With this communication loop closed, we now have the ability to plot important information such as sensor values, but we can also transmit trace data from our MicroPython application and then plot it to get a better understanding of how our applications are behaving and use this information to troubleshoot our applications.
In the next chapter, we are going to look at how we can integrate motion and gesture detection sensors and interact with them using MicroPython to control a robot...