ELECTROEMBEDDED
ELECTROEMBEDDED
  • Видео 43
  • Просмотров 97 259
How to Reset GPIO and Digital output Pin Mux using espidf framework and esp32-s3
Welcome to my youtube channel
In this video you will learn how to Reset GPIO default peripheral
function and can use as normal GPIO and how to change GPIO
function as digital output by using Pin muxing.
This is only starting videos of ESPIDF series, so keep stay with
my RUclips channel in future you are going to learn
amazing things about esp32 and ESPIDF framework.
ELECTROEMBEDDED - youtube.com/@dktechs?si=JfTDetcahGUceO36
VS code install link-
code.visualstudio.com/download
ESPIDF Programming guide latest link-
docs.espressif.com/projects/esp-idf/en/latest/esp32/get-started/
PlatformIO Documentation for ESPIDF link-
How to setup all software-
Getting started with esp32 and ESP IDF framework,VS C...
Просмотров: 221

Видео

GPIO Interrupt using esp-idf, platformIO ,VS Code and esp32-s3
Просмотров 8746 месяцев назад
Welcome to my youtube channel In this video you will learn how to use GPIO interrupt function in esp-idf framework. This is third video of ESPIDF series, so keep stay with my RUclips channel in future you are going to learn amazing things about esp32 and ESPIDF framework. ELECTROEMBEDDED - youtube.com/@dktechs?si=JfTDetcahGUceO36 VS code install link- code.visualstudio.com/download ESPIDF Progr...
Getting started with esp32 GPIO by using esp-idf frameworks #esp32 #embeddedsystem #coding
Просмотров 7858 месяцев назад
In this video I explained How to use GPIO peripherals in esp32 using esp-idf. So please watch till end and for more knowledge and information please visit espidf official website- ESPIDF Programming guide latest link- docs.espressif.com/projects/esp-idf/en/latest/esp32/get-started/ ESPIDF GitHub repository- github.com/espressif/esp-idf #embeddedsystem #coding #programming #microcontroller Intro...
How to install TI CCS in linux os without any error #embeddedsystem #microcontroller #programming
Просмотров 1509 месяцев назад
In this video I am installing TI code composer studio IDE for tm4cxxx microcontrollers and also install dependencies required. In upcoming video I am going to start Code Composer studio with tm4c123gh6pm with tiva-c series to keep stay with this channel. Subscribe ELECTROEMBEDDED - youtube.com/@dktechs?si=JfTDetcahGUceO36 #embeddedsystem #microcontroller #linux #viral #electronics #engineering ...
Getting started with esp32 and ESP IDF framework,VS Code & PlatformIO #programming #embeddedsystem
Просмотров 9109 месяцев назад
Welcome to my youtube channel This video will teach you how you can easily develop ESP32 IoT firmware with espressif official framework ESPIDF (Espressif IoT Development Framework) by using VS code and PlatformIO. This is first video of ESPIDF series, so keep stay with my RUclips channel in future you are going to get amazing video on esp32 and ESP IDF framework. ELECTROEMBEDDED - youtube.com/@...
How to use UART serial communication in Arduino. Echo response #arduino #embeddedsystem
Просмотров 349 месяцев назад
This will show you how to enable Arduino Uno Hardware UART peripheral. To enable UART and set baud rate call below function in void setup function Serial.begin(Baud_Rate); You can explore all serial functions from arduino official website as given below- www.arduino.cc/reference/en/language/functions/communication/serial/
UART Communication with PC, Control RGB LED and Buzzer #arduino #embeddedsystem #viral
Просмотров 739 месяцев назад
In this video Arduino and Docklight are communicating to each other using UART communication protocol. Arduino Uno has one Hardware UART which used in this video to communicate with PC Hardware used- Arduino uno USB to TTL converter RGB LED Resistors 220ohms Buzzer Tiny breadboard Jumper wires Programming- Arduino IDE Configured Hardware UART Baud rate is 9600 RGB Red pin is 2 RGB Green pin is ...
Analog voltage read from Arduino #arduino #analog
Просмотров 91Год назад
Analog voltage read from Arduino #arduino #analog
Arduino GPIO-Chapter-2 , Digital Input logic and programming #arduino@dktechs
Просмотров 224Год назад
Arduino GPIO-Chapter-2 , Digital Input logic and programming #arduino@dktechs
Create and upload a new Arduino Project in Arduino IDE 1.8. #arduino @dktechs
Просмотров 71Год назад
Create and upload a new Arduino Project in Arduino IDE 1.8. #arduino @dktechs
How to create and Upload a new Arduino Project in Arduino IDE 2.0#arduino@dktechs
Просмотров 114Год назад
How to create and Upload a new Arduino Project in Arduino IDE 2.0#arduino@dktechs
Arduino GPIO Chapter-1 #arduino
Просмотров 963Год назад
Arduino GPIO Chapter-1 #arduino
Announcement belongs to my upcoming video series on MCU#arduino #microcontroller #announcement
Просмотров 212Год назад
Announcement belongs to my upcoming video series on MCU#arduino #microcontroller #announcement
what is a potentiometer and how to use this ?#resistor #potentiometer #physics #electrical
Просмотров 8662 года назад
what is a potentiometer and how to use this ?#resistor #potentiometer #physics #electrical
What is Resistor and it's types #resistor
Просмотров 8 тыс.2 года назад
What is Resistor and it's types #resistor
LED Interface Part 2 #led #series#parallel
Просмотров 4572 года назад
LED Interface Part 2 #led #series#parallel
LED Interface Part 1 #led #interface #connection
Просмотров 5632 года назад
LED Interface Part 1 #led #interface #connection

