You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/firmware_update.md
+3-5Lines changed: 3 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,13 +1,11 @@
1
-
From time to time, SparkFun will release new firmware for the BlueSMiRF V2 product line to add and improve functionality. For most users, firmware can be upgraded over a 2.4GHz WiFi network using the [OTA method](firmware_update.md#updating-firmware-over-the-air). Users can also update the firmware manually using a Command Line Interface (CLI)
1
+
From time to time, SparkFun will release new firmware for the BlueSMiRF v2 product line to add and improve functionality. For most users, firmware can be upgraded over a 2.4GHz WiFi network using the [OTA method](firmware_update.md#updating-firmware-over-the-air). Users can also update the firmware manually using a Command Line Interface (CLI)
2
2
3
3
4
4
5
5
### Updating Firmware Over-The-Air (OTA)
6
6
7
7
Once the `AT-WiFiSSID` and `AT-WiFiPassword` settings have been entered for your local WiFi network, the `ATC` command can be issued to check for new firmware. If new firmware is available, send the `ATU` command to begin an update.
8
8
9
-
10
-
11
9
# Manually Updating Firmware Over Serial
12
10
13
11
Because it's much easier to use, we recommend the OTA firmware update process. If that fails for some reason, the following CLI method can be used.
@@ -16,7 +14,7 @@ Because it's much easier to use, we recommend the OTA firmware update process. I
16
14
17
15
### Entering Bootloader Mode
18
16
19
-
Hold the **PAIR** button while powering the BlueSMiRF V2. This will cause the ESP32 to enter bootloader mode. Once the BlueSMiRF V2 is in bootloader mode, the **STATUS** LED will be dimly lit and the **CONNECT** LED will be off.
17
+
Hold the **PAIR** button while powering the BlueSMiRF v2. This will cause the ESP32 to enter bootloader mode. Once the BlueSMiRF v2 is in bootloader mode, the **STATUS** LED will be dimly lit and the **CONNECT** LED will be off.
20
18
21
19
We recommend using a [breadboard](https://www.sparkfun.com/products/12002) or [jumper wires](https://www.sparkfun.com/products/11026) to connect the BlueSMiRF to a [USB-to-Serial](https://www.sparkfun.com/products/15096) connection. At a minimum, you will need to connect the UART pins, power, and ground as stated in the hardware hookup. Remember, the TX and RX connections must be crossed over.
22
20
@@ -91,7 +89,7 @@ We recommend using a [breadboard](https://www.sparkfun.com/products/12002) or [j
91
89
</div>
92
90
93
91
!!! note
94
-
The connection also includes two additional connection for flow control: <spanSTYLE="text-decoration:overline">RTS</span> and CTS. These two connections are not needed for a basic serial UART connection. However, using all six wires can help make a tighter connection on the 1x6 header. The wire colors also connect TXO-to-RXI and RXI-to-RXO to indicate that it is not a direct connection between the two boards and the 1x6 header.
92
+
The connection also includes two additional connection for flow control: <spanSTYLE="text-decoration:overline">RTS</span> and <spanSTYLE="text-decoration:overline">CTS</span>. These two connections are not needed for a basic serial UART connection. However, using all six wires can help make a tighter connection on the 1x6 header. The wire colors also connect TXO-to-RXI and RXI-to-RXO to indicate that it is not a direct connection between the two boards and the 1x6 header.
Copy file name to clipboardExpand all lines: docs/hardware_overview.md
+6-12Lines changed: 6 additions & 12 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -115,13 +115,13 @@ The reset PTH labeled as <span STYLE="text-decoration:overline">RST</span> will
115
115
</div>
116
116
117
117
118
-
Both boards include a standard serial UART header seen on many USB-to-serial converters: <spanSTYLE="text-decoration:overline">RTS</span>/RXI/TXO/VCC/<spanSTYLE="text-decoration:overline">CTS</span>/GND. Depending on the version that you receive, one will be PTH while the other is includes right angle male headers. Due to spacing, the PTH version will also have a different silkscreen labels.
118
+
Both boards include a standard serial UART header seen on many USB-to-serial converters: <spanSTYLE="text-decoration:overline">RTS</span>/RXI/TXO/VCC/<spanSTYLE="text-decoration:overline">CTS</span>/GND. Depending on the version that you purchase, one will be PTH while the other includes right angle male headers. Due to spacing, the PTH version will also have slightly different silkscreen labels.
119
119
120
-
* <b><spanSTYLE="text-decoration:overline">RTS</span></b> / <b><spanSTYLE="text-decoration:overline">RT</b> — The Return to Send is an output and is used for hardware flow control in some serial interfaces. Unlike Tx and RX, this pin does not include logic level translation. This output is not critical for simple serial communication.
120
+
* <b><spanSTYLE="text-decoration:overline">RTS</span></b> / <b><spanSTYLE="text-decoration:overline">RT</b> — The Ready to Send is an output and is used for hardware flow control in some serial interfaces. This output is not critical for simple serial communication. If flow control is enabled, BlueSMiRF will drive its RTS low if its serial buffer is full (the radio is telling the host system to hold its horses).
121
121
***RXI** / **RI**— The serial receive is an input. This input pin receives serial data from another serial device. Logic level circuitry is included on this pin. **It should be connected to the TX of the other device.**
122
122
***TXO** / **TO**— The serial transmit is an output. This output pin sends serial data to another device. Logic level circuitry is included on this pin. **It should be connected to the RX of the other device.**
123
123
***VCC**/ **V** / **3V3-5V**— This input voltage supply signal is routed through a AP2112K voltage regulator and brought down 3.3V for the ESP32. We will assume that it is attached to another device's standard serial port and it is providing power to the BlueSMiRF v2. As stated earlier, the recommended input voltage is between **3.3V to 5V**.
124
-
* <b><spanSTYLE="text-decoration:overline">CTS</span></b> / <b><spanSTYLE="text-decoration:overline">CT</span></b> — The Clear to Send is an input. CTS is another serial flow control signal. Unlike Tx and RX, this pin does not include logic level translation. Like RTS, it's not required for most, simple serial interfaces.
124
+
* <b><spanSTYLE="text-decoration:overline">CTS</span></b> / <b><spanSTYLE="text-decoration:overline">CT</span></b> — The Clear to Send is an input. CTS is another serial flow control signal. Like RTS, it's not required for most, simple serial interfaces. If flow control is enabled, BlueSMiRF will send data when its CTS pin is driven low (the host system is telling the radio that it's ready for more serial data).
125
125
***GND** / **G**— The 0V reference voltage, common to any other device connected to the Bluetooth modem.
126
126
127
127
<divstyle="text-align: center;">
@@ -168,18 +168,12 @@ Both boards include a standard serial UART header seen on many USB-to-serial con
168
168
</table>
169
169
</div>
170
170
171
-
172
-
!!! warning
173
-
While the TX and RX pins have logic level circuitry, the <spanstyle="text-decoration:overline">CTS</span> and <spanstyle="text--decoration:overline">RTS</span> do not. Make sure to be careful when connecting the flow control pins to a 5V system.
174
-
175
-
176
-
177
171
### Button
178
172
179
173
The PAIR button is more than meets the eye. This button has more than one function depending on how long it is pushed down.
180
174
181
-
***Short Push**— Press and hold the button down between **4 to 8 seconds** will initiate pairing with another Bluetooth device. During that period of time, the **Status** and **Connect** LEDs will slowly blink back and forth. When the BlueSMiRF V2 fails to discover any compatible devices, it will enter _Discoverable_ mode.
182
-
***Long Push**— Press and hold the down for **more than 8 seconds**to set the ESP32 back to its factory default settings.
175
+
***Short Push**— Press and hold the button down between **4 to 8 seconds** will initiate pairing with another Bluetooth device. During that period of time, the **Status** and **Connect** LEDs will slowly blink back and forth. When the BlueSMiRF v2 fails to discover any compatible devices, it will enter _Discoverable_ mode.
176
+
***Long Push**— Press and hold the down for **more than 8 seconds** to set the ESP32 back to its factory default settings.
183
177
184
178
<divstyle="text-align: center;">
185
179
<table>
@@ -190,7 +184,7 @@ The PAIR button is more than meets the eye. This button has more than one functi
190
184
</div>
191
185
192
186
!!! note
193
-
Users can also set the BlueSMiRF v2 in bootloader mode. In this mode, you can update the firmware manually through serial using a command line interface. Users will need to hold down the PAIR button when the BlueSMiRF v2 is not powered. Applying power will set the microcontroller to bootloader mode.
187
+
Users can also set the BlueSMiRF v2 in bootloader mode. In this mode, you can update the firmware manually through serial using a command line interface. Users will need to hold down the PAIR button when the BlueSMiRF v2 is not powered. Applying power will put the microcontroller into bootloader mode.
194
188
195
189
For more information about using the button for each mode, check out the section about the [button control](../button/).
Copy file name to clipboardExpand all lines: docs/introduction.md
+2-3Lines changed: 2 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,5 @@
1
1
2
-
The [SparkFun BlueSMiRF v2](https://www.sparkfun.com/products/24113) 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 115200 baud can be passed seamlessly between two devices.
2
+
The [SparkFun BlueSMiRF v2](https://www.sparkfun.com/products/24113) 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.
3
3
4
4
<center>
5
5
<divclass="grid cards col-2"markdown>
@@ -338,11 +338,10 @@ For those using the PTH version, you will need to connect to the PTHs. You could
338
338
339
339
Depending on your setup or what you are doing, you may need the following as well.
340
340
341
-
* 2.5GHz WiFi Network for firmware updates
341
+
* 2.4GHz WiFi Network for firmware updates
342
342
* Smartphone with an Internet Service
343
343
344
344
345
-
346
345
### Suggested Reading
347
346
348
347
If you aren’t familiar with the following concepts, we also recommend checking out a few of these tutorials before continuing.
0 commit comments