how to set up ESP32

For CircuitPython issues, ask in the Adafruit CircuitPython forum.

Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.
Locked
User avatar
tarrant1704
 
Posts: 20
Joined: Sun Jun 10, 2018 9:13 am

how to set up ESP32

Post by tarrant1704 »

Hello, I'm a relative newbie, just getting started with Adafruit and learning Arduino.

I purchased the Adafruit Matrix Portal for use with a 64x32 RGB LED Matrix display:
https://www.adafruit.com/product/4745

My question is, the Matrix Portal comes with a ESP32 WiFi module. Is there an Adafruit tutorial on
- how to set up the ESP32 with the Arduino IDE?
- how to set up the ESP32 with Wi-Fi connection details (SSID, password)

Ultimately I want to figure out how to interface with IFTTT webhooks for the LED Matrix to display the status of variouis IoT gadgets. But I'm having trouble figuring out which libraries, boards to configure in Arduino IDE given the specific module used in the Matrix Portal product above.

User avatar
dastels
 
Posts: 15653
Joined: Tue Oct 20, 2015 3:22 pm

Re: how to set up ESP32

Post by dastels »

Have a look at https://learn.adafruit.com/adafruit-met ... /wifi-test. The MatrixPortal is a lot like the Metro M4 Express Airlift tailored for driving an LED matrix.

Dave

User avatar
tarrant1704
 
Posts: 20
Joined: Sun Jun 10, 2018 9:13 am

Re: how to set up ESP32

Post by tarrant1704 »

Thank you. I cheesed it by using the MatrixPortal library but it was easier than I had thought. I entered my Wi-Fi SSID and password into the secrets.py file.

Then in my code:

Code: Select all

# Import necessary libraries
from adafruit_matrixportal.matrixportal import MatrixPortal
from adafruit_matrixportal.network import Network
import adafruit_minimqtt.adafruit_minimqtt as MQTT
import adafruit_esp32spi.adafruit_esp32spi_socket as socket

# --- Wi-Fi setup ---
network = matrixportal.network
network.connect()
Thanks for the reply!

Locked
Please be positive and constructive with your questions and comments.

Return to “Wireless: WiFi and Bluetooth”