
I did actually make a great clock system that way, I modified a native SNTP sketch written for the ESP so that time info could be requested from the serial port. Indeed, I found that the AT interface has hidden undocumented timing requirements. So if you describe what you want to do in the end it will be much easier to comment if switching from AT-firmware to "Arduino-IDE-Firmware" would be a good option The line below has to be inserted in the Arduino-IDE preferences I guess somewhere on the internet the "original" AT-formware can be found to do a rollback from "your own-nodeMCU-program" to AT-Firmware but I don't know where.įor programming the nodeMCU with arduino IDE an additional board url is needed in the Arduino-IDE-preferences So I started to use nodeMCU-boards as the "new Arduino" itself.Īs you have a nodeMCU (and not only this tiny ESP8266-01) You could do the same.Ī nodeMCU-board has quite some IO-pins itself and it can be programmed with the Arduino-IDE just as Arduinons itself.ĭepending on your project this might be an alternative.Įven if you want to keep the Arduino another possabilitiy is to write your own program on the nodeMCU doing all the Wifi UDP-stuff and still send all the data over a serial interface. I took an initial look into it and found it difficult to use. I have no experience with using the AT-firmware. Any idea, suggestion is welcome, Thank you.

I searched this forum and did not encounter a similar problem. I don't know why the Arduino can't read data from the NDU module. I found that the MDU was sending correct responses to commands from the Arduino. The TX line of the NDU, which is connected to the RX line of the ARD, I connected in parallel with a special USB TTL adapter. When ARD is connected to MDU I have proved that NDU receives correct data from ARD. When I connect ARD to NDU and enter an empty program in ARD, then the ARD Serial Monitor exchanges data with the NDU module. I also connected the NDU to a USB serial TTL port. That's why I connected the Arduino to a USB Serial TTL adapter. I tested the same program with MEGA 2560 and the result is the same - wrong. The Arduino does not receive data from the NDU. I use SoftwareSerial to communicate with NDM. In Arduino, I uploaded a terminal emulation program. I connected the ARD to the NDU via a serial port (ARD TX - RX NDU, ARD RX - TX NDU), I connected the Transmit line from the Arduino via a voltage divider to the receiving line of the NDU.

I want the Arduino to exchange data with a UDP / TCP server. Arduino (ARD) does not read data from NODEMCU (NDU)
