Connecting Bluetooth LE to Raspberry Pi Pico
The Bluefruit LE UART Friend is relatively simple to wire in. First, the module will need headers soldered onto it, and then we can look at how to attach it to the robot physically and how to wire it. We will then connect to it from our robot and a smartphone.
Adding Bluetooth LE will result in our robot having a block diagram as follows:
Figure 9.2 – Robot block diagram with Bluetooth
The preceding diagram shows the robot blocks with the additional Adafruit Bluefruit LE UART Friend (marked as a Bluefruit module) connected via UART to Raspberry Pi Pico.
Solder a set of male headers onto the board using the same techniques used for the modules in Chapter 8, Sensing Distances to Detect Objects with Pico.
Attaching the Bluetooth module to the robot
We want to place the module above devices that are most likely to restrict and interfere with the Bluetooth. We created a breakout shelf in Chapter 7,...