Closed jimemo closed 1 year ago
Classic Nano has only one hardware Serial, which is connected to the USB chip to communicate with the computer (sketch upload, Serial Monitor). the RX and TX pins are the same Serial so if you wire the esp-01 to RX/TX you will have problems to upload a sketch to Nano and debug it.
The 3.3 V pin on Nano can't provide enough current for the esp-01 to do WiFi transmit. You need an external 3.3 V power supply for the esp-01.
I have a spare Arduino Uno and an ESP-01 so I thought I would make use of them in an IOT project.
I followed the instructions in Getting Started and I got as far as these steps. All are saying check wiring:
I am using the code examples from this repo.
These ESP-01s work with Raspberry Pico Boards and ESP_AT_Lib using hardware serial baud rate 115200 but I read this: Over hardware Serial this library works reliably with AT firmware's default 115200 baud. With SoftwareSerial, 9600 baud should be used because of limitations of SoftwareSerial.
Question - I would rather not change the baud rates of these chips, shall I use hardware TX/RX instead? If so:
#define HAVE_HWSERIAL1 true
Please can somebody spot what I am doing wrong?
ESP-01 Firmware: