logo elektroda
logo elektroda
X
logo elektroda

[Solved] Using TXD0, RXD0 for Serial Communication on ESP8266 NodeMCU Without USB

Jacek Rutkowski 1404 5
ADVERTISEMENT
Treść została przetłumaczona polish » english Zobacz oryginalną wersję tematu
  • #1 19151590
    Jacek Rutkowski
    Level 28  
    Hello,
    Is it possible to use TXD0, RXD0 for serial communication with an external circuit when USB communication is not used in the Node MCU ESP8266?

    Between the output pins from the TXD0 and RXD0 board and the TXD and RXD from the CH340G there are resistors 470Ω so that theoretically it should be possible to communicate with other chips over serial0.
    If the external chip is unplugged during programming there should not be a problem w/o me or am I thinking right?
    I use TXD2 and TRX2 for the hardware SPI and I want to receive data in an interrupt so the hardware serial does not suit me.
  • ADVERTISEMENT
  • #2 19151652
    Anonymous
    Level 1  
  • ADVERTISEMENT
  • #3 19152280
    Jacek Rutkowski
    Level 28  
    This is what I was afraid of but I think if I give something that provides more than 3V on these 470Ω it should work. I don't want a separate power supply because the LDO is probably reverse conducting too....
  • ADVERTISEMENT
  • #4 19152332
    Anonymous
    Level 1  
  • ADVERTISEMENT
  • #5 19153222
    Jacek Rutkowski
    Level 28  
    Unfortunately but I have this version 3 with AMS1117 and cutting off +5V is not the best idea w/ me. I'll stick with the more powerful driver and probably check later today how the communication will behave under an oscilloscope.
    Using TXD0, RXD0 for Serial Communication on ESP8266 NodeMCU Without USB Using TXD0, RXD0 for Serial Communication on ESP8266 NodeMCU Without USB .
  • #6 19217420
    Jacek Rutkowski
    Level 28  
    After using the LVC1G32 like a buffer on the rxd input, communication works perfectly at 115200bps
ADVERTISEMENT