Комментарии

  • @Maxib226
    @Maxib226 Месяц назад

    What buttons are those?

  • @anthonywebber1155
    @anthonywebber1155 3 месяца назад

    A few things: 1) In lines 86 and 99, am I correct in saying you could simply have done `GPIO_Int = 0`? It's less fancy, sure, but equivalent. 2) At first glance, I like the idea of temporarily disabling the relevant interrupts from within the ISR in order to debounce switches, but I don't know for sure if it's an "officially approved" thing to do. I've not yet been able to find documentation to support it, although it appears that you must at least enable CONFIG_GPIO_CTRL_FUNC_IN_IRAM. Generally, if an EDP-IDF API function name doesn't end in `FromISR`, it shouldn't be used within an ISR, and `gpio_intr_disable` does not follow the pattern. Anyway, I wonder if your method is more or less efficient than not disabling interrupts and just using a timer/timeout during which you wouldn't act on any further interrupts. I'd like to hear your thoughts. 3) Since `GPIO_Int` is a global, isn't something like the following necessary?: portMUX_TYPE synch = portMUX_INITIALIZER_UNLOCKED; volatile uint32_t GPIO_Int = false; static void IRAM_ATTR gpio_isr_handler1(void *arg) { portENTER_CRITICAL_ISR(&synch); GPIO_Int = (uint32_t)arg; gpio_intr_disable(GPIO_Int); portEXIT_CRITICAL_ISR(&synch); }

  • @aryansyahpratama6
    @aryansyahpratama6 3 месяца назад

    Hello, i have problem with cannot open sdkconfig

    • @dktechs
      @dktechs 3 месяца назад

      Sometimes you may face this issue, just full clean project after that Build project,Then you can check for Menuconfig

  • @jnoppe
    @jnoppe 3 месяца назад

    Bro, Love this video idea. Great explaining everything. But please, Please lower that background music

    • @dktechs
      @dktechs 3 месяца назад

      Thanks bro, Sure I will do same

  • @BAT_24
    @BAT_24 4 месяца назад

    how can I send this GPIO interrupts using ESP-NOW? Please make vdo on it.

    • @dktechs
      @dktechs 4 месяца назад

      Ok I will try

  • @adityaallam6828
    @adityaallam6828 6 месяцев назад

    Hi ,is their a reason for using gpio 4 and 5 ?

    • @dktechs
      @dktechs 6 месяцев назад

      No! you can use any GPIO

    • @adityaallam6828
      @adityaallam6828 6 месяцев назад

      @@dktechs it is working thank you

  • @saiabilashreddy4244
    @saiabilashreddy4244 6 месяцев назад

    do more videos on esp 32 .sir they are very much understanding sir.

    • @dktechs
      @dktechs 6 месяцев назад

      Sure It’s going on very soon you will get new videos

  • @hans-peterroder1196
    @hans-peterroder1196 7 месяцев назад

    Hallo leider ist das Video unscharf und nur schwer zu erkennen.

    • @dktechs
      @dktechs 6 месяцев назад

      I will try to improve video quality 😊

  • @venkatachallamn9218
    @venkatachallamn9218 7 месяцев назад

    What happened to int pushbuttonstatus = digitalRead (PUSH_BUTTON); if (pushbutton status == 1); digitalWrite (LED, HIGH)

  • @user-rq6rx5cp7i
    @user-rq6rx5cp7i 8 месяцев назад

    Espressif IDF told me: error: 'GPIO_MODE_OUTPUT' undeclared (first use in this function) =(

    • @dktechs
      @dktechs 8 месяцев назад

      Did you add gpio.h header file ? Add #include “driver/gpio.h”

    • @user-rq6rx5cp7i
      @user-rq6rx5cp7i 8 месяцев назад

      @@dktechs no, I just repeated what was captured in the video :) It would be great to show all the main.c code at least for a moment. I have already corrected it, but maybe others will have the same question...

    • @dktechs
      @dktechs 8 месяцев назад

      @user-rq6rx5cp7i You can follow this long video of this short video ruclips.net/video/zObJ84diYME/видео.htmlsi=TqRqaMFB9opyYLL2 here you will get all information

  • @mera_aa
    @mera_aa 8 месяцев назад

    hello! can i ask how did you do the syntax for changing the led speed? did you use a counter? thank you.

    • @dktechs
      @dktechs 8 месяцев назад

      I am receiving commands from serial monitor like 1,2,3… according to numbers I am changing reload counter and re initialising timer that’s all.You can see in my program. If you have another doubt you can ask. Thank you 😊

    • @mera_aa
      @mera_aa 8 месяцев назад

      can i ask for a step by step instructions on how you are doing your code( i am a beginner with embedded systems and i can't seem to fully understand timer interrupts) thank you very much!@@dktechs

    • @dktechs
      @dktechs 8 месяцев назад

      @mera_aa If you are beginner in embedded system and want to start with Arduino then I suggest you please follow Getting started with arduino “www.arduino.cc/en/Guide/”official documentation you will get there everything step by step programming as well electronics also.

    • @mera_aa
      @mera_aa 8 месяцев назад

      i am using stm32 instead of arduino and i just wanted to understand how to change the led blink speed with timer interrupts@@dktechs

    • @dktechs
      @dktechs 8 месяцев назад

      @mera_aa Ohh super that is very good You have to do the same things but in different way. You need to configure a timer using STM32 cubemx or cubeide and register a callback function with timer interrupt and call there LED on off function . Better to follow youtube.com/@ControllersTech?si=xspq3l2kvaYO8IjP for learning stm32

  • @abhifitnesshub
    @abhifitnesshub 9 месяцев назад

    ❤❤❤

  • @OFFICIAL_27_11_FAILURE
    @OFFICIAL_27_11_FAILURE 9 месяцев назад

    Good work sir ji 💗💗

    • @dktechs
      @dktechs 9 месяцев назад

      Thank you

  • @prashantk6823
    @prashantk6823 9 месяцев назад

    Which resistor use?

    • @dktechs
      @dktechs 9 месяцев назад

      For pull up or pull down you use between 1k and 4.7k.

  • @davariz
    @davariz 10 месяцев назад

    Estou tentando achar um codigo que eu teria que clicar uma quantidade de vezes no butao (dentro de um espaco de tempo) para o led acender por uma quantidade de tempo

    • @dktechs
      @dktechs 9 месяцев назад

      You have to use timer and counter to achieve this.When button pressed increment counter by 1 as well as read timer value. Say if you want to turn ON LED for 5 seconds when two times button pressed in one second then if you counter value is two in one second turn ON LED and run timer for 5 seconds after 5 seconds turn OFF LED.

  • @efrenvillariasa6575
    @efrenvillariasa6575 10 месяцев назад

    Can you give me the code the one that can continues the on and off thank you

  • @efrenvillariasa6575
    @efrenvillariasa6575 10 месяцев назад

    I follow your code but doesn't work my Arduino app

    • @dktechs
      @dktechs 10 месяцев назад

      Doesn't work means it's not compiling in IDE or hardware is not working?

  • @Learningontop
    @Learningontop Год назад

    Sir I want that when my button press for how many time no matter but by output will turn off after 30 second so what I do.

    • @dktechs
      @dktechs Год назад

      So many ways to perform this one of them you can use a timer when you press a button start 30 seconds timer and make output High and stop reading button,when 30 seconds timer stopped you can make output low and start reading button.For this you use a flag to keep track of time or timer ISR

  • @harukills
    @harukills Год назад

    You dont actually need an adruinno to do this mechanism, but i guess there's other form of uses

    • @dktechs
      @dktechs Год назад

      I totally agree with you but here my intention was not to switch on and off a LED you can do this without any switch or push button also,here my intention was to read a digital input and control digital output, that's all.

  • @Expatriate1977
    @Expatriate1977 Год назад

    Thank you!

  • @sonumaurya1758
    @sonumaurya1758 Год назад

    It's amazing ❤

    • @dktechs
      @dktechs Год назад

      Thanks bro 😊

  • @sonumaurya1758
    @sonumaurya1758 Год назад

    Amazing

    • @dktechs
      @dktechs Год назад

      Thanks bro 😁

  • @mrlewis4946
    @mrlewis4946 Год назад

    Nice 👍

  • @sonumaurya1758
    @sonumaurya1758 Год назад

    Amazing

    • @dktechs
      @dktechs Год назад

      Thanks bro ☺️

  • @smartphoneshop-dm
    @smartphoneshop-dm Год назад

    Thanks sir

  • @rubiksbest171
    @rubiksbest171 Год назад

    Hi. May I know how much resistance is that resistor?

    • @dktechs
      @dktechs Год назад

      220 ohm

    • @rubiksbest171
      @rubiksbest171 Год назад

      @@dktechs thanks!

    • @dktechs
      @dktechs Год назад

      You can use any values between 150 and 400 to protect your LED from high current if you want to explore more about LED resistor you can checkout this video ruclips.net/video/SIVfg30_KcU/видео.html

  • @soniasmelodiousland
    @soniasmelodiousland Год назад

    Thanks for video. Pls post more on ardino uno

  • @soniasmelodiousland
    @soniasmelodiousland Год назад

    Pls upload more programs

    • @dktechs
      @dktechs Год назад

      Sure....I will

  • @soniasmelodiousland
    @soniasmelodiousland Год назад

    Happy Diwali

    • @dktechs
      @dktechs Год назад

      Thank you and Same Happy Diwali to you

  • @soniasmelodiousland
    @soniasmelodiousland Год назад

    Very nicely explained

    • @dktechs
      @dktechs Год назад

      Thank you 🙏

  • @nobody.68
    @nobody.68 Год назад

    Gajab sirji badiya 🔥🔥

    • @dktechs
      @dktechs Год назад

      Thank you Sirji

  • @sonumaurya1758
    @sonumaurya1758 Год назад

    Good 👍

    • @dktechs
      @dktechs Год назад

      Thank you Bhai 😊

  • @sonumaurya1758
    @sonumaurya1758 Год назад

    👌👌👌👌

    • @dktechs
      @dktechs Год назад

      Thank you Sonu Bhai

  • @memelate9624
    @memelate9624 Год назад

    bro if u didn't use bool it cud have worked if(btnsts == HIGH) digitalWrite(ledpin,LOW)

    • @dktechs
      @dktechs Год назад

      Bro I didn't get you... Any logic in c or c++ you can write in thousands way... What I wanted accordingly I achieved my target and whatever I wrote in code you can write in hundreds ways. But sorry bro exactly I am not getting what do you want to say.

    • @memelate9624
      @memelate9624 Год назад

      ​@@dktechs nvm it shud fit ur taste

  • @RixtronixLAB
    @RixtronixLAB Год назад

    Nice info, thanks for sharing :)

    • @dktechs
      @dktechs Год назад

      Thank you ☺️

  • @akashvishukarma4626
    @akashvishukarma4626 Год назад

    Burn resistor ki resistance value kese pata kre

    • @dktechs
      @dktechs Год назад

      Hii... Agr kisi bhi PCB me koi resistor damage ho gya to kuchh procedure hoten h us resistor ki resistance ki value ko find out krne ke liye inme se aap kuchh procedure ko janten bhi hoge but still mai usko yahan pe stepwise explain krne ki koshish krunga - 1.Agar burnt resistor through hole resistor h aur uska colour code apko dikh rha h to aap wahan se resistance ko find kr stkte agr SMD to uspe likhe value se find kr skten h but jlne ke bad bahut km hi resistors hoten h jo jinka face damage nhi hota h 😂. 2.Bahut sare PCB manufacturers resistance ki value ko resistor ke niche print kiyen hoten h to aap resistor ko simply remove ke lijiye agr value print hogi to aapko mil jayegi wahan se . 3.Aap jo PCB board use kr rhen h uska aap schematic (Circuit Diagram) online download kr lijiye.Jis bhi brand ya company ka aap PCB use kr rhen h uske official website pe mil jayega.to aap wahan se resistance ko find kr sakten. 5.Kuchh manufacturers BOM bhi provide krati hain to aap wahan se bhi easily check kr skten. 6.Kuchh experts btaten hain ki jo resistor jal gya to Jahan pe jla h usko scratch kr lijiye aur wahan pe multimeter ka probe touch kijiye aur dusra probe resistor ke first end pr aur uska resistance aap note kr lijiye same reading aap second end terminal ka bhi le lijiye aur in dono value ko aap add kr dijiye to apko approximate value mil jayega aur isme kuchh value apko add krni pdegi suppose apko 80 ya 90 ohm mil rha h to aap 10 ya 20 add kr sten h so final value 100 ohm mil jayegi. Agr logic wise dekhen to yah method same rheostat ki trh work kr rha h so for temporary purpose ke liye ise try kr sten hain but mai iski guarantee nhi le skta kyuki bahut sare PCB bahut hi jyada current sensitive hoten h so thoda bhi different PCB ko damage kr skta h aur metal film resistor ke case me to mid point milega bhi nhi kyunki Maine khud try kiya ...but agr aap chahten hain ise test krna to aap alg se ek resistor leke try kr sten h. 6.Agr apke pas us PCB ki achchi khasi knowledge jisko aap use kr rhen I mean agr aapko pta h jo resistor burn hua h usme kitna voltage drop hota h aur kitni current flow hoti h to easily app V=IR se find out kr sakte h. 7.Resistor ke second end pr agr koi IC connect h to aap us IC ka datasheet download kr lijiye aur check kijiye jis pin pr resistor connect h wah input h ya output agr input h to check kijiye kitna input voltage chahiye usko note kr lijiye aur uske bad jo burnt resistor h use remove kr lijiye...now ab PCB ko ON krke PCB board pr us point pr voltage check kijiye Jahan pe resistor ko first terminal connect tha aur us voltage ko note kr lijiye to apko voltage difference mil jayega resistor ke first aur second end ke bich ka, aur IC ke datasheet se apko us PIN pe max input current bhi mila jayega to aap isse bhi resistor ki resistance ko find out kr skten h as well as us resistor ka Watt bhi .

  • @gogagaming732
    @gogagaming732 Год назад

    Very nice very nice ✍️

    • @dktechs
      @dktechs Год назад

      Thank you ☺️

  • @dktechs
    @dktechs 2 года назад

    Hi everyone Please don't worry about Arduino IDE software. My next video will be on Arduino IDE only.

  • @jitendrakushwaha6106
    @jitendrakushwaha6106 2 года назад

    Well explained

    • @dktechs
      @dktechs 2 года назад

      Thank you 😊

  • @jitendrakushwaha2844
    @jitendrakushwaha2844 2 года назад

    Program upload kaise krna h aurdino board me

    • @dktechs
      @dktechs 2 года назад

      Through Arduino IDE software... First we have to connect a USB cable type A to B with PC and Arduino Uno board and then from your Arduino IDE software you have to upload code ... don't worry , I will make a separate video on this so that you can easily. understand .

  • @jitumaurya9306
    @jitumaurya9306 2 года назад

    Explained well

    • @dktechs
      @dktechs 2 года назад

      Thank you 😊

  • @sushilakumari5089
    @sushilakumari5089 2 года назад

    Very useful video sir

    • @dktechs
      @dktechs 2 года назад

      Thank you ☺️

  • @sonumaurya1758
    @sonumaurya1758 2 года назад

    Good 👍

    • @dktechs
      @dktechs 2 года назад

      Thank you Sonu☺️🙏

  • @sonumaurya1758
    @sonumaurya1758 2 года назад

    Very good 👍

    • @dktechs
      @dktechs 2 года назад

      Thank you Sonu 😊

  • @jitendrakushwaha2844
    @jitendrakushwaha2844 2 года назад

    Amazing

    • @dktechs
      @dktechs 2 года назад

      Thank you jitendra

  • @RohitSingh-st5yd
    @RohitSingh-st5yd 2 года назад

    Amazing Sir

    • @dktechs
      @dktechs 2 года назад

      Thank you 😊🙏

  • @nitishverma2338
    @nitishverma2338 2 года назад

    Congratulations sir 🙏💝

    • @dktechs
      @dktechs 2 года назад

      Thank you Sir 😊

  • @smartphoneshop-dm
    @smartphoneshop-dm 2 года назад

    Thanks sir

    • @dktechs
      @dktechs 2 года назад

      Welcome 🤗 Sir ❣️

  • @ramasheeshkushwaha7422
    @ramasheeshkushwaha7422 2 года назад

    Very nice bhai

    • @dktechs
      @dktechs 2 года назад

      Thank you ☺️❣️

  • @sonumaurya1758
    @sonumaurya1758 2 года назад

    Very informative video tnx.

    • @dktechs
      @dktechs 2 года назад

      Thank you ☺️