hi..i am new to this iot project.. i am using nodemcu esp8266 and arduino uno for my project .. i use two source code which is one for the wifi and database and the other one is to read data from sensor. I use software serial to connect them but data from my sensor did not load into the database.. the reading only visible at serial monitor.. please help me on how to connect the esp8266 with the arduino using software serial ...
I would suggest to study Serial Input Basics to handle the Serial input in the right way. If you are off for whatever reason after your readString() then your tests won't match.
Arduino D2 is the Rx pin for the Arduino, so should be connected to pin Tx of the ESP.
Arduino D3 is the Tx pin for the Arduino, so should be connected to pin Rx of the ESP - through a voltage adapter as your ESP is likely not 5V compatible.
ost:11, topic:870515"]
please take a paper and a pencil and draw lines showing your connexions and post a picture here.
[/quote]
here is the connection ... sorry for taking your time
Anyway, do you tested NodeMCU standalone for sending data to FireBase? Does it work?
And do you able to test only the UART connection? offline? for example read SoftwareSerial and write to Serial, so you can see it in serial monitor of ArduinoIDE.