Learn how to make HTTP GET requests from an ESP32 microcontroller using ESP-IDF and low-level BSD sockets in this comprehensive tutorial. We'll start with the fundamentals of HTTP communication and socket programming, then build a complete application that connects to WiFi, performs DNS lookups, establishes socket connections, sends HTTP requests, and processes server responses. This hands-on project will give you the essential networking skills needed to build IoT devices that communicate with web servers and REST APIs.
If you would like to go further, check out my full IoT Firmware Development with ESP32 and ESP-IDF course: https://learnembedded.dev/courses/iot...
The GitHub repository with the complete code can be found here: https://github.com/ShawnHymel/course-...
Check out the accompanying written tutorial for an in-depth look at some of the important code sections: https://shawnhymel.com/2983/esp32-how...
In the video, we cover how to structure HTTP requests with proper headers, work with the BSD socket API to create and configure sockets, handle network connections and error conditions gracefully, and receive data in chunks to manage memory efficiently on embedded systems. We'll walk through the entire development process from project setup and configuration to building and flashing the firmware on real hardware. I'll also show you how to test your application using the QEMU emulator if you don't have physical ESP32 hardware available.
By the end of this tutorial, you'll have a working demo that fetches a webpage from example.com every 5 seconds and displays it in your serial terminal. More importantly, you'll understand the underlying concepts of socket programming and HTTP communication that form the foundation for building more sophisticated networked applications, including REST API clients, MQTT pub/sub systems, and secure HTTPS connections with TLS.
0:00 Intro
0:48 HTTP
5:29 Sockets
7:24 Required hardware
7:34 main.c - Initialize networking
17:07 mainc - Fetch webpage with HTTP and sockets
28:13 CMakeLists.txt files
29:07 Build, flash, and run on ESP32 board
34:19 Build, flash, and run with QEMU
37:23 IoT with ESP-IDF Course
#ESP32 #ESPIDF #embedded #EmbeddedSystems #IoT #microcontroller #electronics #programming #WiFi #HTTP #REST
Auf dieser Seite können Sie das Online-Video ESP32 - HTTP GET with ESP-IDF Tutorial mit der Dauer stunde minuten sekunde in guter Qualität ansehen, das der Benutzer Shawn Hymel 21 Oktober 2025 hochgeladen hat, den Link mit Freunden und Bekannten teilen, dieses Video wurde auf Youtube bereits 5,410 Mal angesehen und es wurde von 137 den Zuschauern gefallen. Viel Spaß beim Betrachtenden Zuschauern gefallen!