A
A
Alexander Sinitsyn2020-10-22 07:23:28
Arduino
Alexander Sinitsyn, 2020-10-22 07:23:28

Why does Serial give the wrong result?

I connect such a BT201 module to UNO via UART
, it receives and executes AT commands, but it gives back some kind of dregs.
5f9108e6a8220095380677.jpeg
The top result should be QM+01\r\n , and there are some minuses in the codes.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
B
BakaTopcat, 2021-01-12
@a_u_sinitsin

SoftwareSerial works disgustingly on 115200, most likely it will send and receive garbage. Lower the speed to 38400. At 57600 I got AltSoftSerial, but there the pins are hard-wired and timer 1 is used.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question