ESP8266 RX and TX different usage

Is it possible to only make use of the RX pin so i could use the TX pin as a normal GPIO for input stuff

i have a wemos d1and i'm short of 1 input .

i only make use of the RX (Reading a dutch smart meter P1 ) but i'm in need of 1 extra io is it going to work if i use the TX for general purpose ?

On D1 mini, the RX pin is connected to the on-board USB-serial chip. If you connect another device to the same pin, there could be a conflict which could damage the USB-serial chip or the other device.

What voltage signal does the smart meter output? Remember that the esp chip on the wemos is a 3.3V device.

might be of interest when the OP decides that the Rx line is not going to work.

1 Like

i know the problems of voltage differents, i solved it so there is only a 3.3 V input.
is that stil a problem to make use of the TX as an indepandent input.

thanks finding a solution, but these aren't going to work in my setup.
but i will keep them in mind.

No, that's not a problem.

That's a problem. You will have 2 outputs connected to the same input == 2 outputs connected together == danger of short circuit.

Is A0 used for anything ?

No A0 isn’t use but can’t be used, tryed it.
But won’t act like a real digital input. With interupts and all that kind of stuf

Did you try programing the A0 pin by using the ESP8266 API?

I've not used a ESP8266 but I know the ESP8266 has an API that the Arduino ESP8266 core is built on top of. The ESP8266 has the same pin matrix as the ESP32. By using the ESP32's API the setting used by the Arduino ESP32's core can be bypassed. The research will be up to you.

https://docs.espressif.com/projects/esp8266-rtos-sdk/en/latest/api-reference/peripherals/gpio.html

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.