0

ESP 01s (ESP8266) and Raspberry PI Pico
Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.

ESP 01s (ESP8266) and Raspberry PI Pico

by Bruddy on Sat Feb 20, 2021 1:30 pm

Hi, I have just started with a Raspberry Pi Pico and am trying to learn CircuitPython. So far, following the documentation, I have a 16x2 Adafruit display working. My next issue it to connect to my WiFi to get some streams of data from a server to display (using TCP or UDP or MQTT). I have an ESP 01s (ESP8266). Is there any how-to I can follow?
I have been looking at "adafruit-circuitpython-esp-atcontrol" but the example given uses a Particle Argon.
I have "Googled" to a standstill ! Can anyone point me in the right direction please?
Bruddy

Bruddy
 
Posts: 9
Joined: Sat Feb 20, 2021 1:12 pm

Re: ESP 01s (ESP8266) and Raspberry PI Pico

by tannewt on Sat Feb 20, 2021 8:25 pm

We don't recommend using the ESP8266 as a coprocessor because it is limited.

We do support using an ESP32 over SPI. However, I'd recommend using a ESP32-S2 for WiFi projects because it can run CircuitPython natively AND do native WiFi.

tannewt
 
Posts: 2189
Joined: Thu Oct 06, 2016 8:48 pm

Re: ESP 01s (ESP8266) and Raspberry PI Pico

by Bruddy on Sun Feb 21, 2021 9:14 am

Thanks for that. I might first of all try a wired connection from the Pico UART to a Uart on a Raspberry Pi server that I have.
Can CircuitPython receive data on a Pico UART?

Bruddy
 
Posts: 9
Joined: Sat Feb 20, 2021 1:12 pm

Re: ESP 01s (ESP8266) and Raspberry PI Pico

by tannewt on Mon Feb 22, 2021 5:16 pm

Not yet unfortunately. There is a pending PR for UART on the Pico though. If you want to talk between a pico and an rpi, we *just* merged in support for a second CDC (aka serial) connection over USB. Details here: https://github.com/adafruit/circuitpython/pull/4215 A learn guide is in the works I believe.

tannewt
 
Posts: 2189
Joined: Thu Oct 06, 2016 8:48 pm

Re: ESP 01s (ESP8266) and Raspberry PI Pico

by Bruddy on Mon Feb 22, 2021 5:31 pm

I'll check that out as a solution. Thanks.

Bruddy
 
Posts: 9
Joined: Sat Feb 20, 2021 1:12 pm

Re: ESP 01s (ESP8266) and Raspberry PI Pico

by awesometech on Tue Feb 23, 2021 10:21 am

I can confirm ESP32 over spi works really well. I gave up with the ESP8266 as just wasn't reliable

awesometech
 
Posts: 2
Joined: Thu Apr 11, 2019 1:08 pm

Please be positive and constructive with your questions and comments.