I have a Raspberry Pi Pico and I'm trying to get it Wifi Connected.
I'm using an ESP-01 with the sock firmware and confirmed AT commands are working through the Arduino serial monitor on both 115200 and 9600 Baud. To connect to my PC I am using an ESP-01S USB adapter I've gotten on amazon.
AT
OK
AT+GMR
AT version:1.2.0.0(Jul 1 2016 20:04:45)
SDK version:1.5.4.1(39cb9a32)
v1.0.0
Mar 11 2018 18:27:31
OK
+--------------------------+
| Both NL & CR | 9600 Baud |
+--------------------------+
Once I get everything wired up to the Raspberry Pi Pico there is now a blue light on the ESP-01, which wasn't on with the USB serial adapter. And I do not get a response from the ESP-01.
+-------------------+ +-------------------+
| | 3.3v PS | |
| Raspberry Pi | = | | ESP-01 |
| Pico | | +------+ 3.3v |
| | | | |
| GPIO 0 +----------------> RXD |
| | | | |
| GPIO 1 <----------------+ TXD |
| | | | |
| GND +-------+--------+ GND |
| | | |
| | | |
+-------------------+ +-------------------+
from machine import UART
uart = UART(0, baudrate=9600)
def write(msg):
print("Sending %s" % msg)
uart.write(msg)
write('AT\r\n')
while True:
if t:
print(t)
else:
t = uart.readline()
print('.', end="")
Tried with multiple baudrates as well as UART 0 and UART 1 (TX=0, RX=1 and TX=4, RX=5). ESP-01 is supplied with 3.3v and not using power from the Raspberry Pi.
What could be going on that would prevent a response?