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/arduino_example.md
+13-10Lines changed: 13 additions & 10 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -19,7 +19,7 @@ For the scope of this tutorial, we will highlight the example from the GitHub re
19
19
20
20
After unzipping the compressed files, navigate to the example: ... > **SparkFun_Soft_Power_Switch_USB-C-main** > **Examples** > **SoftPowerSwitchMk2_Example** > **SoftPowerSwitchMk2_Example**.
21
21
22
-
If you have not already, connect the Soft Power Switch's power, OFF, and PUSH to your Arduino's GPIO pins. In this case, we used the SparkFun IoT RedBoard - ESP32 Development Board. Depending on your microcontroller, you may need to adjust the pin connections and definitions with respect to the microcontroller's GPIO pins. At this point, you can connect the USB power source into the Soft Power Switch's IN port and connect the OUT port to the RedBoard's USB port.
22
+
If you have not already, connect the Soft Power Switch's power, OFF, and PUSH to your Arduino's GPIO pins. In this case, we used the SparkFun IoT RedBoard - ESP32 Development Board. Depending on your microcontroller, you may need to adjust the pin connections and definitions with respect to the microcontroller's GPIO pins. Then connect the USB from the IN to your computer's USB port. Press the power button to turn the Soft Power Switch ON.
23
23
24
24
<divstyle="text-align: center;">
25
25
<table>
@@ -56,13 +56,16 @@ If you have not already, connect the Soft Power Switch's power, OFF, and PUSH to
56
56
</table>
57
57
</div>
58
58
59
-
insert here
60
-
61
-
62
-
63
-
64
-
65
-
action shot serial basic breakout connected to Arduino
59
+
<divstyle="text-align: center;">
60
+
<table>
61
+
<tr style="vertical-align:middle;">
62
+
<td style="text-align: center; vertical-align: middle; border: solid 1px #cccccc;"><a href="../assets/img/PRT-27081-Soft-Power-Switch-USB-C_Button_State_Push.jpg"><img src="../assets/img/PRT-27081-Soft-Power-Switch-USB-C_Button_State_Push.jpg" width="600px" height="600px" alt="Uploading Code to ESP32 IoT RedBoard with Soft Power Switch Connected"></a></td>
63
+
</tr>
64
+
<tr style="vertical-align:middle;">
65
+
<td style="text-align: center; vertical-align: middle; border: solid 1px #cccccc;"><i>Uploading Code to ESP32 IoT RedBoard with Soft Power Switch Connected</i></td>
66
+
</tr>
67
+
</table>
68
+
</div>
66
69
67
70
68
71
@@ -284,7 +287,7 @@ After uploading the code, disconnect the Arduino from your COM port. Then wire a
<td style="text-align: center; vertical-align: middle; border: solid 1px #cccccc;"><i>3.3V Serial Basic Connected to ESP32 IoT RedBoard Hardware UART</i></td>
@@ -296,7 +299,7 @@ After uploading the code, disconnect the Arduino from your COM port. Then wire a
296
299
297
300
### Initial Boot
298
301
299
-
Open the [Serial Monitor](https://learn.sparkfun.com/tutorials/terminal-basics) or terminal emulator of your choice, and connect to the 3.3V Serial Basic Breakout's COM port with the baud rate set to **115200**. Insert a USB power source into the Soft Power Switch's IN port. Hit the reset button on the ESP32 IoT RedBoard. Hit the reset button on the ESP32 IoT RedBoard. Since we are using the ESP32, we will see an initial output when the microcontroller boots up. If the button is not held down for 0.5 seconds, you will receive the following message as shown below.
302
+
Open the [Serial Monitor](https://learn.sparkfun.com/tutorials/terminal-basics) or terminal emulator of your choice, and connect to the 3.3V Serial Basic Breakout's COM port with the baud rate set to **115200**. Insert a USB power source into the Soft Power Switch's IN port. Hit the reset button on the Soft Power Switch. Since we are using the ESP32, we will see an initial output when the microcontroller boots up. If the button is not held down for 0.5 seconds, you will receive the following message as shown below.
0 commit comments