Having problems in connecting pushbutton

how do i connect push button to wifi module? i tried connecting to 3.3v and 0 pin but its not working.

Hi @me22b045,

The push button must always be connected in series with the component you are trying to control, whether it is an LED or a buzzer.

A switch can only exist in one of two states: open or closed. In the off state, it acts like an open gap in the circuit, preventing current from flowing. The two-pin switch we shipped is a push-to-on switch, which acts as a closed circuit when pressed and an open circuit when released when connected in series with the component.

Could you please share your circuit connections so we can check them and assist you further?