• Skip to main content
  • Skip to primary sidebar

RNTLab.com

The Ultimate Shortcut to Learn Electronics and Programming with Open Source Hardware and Software

  • Courses
  • Forum
    • Forum
    • Ask Question
  • Shop
  • Account
  • Blog
  • Login

ESP32 Serial print doesn t works anymore after connecting

Q&A Forum › ESP32 Serial print doesn t works anymore after connecting
1 Vote Up Vote Down
paulfjujo asked 3 years ago

Hello,
i am facing on a new problem :
previously ,
just after the message “Connectingto ON_AIR2021”      ….  (my SSID)
i was geting  somme data on my YAT terminal ,like this :
…….etc …
I2C device found at address 0x20 MCP23017 2×8 Bits I/O
I2C device found at address 0x3C OLED SSD1306
I2C device found at address 0x77 BMP 085 Pression
Trouve 3 devices sur le Bus I2C
.. Fin de test I2C bus
BMP085 OK
Connecting to ON_AIR2021
…..
WiFi connected.
IP address:
192.168.0.103
MAC address:
08:3A:F2:8D:C9:94
i= 1 Press. 991 mBar
i= 2 Press. 991 mBar
i= 3 Press. 991 mBar
…. etc …..
i don’t understand ,why ,now, the Serial.print doesn’t work anymore ..
Nota :
data on web page are refreshed … OK
my Red led on D5 pin blink every 2 seconds ..OK
i cant see the IP adress on my OLED LCD..  OK
it means this part of programm is executed..but no more serial printout at all ?
i expected to get and print :
index value, DHT11 Temper & Humidity values, BMP085 pressure value , and OWS DS18B20 temp.value
project in the zip file https://1drv.ms/u/s!AobzXXeAgQ2De7C4lQhSBtfIMss?e=mFYCRR
Hardcopy of Web page and Terminal YAT https://1drv.ms/u/s!AobzXXeAgQ2Delwr4-HFUOwPAY0?e=37HH99
remark:  i must disconnect D2 ( DHT1 signal) to be able to Upload my programm
else upload abort with  COM port  problem ..

4 Answers
0 Vote Up Vote Down
paulfjujo answered 3 years ago

… other details ..
i can see my values , via serial.print commandes ,
after Wifi connection ( web page is active, and Gauges values are refreshed)
via Arduino Monitor ( virtual port COM56)
if i close Arduino Monitor after the message Wifi connection
and reopen it after , so i can get the print out…

results :

⸮⸮SPIFFS mounted successfully
0 BMP085 P. 987 mBar, , Humid: 89.20, Temp: 25.80, DS18B20=25.81° C
1 BMP085 P. 987 mBar, , Humid: 89.20, Temp: 25.80, DS18B20=25.81° C
2 BMP085 P. 987 mBar, , Humid: 91.00, Temp: 27.70, DS18B20=25.75° C
3 BMP085 P. 987 mBar, , Humid: 91.00, Temp: 27.70, DS18B20=25.75° C
4 BMP085 P. 987 mBar, , Humid: 92.20, Temp: 27.30, DS18B20=25.81° C
5 BMP085 P. 987 mBar, , Humid: 92.20, Temp: 27.30, DS18B20=25.81° C
6 BMP085 P. 987 mBar, , Humid: 91.70, Temp: 27.30, DS18B20=25.81° C
7 BMP085 P. 987 mBar, , Humid: 91.70, Temp: 27.30, DS18B20=25.81° C
8 BMP085 P. 987 mBar, , Humid: 91.40, Temp: 27.90, DS18B20=25.81° C
9 BMP085 P. 987 mBar, , Humid: 91.40, Temp: 27.90, DS18B20=25.81° C
10 BMP085 P. 987 mBar, , Humid: 91.20, Temp: 26.20, DS18B20=25.81° C
11 BMP085 P. 987 mBar, , Humid: 91.20, Temp: 26.20, DS18B20=25.81° C
12 BMP085 P. 987 mBar, , Humid: 91.50, Temp: 27.00, DS18B20=25.81° C
13 BMP085 P. 987 mBar, , Humid: 91.50, Temp: 27.00, DS18B20=25.81° C
14 BMP085 P. 987 mBar, , Humid: 91.30, Temp: 27.60, DS18B20=25.81° C
15 BMP085 P. 987 mBar, , Humid: 91.30, Temp: 27.60, DS18B20=25.81° C
16 BMP085 P. 987 mBar, , Humid: 91.00, Temp: 25.80, DS18B20=25.81° C
17 BMP085 P. 987 mBar, , Humid: 91.00, Temp: 25.80, DS18B20=25.81° C
18 BMP085 P. 987 mBar, , Humid: 91.20, Temp: 26.00, DS18B20=25.81° C
19 BMP085 P. 987 mBar, , Humid: 91.20, Temp: 26.00, DS18B20=25.81° C
20 BMP085 P. 987 mBar, , Humid: 91.00, Temp: 26.70, DS18B20=25.81° C
21 BMP085 P. 987 mBar, , Humid: 91.00, Temp: 26.70, DS18B20=25.81° C
22 BMP085 P. 987 mBar, , Humid: 91.40, Temp: 27.00, DS18B20=25.81° C
23 BMP085 P. 987 mBar, , Humid: 91.40, Temp: 27.00, DS18B20=25.81° C

This is possible only with  Arduino Monitor (virtual COM 56)
if i want to use my PC Terminal YAT (same virtual port COM56 (with arduino monitor closed !)
. i just get the messsages before Wifi connecting.
no serial .print at all. after Wifi connection.

What is SPECIAL with Arduino monitor ? compare to a classic PC terminal like YAT .. wich is more confortable !

0 Vote Up Vote Down
Sara Santos Staff answered 3 years ago

Hi.
I’m sorry for taking so long to get back to you. I was out of the office with very little access to the internet.
 
I’m not sure what might be causing the issue. I have used the PuTTY Serial Monitor and it worked as expected. I’m not familiar with the Terminal YAT. But, still, it should have worked.
Take a look at some similar discussions on Arduino IDE and check if there is something that might help. For example:

  • https://forum.arduino.cc/t/arduino-ide-serial-terminal-works-but-no-other-terminal/262209/6

Let me know if you were able to solve the issue.
 
Regards,
Sara

0 Vote Up Vote Down
paulfjujo answered 3 years ago

hello, i followed your link, but it not a similar case .. so , i tried another PC terminal : Teraterm and i can get all messages send trough UART , from start ( connecting USB cable on EPS32 module) and also after the Wifi init .. web page showing 4 gauges .. and all values send inside the Loop .. so probleme solved by using Teraterm instead of YAT terminal .. i don’t know why ? but no need to dispense energie about that.. Thank’s for your answer. captures d’ecran

0 Vote Up Vote Down
Sara Santos Staff answered 3 years ago

Great!
Thanks for the follow-up.
I’ll mark this issue as resolved. If you need further help, you just need to open a new question in our forum.
Regards,
Sara

Primary Sidebar

Login to Ask or Answer Questions

This Forum is private and it’s only available for members enrolled in our Courses.

Login »

Latest Course Updates

  • [New Edition] Build ESP32-CAM Projects eBook – 2nd Edition April 16, 2025
  • [eBook Updated] Learn ESP32 with Arduino IDE eBook – Version 3.2 April 16, 2025

You must be logged in to view this content.

Contact Support - Refunds - Privacy - Terms - MakerAdvisor.com - Member Login

Copyright © 2013-2025 · RandomNerdTutorials.com · All Rights Reserved

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.