It's the first time I use an ESP8266 and I didn't manage to get a proper response in the Arduino serial monitor. I only see weird characters, when I move the 3.3V wire.
You can see the connections in the following picture:
The code I run is the following one:
#include <SoftwareSerial.h>
SoftwareSerial BT1(3, 2); // RX | TX
void setup()
{
Serial.begin(115200);
BT1.begin(115200);
}
void loop()
{
String B= ".";
if (BT1.available())
{
char c = BT1.read();
Serial.print(c);
}
if (Serial.available())
{
char c = Serial.read();
BT1.print(c);
}
}
Maybe it's something really stupid. I am a total beginner, so I appreciate any help.
EDIT: I think power supply is 3.3V
SOLUTION: the problem was the power supply. I tried exactly the same using the 3.3V from the arduino instead of the power supply and it works perfectly!