Use this forum to chat about hardware specific topics for the ESP8266 (peripherals, memory, clocks, JTAG, programming)

User avatar
By MikeBolton
#26095
martinayotte wrote:If you were using 2 MOSFET circuits mentioned above tied together (only 1 pullup needed on the 3V side), you will end up with an AND configuration, so no needs for inverter ...


Martin

I still don't think you have appreciated what I am doing. My logic needs two separate NAND gates. I have the logic and the one transistor needed. I am not going to buy even one MOSFET, let alone two when I can achieve the same without. You seem to have got 'hung up' on the inverter issue. The topic, and my original query, was just about the input requirements of the ESP Rx pin. It had nothing to do with 'inverters' or level shifting. It is relevant however to anyone wanting to drive the Rx pin from any external circuitry.

Mike B
User avatar
By martinayotte
#26098 Hi Mike,
If I understood, you simply wish to multiplexing 2 serial 5V inputs into the single 3V input of the ESP, right ?
That is what my circuit suggestion is doing, as simple as possible.
User avatar
By MikeBolton
#26150 Martin

I am multiplexing in both directions with the ability to choose the source in each case and also, optionally, adding the Tx and Rx so I can see what is happening between the PIC and ESP in both directions on a single RS232 stream. It is not quite so simple as you might think. Anyway, problem solved.

The Rx input is not just a CMOS input with clamp diodes. It has an active pullup of unknown strength. This was my original, and only issue. It needs to be driven with something more than just 4000 series logic. My only query was just what is the input characteristic of this Rx input. Seems no-one knows.

Unless someone from the ESP team can give this info. then we can consider this thread closed. Just let it be a warning to other designers of ESP interfaces.

Regards

Mike B
User avatar
By eriksl
#26164 If you want actual technical data, you might have more success asking on the Espressif "bbs" bbs.espressif.com.