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
-[Opening the Project (Arduino IDE)](#opening-the-project-arduino-ide)
11
+
-[Building the Project (Arduino IDE)](#building-the-project-arduino-ide)
12
+
-[Uploading to the ESP32 (Arduino IDE)](#uploading-to-the-esp32-arduino-ide)
12
13
-[Option 2: PlatformIO](#option-2-platformio)
13
-
-[Install PlatformIO](#install-platformio)
14
-
-[Opening the Project](#opening-the-project-platformio)
15
-
-[Building the Project](#building-the-project-platformio)
16
-
-[Uploading to the ESP32](#uploading-to-the-esp32-platformio)
17
-
-[PlatformIO Specific Notes](#platformio-specific-notes)
14
+
-[Install PlatformIO](#install-platformio)
15
+
-[Opening the Project (PlatformIO)](#opening-the-project-platformio)
16
+
-[Building the Project (PlatformIO)](#building-the-project-platformio)
17
+
-[Uploading to the ESP32 (PlatformIO)](#uploading-to-the-esp32-platformio)
18
+
-[PlatformIO Specific Notes](#platformio-specific-notes)
18
19
-[Additional Notes](#additional-notes)
19
20
20
-
21
-
22
-
23
21
## Prerequisites
24
22
25
23
### Install ESP32 Drivers
@@ -31,7 +29,6 @@
31
29
-**Windows:** Check the Device Manager for the COM port associated with your ESP32.
32
30
-**macOS/Linux:** Verify the presence of `/dev/tty.*` devices corresponding to your ESP32.
33
31
34
-
35
32
## Option 1: Arduino IDE
36
33
37
34
### Install Arduino IDE
@@ -58,14 +55,12 @@
58
55
### Install Required Libraries
59
56
60
57
1.**Install EspSoftwareSerial:**
61
-
62
58
- Navigate to `Sketch` > `Include Library` > `Manage Libraries`.
63
59
- In the **Library Manager** window, enter **"EspSoftwareSerial"** into the search bar.
64
60
- Locate the **EspSoftwareSerial** library in the search results.
65
61
- Click the **Install** button to add the library to your Arduino environment.
66
62
67
63
2.**Install DRA818:**
68
-
69
64
> **Note:** The version of the DRA818 library available through the Arduino Library Manager is currently broken. To ensure proper functionality, you need to install it manually from the official GitHub release.
70
65
71
66
-**Download the DRA818 Library ZIP:**
@@ -80,8 +75,7 @@
80
75
- A confirmation message should appear indicating that the library was added successfully.
81
76
82
77
3.**Confirm All Libraries Are Installed:**
83
-
84
-
- After completing the above steps, ensure that both **EspSoftwareSerial** and **DRA818** are listed under `Sketch` > `Include Library`.
78
+
- After completing the above steps, ensure that **EspSoftwareSerial** and **DRA818** are listed under `Sketch` > `Include Library`.
85
79
- If any libraries are missing, revisit the installation steps to ensure they were added correctly.
86
80
87
81
### Opening the Project (Arduino IDE)
@@ -111,7 +105,6 @@
111
105
- The Arduino IDE will compile (if not already done) and upload the firmware to the ESP32.
112
106
- Monitor the output pane for upload progress and confirmation of success.
113
107
114
-
115
108
## Option 2: PlatformIO
116
109
117
110
### Install PlatformIO
@@ -174,13 +167,12 @@
174
167
### PlatformIO Specific Notes
175
168
176
169
-**Renaming the Main File for IntelliSense:**
177
-
-**For IntelliSense to work properly in PlatformIO**, rename the main project file from `.ino` to `.cpp`. For example, rename `kv4p_ht_esp32_wroom_32.ino` to `kv4p_ht_esp32_wroom_32.cpp`.
178
-
-**Important:** Do **not** commit this renamed file to the repository. Keeping the file as `.ino` in the repository ensures compatibility with the Arduino IDE build process.
179
-
-**Workflow Suggestion:**
180
-
- When working locally in PlatformIO, perform the rename to benefit from IntelliSense.
181
-
- Before committing changes, revert the file extension back to `.ino` to maintain Arduino IDE compatibility.
182
-
183
-
170
+
-~~**For IntelliSense to work properly in PlatformIO**, rename the main project file from `.ino` to `.cpp`. For example, rename `kv4p_ht_esp32_wroom_32.ino` to `kv4p_ht_esp32_wroom_32.cpp`.~~
171
+
- I don't think this is necessary anymore. My (@SmittyHalibut) PlatformIO does all the right things just editing a .ino file now (Jan 2025).
172
+
-**Important:** Do **not** commit this renamed file to the repository. Keeping the file as `.ino` in the repository ensures compatibility with the Arduino IDE build process.
173
+
-**Workflow Suggestion:**
174
+
- When working locally in PlatformIO, perform the rename to benefit from IntelliSense.
175
+
- Before committing changes, revert the file extension back to `.ino` to maintain Arduino IDE compatibility.
184
176
185
177
## Additional Notes
186
178
@@ -194,7 +186,3 @@
194
186
195
187
-**Consistent Project Structure:**
196
188
- Ensure that any changes made in one environment (e.g., library installations, code modifications) are compatible with the other to maintain consistency across both build systems.
0 commit comments