Serial Communication with a ESP8266-01

Hi,

My team and I were trying to connect an Arduino Uno to an ESP8266-01 through serial connection.

The process is the following:

  1. A bunch of sensors send data to the Arduino.

  2. The Arduino sends all the data via serial communication to the ESP8266-01.

  3. Then the ESP sends all to a server.

We are having problems in the communication between the Arduino and the ESP. For several weeks we tried to code for ourselves and then after lots of failures, we advance for pre-done codes found on forums, but no one was working, at least with our hardware.

Did someone had the same problem? If yes, how did you solved it?

Best regards,

Tiago Silva

Usually this is not a problem, as long as RX is connected to TX on the other and TX connected to RX; and the baud rates are defined the dame. But in this case the UNO is a 5V system while the ESP8266 is a 3.3V one. This means that you will need to do some level-shifting. A simple level shifter such as the https://www.sparkfun.com/products/12009 should do the trick.

Thanks, I´m gonna try with the logic level shifter. I was using resistors, but maybe they were creating some noise.