diff --git a/usermods/quinled_digquad_preassembled_unofficial_v0.1/README.md b/usermods/quinled_digquad_preassembled_unofficial_v0.1/README.md new file mode 100644 index 00000000..39ae4edd --- /dev/null +++ b/usermods/quinled_digquad_preassembled_unofficial_v0.1/README.md @@ -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) + + + +1. Edit this file from the root directory as needed: + + + + * `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 + + + diff --git a/usermods/quinled_digquad_preassembled_unofficial_v0.1/images/json-temp.png b/usermods/quinled_digquad_preassembled_unofficial_v0.1/images/json-temp.png new file mode 100644 index 00000000..66e50112 Binary files /dev/null and b/usermods/quinled_digquad_preassembled_unofficial_v0.1/images/json-temp.png differ diff --git a/usermods/quinled_digquad_preassembled_unofficial_v0.1/images/params.png b/usermods/quinled_digquad_preassembled_unofficial_v0.1/images/params.png new file mode 100644 index 00000000..64233f86 Binary files /dev/null and b/usermods/quinled_digquad_preassembled_unofficial_v0.1/images/params.png differ diff --git a/usermods/quinled_digquad_preassembled_unofficial_v0.1/images/pio-screenshot.png b/usermods/quinled_digquad_preassembled_unofficial_v0.1/images/pio-screenshot.png new file mode 100644 index 00000000..e178ed16 Binary files /dev/null and b/usermods/quinled_digquad_preassembled_unofficial_v0.1/images/pio-screenshot.png differ diff --git a/usermods/quinled_digquad_preassembled_unofficial_v0.1/platformio_override.ini b/usermods/quinled_digquad_preassembled_unofficial_v0.1/platformio_override.ini new file mode 100644 index 00000000..6f416668 --- /dev/null +++ b/usermods/quinled_digquad_preassembled_unofficial_v0.1/platformio_override.ini @@ -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 \ No newline at end of file