-->
Page 1 of 4

Has anyone PULLDOWN on GPIO-pins working?

PostPosted: Fri Feb 13, 2015 6:53 am
by Markus Gritsch
Hi,

I tried getting PULLDOWN in the Lua firmware working (viewtopic.php?f=24&t=1600), but up to now to no avail. When calling
PIN_PULLUP_DIS and PIN_PULLDWN_EN for the respective pin, the behaviour seems to be like pull-up is active.

Has anyone tried this and can confirm, that pulldown is working?

Thanks,
Markus

Re: Has anyone PULLDOWN on GPIO-pins working?

PostPosted: Fri Feb 13, 2015 1:12 pm
by SpenZerX
I have the same Problem. Can anybody confirm working Pulldown?

Re: Has anyone PULLDOWN on GPIO-pins working?

PostPosted: Fri Feb 13, 2015 3:01 pm
by Markus Gritsch
BTW, my intention of using pull-down is to be able to connect a switch to GPIO0 or GPIO2 of an ESP-01 board. Because normal operation of the module only happens when neither of the pins during boot is connected to GND, the only working configuration IMO is to have the switch connect one of the GPIO pins to VCC when closed and have the GPIO pin floating when the switch is open. Pull-down would yield to a 0 in the open state.

Re: Has anyone PULLDOWN on GPIO-pins working?

PostPosted: Fri Feb 13, 2015 4:25 pm
by lethe
Markus Gritsch wrote:BTW, my intention of using pull-down is to be able to connect a switch to GPIO0 or GPIO2 of an ESP-01 board.

I don't get your need for a pulldown here. Just connect a resistor from VCC to the GPIO and a button from the GPIO to GND.

Pull-down would yield to a 0 in the open state.

What's the issue with having it read 1 in open state? You can always invert it in software.