Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1
  • 2

TOPIC: esp8266easyiot tem & hum​ Issue **SOLVED**

esp8266easyiot tem & hum​ Issue **SOLVED** 1 year 1 month ago #2676

  • Nico
  • Nico's Avatar
  • Offline
  • Junior Member
  • keep learning every day
  • Posts: 31
  • Thank you received: 1
  • Karma: 0
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?
Last Edit: 1 year 1 month ago by Nico.
The administrator has disabled public write access.

esp8266easyiot tem & hum​ Issue 1 year 1 month ago #2679

  • Nico
  • Nico's Avatar
  • Offline
  • Junior Member
  • keep learning every day
  • Posts: 31
  • Thank you received: 1
  • Karma: 0
I forgot to mention that I'm using a ESP8266-03 and Arduino Pro Mini 3,3V 8Mhz,
The administrator has disabled public write access.

esp8266easyiot tem & hum​ Issue 1 year 1 month ago #2681

  • Adam69
  • Adam69's Avatar
  • Offline
  • New Member
  • Posts: 10
  • Thank you received: 1
  • Karma: 0
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
The administrator has disabled public write access.

esp8266easyiot tem & hum​ Issue 1 year 1 month ago #2682

  • Nico
  • Nico's Avatar
  • Offline
  • Junior Member
  • keep learning every day
  • Posts: 31
  • Thank you received: 1
  • Karma: 0
Hallo Adam.
Thank for the quick reply
The serial speed for all devices is 115200
The administrator has disabled public write access.

esp8266easyiot tem & hum​ Issue 1 year 1 month ago #2683

  • Adam69
  • Adam69's Avatar
  • Offline
  • New Member
  • Posts: 10
  • Thank you received: 1
  • Karma: 0
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
Last Edit: 1 year 1 month ago by Adam69.
The administrator has disabled public write access.

esp8266easyiot tem & hum​ Issue 1 year 1 month ago #2684

  • Nico
  • Nico's Avatar
  • Offline
  • Junior Member
  • keep learning every day
  • Posts: 31
  • Thank you received: 1
  • Karma: 0
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........
The administrator has disabled public write access.
  • Page:
  • 1
  • 2
Time to create page: 0.118 seconds
Powered by Kunena Forum