ESP32 Project | Get Started with the ESP32 & Pir Sensor | FreeRTOS |PlatformIO|Visual Studio|ESP-IDF
Vložit
- čas přidán 26. 07. 2024
- This video will help you learn how to create a ESP32 project motion detector using ESP32 & ESP IDF | ESP-IDF C++ | C++ | ESP32 using PlatfromIO in Visual Studio Code | FreeRTOS.
In this video we will explain about the following:
• Creating ESP-IDF component.
• Creating RTOS tasks.
• Reading data from GPIO pins.
• Configuration of GPIO pins.
_____________________________________________________________________________________
Requirements:-
• Esp 32 board
• Visual Studio Code
• PlatformIO
• ESP-IDF
• Pir Sensor
_____________________________________________________________________________________
Chapters:-
00:00 Introduction
00:14 Motion Detector Intro
00:27 Chapters
00:51 Requirements
01:01 Setting up the project
06:23 Creating the Idle Task
13:00 Creating the PIR component
32:27 End credits
_____________________________________________________________________________________
Links and references:-
• ESP IDF GitHub repository:- github.com/espressif/esp-idf
• ESP-IDF Programming Guide :- docs.espressif.com/projects/e...
• ESP 32 series GitHub link:- github.com/AbIoTsolution/esp3...
• ESP32 Template application:- github.com/AbIoTsolution/esp-...
• ESP32 Playground Series GitHub Link:- github.com/AbiotsLabs/esp32-p...
• Getting started with esp32 and GPIO:- • Getting Started with G...
• Getting started with esp32:- • Getting started with E...
• Espressif Reference Document: www.espressif.com/sites/defau...
_____________________________________________________________________________________
Credits(Thank you, this video would not have been possible without you):-
• www.espressif.com/sites/defau...
_____________________________________________________________________________________
This is just the one of many ESP32 Platformio vscode | ESP32 ESP IDF tutorial | ESP32 c++ related videos, so be sure to subscribe for more!
Things to refer:-
• We have a playlist dedicated entirely to ESP32:- • ESP32 Series
I hope you enjoy the video and please stay inside and stay safe!
AbIoTs Lab
#Iot #esp32project #espidf #Esp32 #platformio #vscode #abiots #abiotsLabs #internetofthings #iot #rtos #freertos
Very informative 👏
Thank you very much Nishanth. Keep supporting us.
Hi, thanks by your good content, I have a question as I new to this PlatformIO, it does have an issue finding "#include "driver/gpio.h"". as im clueless please let me know what path has it or where could i find it
Thank you @juanrequena7150 you response is what keeps me motivated. Have you added the following in the CMAKELists.txt REQUIRES driver ?
So to use the GPIO, you need mention in the Cmakelist.txt that your project requires it. For example: idf_component_register(SRCS "main.cpp"
INCLUDE_DIRS "." REQUIRES freertos driver)
😍👍🏻😃
Keep supporting us
@@AbIoTsVidya anytime!😍
Hello, thanks for your good content, I have a question because I am new to this PlatformIO. I have an error driver/gpio.h: No such file or directory. I already modified the CMakeLists.txt with: FILE(GLOB_RECURSE app_sources ${CMAKE_SOURCE_DIR}/src/*.*)
idf_component_register(SRCS ${app_sources} REQUIRES driver)
but the problem remains. Please help
Thank you very much, your response is what keeps me motivated. Have you added the following in the CMAKELists.txt REQUIRES driver ?
So to use the GPIO, you need mention in the Cmakelist.txt that your project requires it. For example: idf_component_register(SRCS "main.cpp"
INCLUDE_DIRS "." REQUIRES freertos driver)
What did you use to "align this"in 12:35?
I have installed eclipse keymap plugin in vs code. So i used the eclipse shortcut to align the code clt + shift + f
@@AbIoTsVidya thanks 😁