noise on serial RX - option to disable serial port (related to ADALight)?
I maintainer di solito rispondono entro 1 giorno
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 3/5
- Tempo stimato
- 1-2 giorni
- Idoneità per principianti
- 55/100
- Tipo di issue
- Funzionalità
- Chiarezza
- Abbastanza chiara
- Stato di attività
- Tranquilla
- Stack tecnologico
- cpp
- Ambito
- embedded-iot
Direzione di ricerca
Start by reading the serial-port speed setting and the ADALight serial-receive handling; the issue does not name specific files or tests. Check how the setting is applied and what happens when serial input is monitored. Done means users can disable serial monitoring when it is not needed, without disrupting other serial settings.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
With 16.0 and on, there seems to be more "active" monitoring of what WLED considers the serial port for supporting things like ADALight. The problem is that some existing WLED compatible driver boards, like DigiUNO, may not have pull-up/down resistors on otherwise unused pins that could be used for serial input (like pin 3 on that board).
As a result, if there is any electrical noise/interference in/around the board, this can trigger WLED trying to receive ADALight commands over serial when, in fact, there is nothing connected. Because this is just "noise", WLED starts restarting effects and/or stuttering trying to make sense of and/or apply garbage data from those types pins.
While ideally, hardware would provide the necessary pulldowns, there is a lot of existing hardware out there that does not, and upgrading from 15.x to 16 can result in occasional or hard to diagnose new problems/resets/flashing.
With all that, it would be helpful, in these cases, to have a way to turn the serial port monitoring off in cases where it is both not needed and causing problems. While any method would be appreciated, I can image an extra value in the serial port speed "drop down" of 0 or similar that effectively disables the serial port. Of course, exact methods aren't as important as having a method to disable serial monitoring.
It is more a hardware issue, but one that will hit a number of existing WLED users with existing and previously "working" hardware (under earlier versions) in a particularly confusing and hard to mitigate manor.
- Lingua principale
- C++
- Stelle
- 18.8k
- Fork
- 4.4k
- Merge medio
- 3g 18h
- PR unite (30g)
- 13
Preparare l'ambiente
Avvia il container di sviluppo del progetto nel browser, con il tuo account GitHub.
- Nessun Dockerfile né file Docker Compose
- Nessun modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di wled/WLED
-
Gravimeter: bars turn black at full volume (uint8_t(segmentSampleAvg*8) overflows)Forse già presa @DedeHai l’ha presa 10 giorni fa. Apertabug confirmed
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
wled/WLED#5891 · 12 commenti ·
I maintainer di solito rispondono entro 1 giorno
-
bug cannot reproduce
Difficoltà 2/5 1-3 ore Idoneità per principianti 70/100
wled/WLED#5840 · 12 commenti ·
I maintainer di solito rispondono entro 1 giorno
-
enhancement
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 88/100
I maintainer di solito rispondono entro 1 giorno
-
backburner enhancement
Difficoltà 2/5 1-3 ore Idoneità per principianti 70/100
wled/WLED#4132 · 5 commenti · 2 reazioni ·
I maintainer di solito rispondono entro 1 giorno
-
discussion enhancement
Difficoltà 2/5 1-3 ore Idoneità per principianti 70/100
wled/WLED#3478 · 13 commenti ·
I maintainer di solito rispondono entro 1 giorno
Issue simili
-
bug question
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 62/100
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 79/100
-
test(python): the CPU-bound tool overlap check compares two wall-clock samples and fails under loadAperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 84/100
CachyOS/New-Cli-Installer#50 ·
-
Difficoltà 1/5 1-3 ore Idoneità per principianti 90/100
Qiskit/qiskit-aer#2482 ·
I maintainer di solito rispondono entro 1 giorno