Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 8015

Interfacing (DSI, CSI, I2C, etc.) • Re: Pizero-w v1.1 / bookworm / GPIO pins

$
0
0
If nothing is connected to gpio 24 and it is set to input, it should read low by default.

Code:

rpdom@cam2:~ $ pinctrl set 24 ip purpdom@cam2:~ $ pinctrl get 2424: ip    -- | hi // GPIO24 = inputrpdom@cam2:~ $ pinctrl set 24 ip pnrpdom@cam2:~ $ pinctrl get 2424: ip    -- | lo // GPIO24 = input
If it shows as high with no pull, or pull down, and nothing connected, the GPIO is probably broken which may prove fatal to the Pi after some time due to the internal damage.

Does it show as low when using an external pull down resistor of something like 10K or even 1K?

Statistics: Posted by rpdom — Thu May 01, 2025 3:22 pm



Viewing all articles
Browse latest Browse all 8015

Trending Articles