-->
Page 1 of 1

GPIO operation on uart pins...

PostPosted: Thu Dec 18, 2014 12:56 am
by misentropy
Hi,

I don't have my modules nearby at the moment (ESP-01); so I can't test things for myself, nor find anything in TFM about it.

Is it at all possible to use the TX/RX pins as GPIO with nodeMCU?

Re: GPIO operation on uart pins...

PostPosted: Thu Dec 18, 2014 9:04 am
by hwiguna
misentropy wrote:Hi,

I don't have my modules nearby at the moment (ESP-01); so I can't test things for myself, nor find anything in TFM about it.

Is it at all possible to use the TX/RX pins as GPIO with nodeMCU?


That is an excellent question! More I/O would be nice.
I do not know the answer. However, it certainly look like hardware-wise it is possible.
According to IC pin definition, RX/TX are GPIO03/GPIO01 respectively.
And those ports are listed in NodeMCU's Summary
Software-wise, I think the firmware must be told to step aside (close console?) or that would interfere with using RX/TX as user I/O.

Re: GPIO operation on uart pins...

PostPosted: Thu Dec 18, 2014 9:17 am
by ThomasW
Hi,
Look at this post:
viewtopic.php?f=23&t=595&start=20#p4556
.. and the following ones. I didn't try it but I think that's what you want..

Thomas