forked from Aircoookie/WLED
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Add missing palettes * A build file and README for the QuinLED-Dig-Quad Preassembled (Aircoookie#1643) * runs w/ multi and temp on my preasmbld QL-DQuad * working build file * runs w/ multi and temp on my preasmbld QL-DQuad * working build file * Remove custom info * Added README, found the UI update wasn't necessary * Rebase the precompiled HTML file * Spellcheck Co-authored-by: cheffpj2 <[email protected]> * Add expiration to cached palette data * Remove extra console.log * Generate ui .h files Co-authored-by: cheffpj2 <[email protected]> Co-authored-by: cheffpj2 <[email protected]>
- Loading branch information
1 parent
7f601a3
commit 49f1c43
Showing
9 changed files
with
1,023 additions
and
790 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
37 changes: 37 additions & 0 deletions
37
usermods/quinled_digquad_preassembled_unofficial_v0.1/README.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
# QuinLED-Dig-Quad Preassembled Unofficial Build | ||
|
||
This usermod targets the [Preassembled QuinLED-Dig-Quad](https://quinled.info/pre-assembled-quinled-dig-quad/). Tested on board revision v1r6b, | ||
and includes the following features: | ||
|
||
* **Multi-channel Support** - enabling use of LED1, LED2, LED3, LED4 pins to work using segments | ||
* **Temperature Sensor Support** - pulls readings from the built-in temperature sensor and adds the reading to the *Info* page in the UI | ||
|
||
## Background | ||
|
||
As a starting point, you should check out this awesome video from Quindor: [How to compile WLED yourself](https://quinled.info/2020/12/22/livestream-wled-compile/). The usermod you are reading now just provides some shortcuts for parts of what were covered in that video. | ||
|
||
## Build Firmware with Multi-channel and Temp Support | ||
|
||
1. Copy the `platformio_override.ini` file to the project's root directory | ||
1. If using VS Code with the PlatformIO plugin like in the video, you will now see this new project task listed in the PLATFORMIO panel at the bottom as `env:QL-DigQuad-Pre-v0.1` (you probably need to hit the refresh button) | ||
|
||
<img src="images/pio-screenshot.png" width="400px"/> | ||
|
||
1. Edit this file from the root directory as needed: | ||
|
||
<img src="images/params.png" width="400px"/> | ||
|
||
* `PIXEL_COUNTS` may need to be adjusted for your set-up. E.g. I have lots of LEDs in Channel 1, but that's probably unusual for most | ||
* `DATA_PINS` may need to be changed to "16,3,1,26" instead of "16,1,3,26" apparently depending on the board revision or some such | ||
|
||
1. Build the mod (e.g. click `Build` from the project task circled above) and update your firmware using the `QL-DigQuad-Pre-v0.1` file, e.g. using _Manual OTA_ from the Config menu. Based on the video and my own experience, you might need to build twice 🤷♂️. | ||
|
||
## Observing Temperature | ||
|
||
Hopefully you can now see the Temperature listed in the Info page. If not, use Chrome Developer Tools to find the current temperature | ||
|
||
1. Open the Developer Tools Console | ||
2. Enter `lastinfo.u.Temperature` to view the Temperature array | ||
|
||
<img src="images/json-temp.png" width="300px"/> | ||
|
Binary file added
BIN
+296 KB
usermods/quinled_digquad_preassembled_unofficial_v0.1/images/json-temp.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+68.7 KB
usermods/quinled_digquad_preassembled_unofficial_v0.1/images/params.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+321 KB
usermods/quinled_digquad_preassembled_unofficial_v0.1/images/pio-screenshot.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
16 changes: 16 additions & 0 deletions
16
usermods/quinled_digquad_preassembled_unofficial_v0.1/platformio_override.ini
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
; QuinLED-Dig-Quad Preassembled Unofficial | ||
|
||
[env:QL-DigQuad-Pre-v0.1] | ||
extends = env:esp32dev | ||
build_flags = ${common.build_flags_esp32} | ||
-D ESP32_MULTISTRIP | ||
-D NUM_STRIPS=4 | ||
-D PIXEL_COUNTS="600, 300, 300, 300" | ||
-D DATA_PINS="16,1,3,26" | ||
-D RLYPIN=19 | ||
-D BTNPIN=17 | ||
-D USERMOD_DALLASTEMPERATURE | ||
-D USERMOD_DALLASTEMPERATURE_MEASUREMENT_INTERVAL=10000 | ||
lib_deps = ${env.lib_deps} | ||
milesburton/DallasTemperature@^3.9.0 | ||
OneWire@~2.3.5 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.