Getting Started with GPIO | Esp32 | C++ | PlatformIO | ESP-IDF | Visual Studio Code | ESP IDF C++
HTML-код
- Опубликовано: 14 июл 2024
- This video will help you learn about ESP IDF | ESP-IDF C++ | C++ | ESP32 using PlatfromIO in Visual Studio Code.
In this video we will explain about the following:
• Getting started with GPIO.
• GPIO Configurations.
• Single Pin Mode Configuration.
• Multi Pin Mode Configuration.
• Simple Blink
• Reading GPIO data.
_____________________________________________________________________________________
Requirements:-
• Esp 32 board
• Visual Studio Code
• PlatformIO
• ESP-IDF
_____________________________________________________________________________________
Chapters:-
00:00 Introduction
00:16 Abiots Channel Intro
00:26 Requirements
00:35 Getting started with GPIO
02:50 GPIO Configurations
05:56 GPIO Single Pin Configuration
16:24 GPIO Multi Pin Configuration
21:25 Simple Blink Program
26:13 Reading Data from GPIO
31:48 Bidding adieu
_____________________________________________________________________________________
Links and references:-
• ESP IDF GitHub repository:- github.com/espressif/esp-idf
• ESP-IDF Programming Guide :- docs.espressif.com/projects/e...
• Abiots GitHub link:- github.com/AbIoTsolution/esp3...
• ESP32 Template application:- github.com/AbIoTsolution/esp-...
• Espressif Reference Document: www.espressif.com/sites/defau...
_____________________________________________________________________________________
Credits(Thank you, this video would not have been possible without you):-
• / 374784000240131877
• exploreembedded.com/wiki/Inte...
• create.arduino.cc/projecthub/...
• techawarey.com/wp-content/uplo...
• www.espressif.com/sites/defau...
• www.mischianti.org/wp-content...
_____________________________________________________________________________________
This is just the one of many ESP32-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 #Esp32 #Espidf #platformio #vscode #abiots #abiotsLabs #internetofthings
Exceptional: all very interesting. As many people say: Keep the good work. ;-)
Thank you very much, Ignacio Delvalle. Your support is what keeps me motivated.
Your videos are far more clear and helpful than anything I've found. There are too many videos using ESP32 + Arduino Framework. Please post more! It's been so great to finally understand ESP32 + ESP IDF.
Thank you very much Tanner King for your feedback.🤩🤩 Your feedback is what keeps us motivated. We are coming up with many new and interesting videos soon....
I really appreciated this video, it was very clear, and was my first view of someone using the ESP32 IDF. One comment, though, the frequent SUBSCRIBE notifications (especially with the audio) got really annoying. If you feel you must repeat the subscribe requests, at least do it silently. Thanks.
Thank you very much for responding, John.
Please consider it as a noob mistake, I won't repeat it from upcoming videos👍😊
People who ask you to subscribe usually get less viewers subscribing. All the big names don't ask.
Agreed, it was a noob mistake.
KEEP UP THE GOOD WORK!! I had no idea how to interact with ESP32 before I came to your channel. Now I can walk away know how to create , Build and upload project to blink an LED!! P.S. Please make more videos, you have no idea how much that help us knoobs.
Thank you very much Brian for your feedback.🤩🤩 Your feedback is what keeps us motivated. We are coming up with mamy new and interesting videos soon....
Nicely produced video. Glad you are able to add new videos. Thanks for showing the gpio config type, I did not know about it.
Thank you for your response. Your feedback is what keeps us motivated.
Please give us more videos. We have to learn more about the ESP32 :)
Your videos are so informative. Good job!
Thank you very much😍 your response is what keeps us motivated. Yup more interesting videos coming soon.....
Amazing tutorial! I was looking for esp framework tutorials for my esp32, and this was perfect. Pls make more content
Thank you for your response. Your feedback is what keeps us motivated. We shall upload new videos more frequently.
Excellent tutorial.
Thanks for share!
...waiting for more!! :)
Thank you for your response. Your feedback is what keeps us motivated.
Really useful video for learning ESP32 Programming....Please continue the series and put more videos....Eagerly waiting for your upcoming videos...
Sure Vignesh will try my best to upload new videos regularly
you save my time thanks
Thank you for your response🤩 Your response is what keeps us motivated
Very informative video 👌👌
Thank you very much😍 your response is what keeps us motivated.
Keep doing videos! Good luck😀👍🏼
Thank you very much❤
Good tutorial. And when you make this 'bell ring' quieter, it is going to be even better.
Sure Shy bkee.......I will make sure all my upcoming videos will have a quieter bell ring.
which resources did you consulted to know what you know right now?, dude you are awesome!!!!
Thank you very much anderson😍 Your feedback is what keeps me motivated.....actually when i was learning this as a hobby I found it very difficult to find any resources which explained me in detail.....so after pursuing the internet when I was finally able to understand stuff, thought of making youtube videos to share my learning.
Great work! Where are your other videos!!!
Thank you for your feedback Ryan....will be uploading new videos soon.
Why did you use a cpp file and extern "C", instead of just a c file? Does Visual Studio Code have issues with that?
Any thoughts on using Visual Studio Code + Platform IO extension.. versus Eclipse IDE + ESP-IDF plugin? Is there any way to debug (single-step) thru the code on the ESP32?
BTW, with so many different ESP32 boards (I'm looking at the ESP32-C3FH4 Risc-V).. do they all work the same? For example, the I/Os will be used differently, but are there some flavors of the chip that can enable internal-pull-up, or be configured for open-drain, etc?
Hi Ben, since this tutorial is espidf with c++ i used cpp extension. I personally have not used eclipse for embedded development, so not sure i can answer your question.😊
Espressif releases new devices frequently some are just esp32 on steroids, some give wifi 6 support some ble 5, like this based on our requirements we can select our esp32.
hi sir, i still waiting for your latest tutorial video.
Hi Alex, Thank you for your response. I'm trying my best to make things work out...will try my best to upload soon.
nice video sir. can you make video with espidf vscode plugin
Thank you for the response. Your response is what keeps me motivated.
Sure Akash....will surely do it in near future.
I'm seeing "identifier "GPIO_SEL_2" is undefined C/C++(20)" when trying to make the templated version. I am using windows. What .h file is the macro defined?
Which esp idf version are you using
Just do -> BIT64(GPIO_NUM_2) instead of -> GPIO_SEL_2
In ESP-IDF later versions they deprecated the GPIO_SEL_* macros. They essentially were just macros that add BIT64(), defined like this:
#define GPIO_SEL_2 (BIT64(2)) /*!< Pin 2 selected */
and BIT64() is a macro that shifts 64 bits to the left by a num argument you provide, it's defined as:
#define BIT64(nr) (1ULL (1ULL
Thanks for amazing tutorial.
By the way, how did you know #include "driver/gpio.h"?
I wonder how to use(include) vendor-support-library.
Is there any documentation about it?
Its documented in esp-idf official website
8:29 way of conservation a 32b type of number "1"to 64b type for moving more then 32b register length, I understood,
BUT WAY IT CONVERSATION TWICE to 64 b it already in 64b memory segment has uint64_t????
Please unswerving how know!
Esp32 has flash of only 4m, wonder whether c++ could take more memory,
There is esp32 s3 with 128mb flash...
C or rust is the best language for embedded. But sometimes, using c++(oops) makes the code better. After using c++, I personally haven't observed any major memory consumption, and esp32 works like charm.
The main thing that makes esp32 famous is the fact that it is cheap. As far as I know the 4mb flash is the cheapest. Already the c library provided is bloated. So I am assuming that c++ will make it more flash hungry. All this matters only for 4mb flash device. Regards.
Please try to make websocket server
Sure we have already planned the video for it. Will be releasing it soon. Will not keep you waiting for long time.
@@AbIoTsVidya thank you, I am waiting for the video