Using Bluetooth for Data Science
In the lead up to this chapter we have looked at how the BBC micro:bit can be used to build data gathering tools that enable us to undertake meaningful real-world data science experiments. In the process we have identified a flaw in our capabilities: the micro:bit can measure almost unlimited volumes of data, but saving that data and / or getting it off of the micro:bit and into an environment where we can use it has been challenging.
At the end of Chapter 6 we concluded that wireless technology could provide us with the means to extract data as it is recorded. In this chapter we will look at one of the technologies that is available to use that can deliver this functionality: we’ll see how Bluetooth can help meet this need.
The code used in section 7.6 is provided below:
The full code listing is shown below: