esp8266easyiot tem & hum​ Issue **SOLVED**

4 years 6 months ago - 4 years 6 months ago #2676 by Nico
I tried out all I could, but Im'getting a one way communication error between the Arduino ProMini and the ESP8266-03.
The ESP module is able to receive all AT commands from the arduino board, but when it sends replies it arrives just garbled text.
If I isolate the rx and tx of the ESP I can communicate easily with any usb to serial device with no problem. But once I connect it to the Arduino, the RX pin of the ProMini receives just unreadable AT text.
What can it be?

Please Log in or Create an account to join the conversation.

4 years 6 months ago #2679 by Nico
I forgot to mention that I'm using a ESP8266-03 and Arduino Pro Mini 3,3V 8Mhz,

Please Log in or Create an account to join the conversation.

4 years 6 months ago #2681 by Adam69
Dear Nico,

Reading this, the first thing that I do think of, would be the serial speed wrong??

Could you share with us, how you have setup the hardware (hardware lines between the units), meaby you have used some website as example, and you could share this website with us.

comming back to the serial speed, at what speed is the communication? 9600 / 115200

Regards,

Adam69

Please Log in or Create an account to join the conversation.

4 years 6 months ago #2682 by Nico
Hallo Adam.
Thank for the quick reply
The serial speed for all devices is 115200

Please Log in or Create an account to join the conversation.

4 years 6 months ago - 4 years 6 months ago #2683 by Adam69
Dear Nico,

So let try to think in another way.
Rather than try to come up with the error, let's rule out what is correct for sure, see what is left, that could be wrong.

We know you have the units running on 3.3v, seems good here.
The communication is at 115200 at all units, that seems fine as well.
The RX and TX, does seem to be swapped, but connected correct (one way), also good.

-Do the units share the same ground of the power? (just asking to be sure).
-Serial communication on the ESP8266 with PC is good?
-Serial communication with Arduino Pro Mini and PC good?
-Normally RX and TX lines do not need any pull-up registers, do you use any?
-Do you have enough power from power supply, when both units connected?, could you power on their own (or is this the case?)
Regards,

Adam

Please Log in or Create an account to join the conversation.

4 years 6 months ago #2684 by Nico
Thanks again Adam,
All serial connection are fine and there are not packet lost or other errors,
I use the same power supply. I tried to power Arduino either from a arduino Mega or USBasp programmer. But the result is the same
I did not measure voltage actually, but all less are bright and flashing as usual, but I will check that too.

I'm really out of options Adam........

Please Log in or Create an account to join the conversation.

Time to create page: 0.284 seconds

Forum latest

  • No posts to display.