Leaving GPIO floating?

14 views
Skip to first unread message

Ulf Holt

unread,
May 3, 2025, 9:20:11 AMMay 3
to TasmotaUsers
Maybe a silly question:

Is it best to pull most GPIO pins high with a 10 k resistor on ESP32 modules or is it ok to leave them floating?

I am using ESP32-c3-WROOM in some of my projects, and I know about GPIO8 and GPIO9 and how to configure them. The documentation also recommend to pull GPIO2 high, but what about the rest (except for reading input values, I recon).

Best regards

Ulf H.

Philip Knowles

unread,
May 3, 2025, 2:16:19 PMMay 3
to Ulf Holt, TasmotaUsers
Most of the GPIO have internal pullups. If the GPIO have no been allocated to inputs they can float but, if a GPIO is being used as an input, it is best practice to 'force' the state using pullup or pulldown resistors.

From: sonof...@googlegroups.com <sonof...@googlegroups.com> on behalf of Ulf Holt <ulf....@gmail.com>
Sent: 03 May 2025 14:20
To: TasmotaUsers <sonof...@googlegroups.com>
Subject: Leaving GPIO floating?
 
--
You received this message because you are subscribed to the Google Groups "TasmotaUsers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to sonoffusers...@googlegroups.com.
To view this discussion, visit https://groups.google.com/d/msgid/sonoffusers/042a9fe0-051a-4c03-a138-27a50104e0a6n%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages