Introduction
The SparkFun BlueSMiRF v2 is a wireless Bluetooth® serial link. This version of the popular BlueSMiRF uses the ESP32. These boards work as a wireless serial UART pipe and are a great wireless replacement for serial cables. Simply pair, connect, and transmit serial data between your TX/RX lines! Any serial stream from 2400 to 921600 baud can be passed seamlessly between two devices.
In this tutorial, we'll go over the hardware and how to hookup the breakout board. We will also go over how to connect to a smartphone and a basic Arduino example to get started!
Required Materials
To follow along with this tutorial, you will need the following materials. You may not need everything though depending on what you have. Add it to your cart, read through the guide, and adjust the cart as necessary. We recommend the board with headers to minimize the amount of soldering to your application.
- 2x SparkFun BlueSMiRF v2 - Headers [WRL-23287]
- 2x Jumper Wires Premium 6" M/F Pack of 10 [PRT-09140]
- 2x SparkFun Serial Basic Breakout - CH340C and USB-C [DEV-15096]
- 2x Reversible USB A to C Cable - 0.8m [CAB-15425]
Tools (Optional)
You will need a soldering iron, solder, and general soldering accessories for a secure connection when using the plated through holes. You may also need to solder headers or wires to any devices that the BlueSMiRF v2 is connecting to.
- Soldering Iron [TOL-14456]
- Solder Lead Free - 15-gram Tube [TOL-9163]
- Flush Cutters - Xcelite [TOL-14782]
- Hook-Up Wire - Assortment (Stranded, 22 AWG) [PRT-11375]
- Wire Strippers - 20-30 AWG [TOL-24771]
Prototyping Accessories (Optional)
For those using the PTH version, you will need to connect to the PTHs. You could use IC hooks and a breadboard for a temporary connection depending on your setup and what you have available. Of course, you will want to the solder header pins for a secure connection. We'll assume that you will want to solder a female header since there is already a BlueSMiRF v2 with the male headers available. Then again, you can still solder wire or even your own male headers if you prefer. Below are a few prototyping accessories that you may want to consider.
- Breadboard - Self-Adhesive (White) [PRT-12002]
- IC Hook with Pigtail [CAB-09741]
- Header - 6-pin Female (PTH, 0.1") [PRT-11894]
- Arduino Stackable Header - 6 Pin [PRT-09280]
- Break Away Headers - Straight [PRT-00116]
- Break Away Headers - 40-pin Male (Long Centered, PTH, 0.1") [PRT-12693]
- Jumper Wires Premium 6" M/F Pack of 10 [PRT-09140]
- Jumper Wires Premium 6" F/F Pack of 10 [PRT-08430]
You Will Also Need
Depending on your setup or what you are doing, you may need the following as well.
- 2.4GHz WiFi Network for firmware updates
- Smartphone with an Internet Service
Suggested Reading
If you aren’t familiar with the following concepts, we also recommend checking out a few of these tutorials before continuing.