What is going on with my Serial Monitor?
It doesn’t matter what project I’m working on, I have to constantly power the ESP32 down because I get the below:-
Received: ����r���E����������0��k�=��c�����
Received: ���������j���@���L���wdثڿ�����t����5��ϥ�=E�����������X���������-������������o���|�����?�����V{���Y����
Received: ���Kh���������w��{C}������-������0���>�OW�Jv}�2
Received: �if��������������������������f��®�҉����������6��������1�1��s�������z����������������7�?����@����j���N��~�������H���W��7�����-
Received: {������?���/��߾���XC�OL�o�
Received: t����`~����������GS}y�����q���A������������@�����[��j�����w�'���M�>����~�u������M�a�u���
Received: ���*��hº���^����k���6�X����h������~���������
Received: ��d���?��������]T����˸�������`����B
Received: ����������WͿ�������]M�U
Once the ESP32 is powered down and up again, it eventually starts playing ball. It’s not the baud rate, I set it to 115200 on every projected and 115200 is selected for the Serial Monitor output. Sometimes I get continuous question marks ������������ on one line.
I’m using a MacBook Pro and I’ve also used multiple data cables.
Thanks in advance.
Hi @lexter333. The fact that the "Received" part of the output is not corrupted shows this is a problem with the received data, rather than a problem with the communication between the ESP32 and Serial Monitor.
It could be caused by a problem in your sketch code. Please post your full sketch so that the forum helpers can review it.
I'll provide instructions you can follow to do that:
- Select Tools > Auto Format from the Arduino IDE menus.
ⓘ This is done to make the code easier for us to read.
- Select Edit > Copy for Forum (Markdown) from the Arduino IDE menus.
- Open a reply here on this forum topic by clicking the "Reply" button.
- Press the Ctrl+V keyboard shortcut (Command+V for macOS users).
This will paste the sketch to the post composer.
- Move the cursor outside of the code block markup before you add any additional text to your reply.
- Repeat the above process if your sketch has multiple tabs.
- Click the "Reply" button to publish the post.
When your code requires a library that's not included with the Arduino IDE please post a link to where you downloaded that library from, or if you installed it using Library Manager then say so and state the full name of the library.