The web-server is running on ESP32 and you can use a browser to access the UI and ON/OFF LEDs using GPIOs on device. However I will show you the UI and output.
#The official esp32 book code
Demo 2- ESP32 WebServerĪgain, You can download all the code for this part from the repo on this link. Only thing different is the device used, instead of Arduino, now we are using ESP32. Wiring is very typical for this demo and I have already explained that setup in one of my earlier post, you can read on this link. The following sketch, once uploaded to the board will make an LED blink. If you are new to Arudino, then you can read some of my earlier posts on that topic as well.
#The official esp32 book update
My plan is to continue to update this work as we all learn more and share what we find in the community forums. Rather than keep them to myself, I offer them to all of us in the ESP32 community in the hope that they will be of some value. All the sample code is available on the git repo and you can download the sketches and check it. This book is my collated and polished version of those notes. Blink LED (hello world for micro-controllers).I am going to build two very simple applications as follows: Links in the references section will provide you a lot of interesting projects which you can do. You can do a lot of interesting things using this board. For setting up the development environment, please check the official website (link in the references section). I am going to use Arduino IDE for the demos in this post but very much interested in trying out Micropython as well. Espressif IDF (IoT Development Framework).The ESP32 can be programmed in different programming environments. It also has wide variety of peripherals available, like: capacitive touch, ADCs, DACs,.The clock frequency can go up to 240MHz and it has a 512 kB RAM.
The ESP32 is dual core, this means it has 2 processors.ESP32 can interface with other systems to provide Wi-Fi and Bluetooth functionality through its SPI / SDIO or I2C / UART interfaces. Hybrid Wi-Fi & Bluetooth Chip: Can perform as a complete standalone system or as a slave device to a host MCU.With stackable modules, user-friendly IDE, enabling rapid and high-quality prototyping, STEM education, engineering and mechanical use. Ultra-Low Power Consumption: Engineered for mobile devices, wearable electronics and IoT applications. Open-source modular toolkits for IoT devices based on ESP32-updated version of ESP8266.Robust Design: capable of functioning reliably in industrial environments, with an operating temperature ranging from –40☌ to +125☌.You can purchase it easily for the cost of approx. Created by Espressif Systems, ESP32 is a low-cost, low-power system on a chip (SoC) series with Wi-Fi & dual-mode Bluetooth capabilities for a wide-range of applications.