Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

noise on serial RX - option to disable serial port (related to ADALight)?

Aperta
#5,652 22 commenti 0 reazioni 0 assegnatari Vedi su GitHub

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

enhancement workaround

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

Apri in Codespaces

Avvia il container di sviluppo del progetto nel browser, con il tuo account GitHub.

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di wled/WLED

Tutte le issue di wled/WLED

Issue simili

Altre issue su C++

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.