Arduino Programming Series - Tutorial 14 | While Loop [in Hindi]

  Рет қаралды 40,814

Engineers & Electronics

Engineers & Electronics

Күн бұрын

Join this channel to get access to the perks:
/ @engineerselectronics
Welcome to Arduino Programming Series, this Series is all about learning Arduino Programming from a very basic level to advance. I hope you'll enjoy it.
▶ Previous Video: • Arduino Programming Se...
▶ Complete Playlist: • Arduino Programming Se...
👩‍💻 Download Code and Circuit: github.com/him...
Download Arduino IDE Software: www.arduino.cc...
🛒 Buy Arduino UNO: amzn.to/2Xcl4XI
Links to Buy Arduino Beginner's Guide:
🛒 Arduino Beginner's Project Kit:
amzn.to/3bMBCeh
🛒 Arduino Sensors Kit:
amzn.to/3e6hm8R
🛒 Arduino Robot Kit:
amzn.to/3e6J6dG
🛒 Arduino Programming Book:
amzn.to/2WQq3hM
✔ Subscribe E&E: bit.ly/2Xn1Ss2
Links for Arduino and IoT Tutorials:
▶ Arduino Programming Series (हिंदी में):
• Arduino Programming Se...
▶ Arduino Series (हिंदी में):
• Arduino Series (हिंदी ...
▶ NodeMCU IoT Series (हिंदी में):
• NodeMCU IoT Series (हि...
----------------------------------------------------------------------------------
For more info about us visit:
(हमारे बारे में अधिक जानकारी के लिए):
Email Id: 2idiotsofengineering@gmail.com
Facebook: enginee...
Instagram: / engineerselectronics
Twitter: / engnelectronics
Blog: engineersnelect...
GitHub: github.com/him...
Channel: / engineerselectronics
----------------------------------------------------------------------------------
Thank You!
Engineers & Electronics

Пікірлер: 294
@sohamgaud7120
@sohamgaud7120 2 жыл бұрын
Very Very Very Happy to See our Best Teacher of Coding back 😍🙏🥳😇🤩
@yuvrajkukreja9727
@yuvrajkukreja9727 2 жыл бұрын
8:43 i think "program 2" because it continously make led high........ even when "if" statement executes to make "led" LOW then also ,with in few milli-second it will turn "LED" HIGH again.(and this millisecond gap can't be seen by human eye)
@akashnain2202
@akashnain2202 2 жыл бұрын
I think your explanation is wrong but your answer is right
@yuvrajkukreja9727
@yuvrajkukreja9727 2 жыл бұрын
@@akashnain2202 may be ,because i am not a teacher!
@ashutoshk1002
@ashutoshk1002 2 жыл бұрын
@@yuvrajkukreja9727 can you explain please
@hrithikruhela
@hrithikruhela 2 жыл бұрын
@@yuvrajkukreja9727 I also realised the correct answer from your explanation. good explanation bro!
@DevUbaidullah
@DevUbaidullah 2 жыл бұрын
@@yuvrajkukreja9727 nice bro
@sunitapandey5960
@sunitapandey5960 2 жыл бұрын
Our teacher is back😊 Its time to learn new topics and learn more about robotics
@dilipghorpade1453
@dilipghorpade1453 Жыл бұрын
yes bro
@67omkarwaghmare28
@67omkarwaghmare28 2 жыл бұрын
I am very happy to see you, sir! OP Come Back And I think 2nd program can't execute Arduino, because it does not contain the 'else' condition, and 'if' condition is false then execution goes to the next part then led is high. I was confused but led becomes a high position and Arduino did not understand this program.
@aleezakhatoon3197
@aleezakhatoon3197 2 жыл бұрын
Mai 1 we 14 tak video dekha hu maja aagya mai khud coding karke kai project bna chuka a thanks sir
@himanshudewangan1228
@himanshudewangan1228 2 жыл бұрын
Finally you are back 😊. So excited 😁
@umargul5644
@umargul5644 2 жыл бұрын
Well come back sir, from your kindly teaching now we are already learned almost (c language) too with ardiuno, Love from Pakistan 🇵🇰 ♥ ❤ 😍 💕 💖 🇵🇰.and my opinion is, all three programs are correct.
@hansikabagga
@hansikabagga 2 жыл бұрын
what?I have been watching ur videos from a year now and just started this series yesterday and now almost finished and u uploaded another.Thank u (:
@pyaryrajan8349
@pyaryrajan8349 2 жыл бұрын
Finally !! You are back after one year and if anyone thinks that the program number 2 is wrong please :) like the comment....
@sambitprakashmohanty4103
@sambitprakashmohanty4103 2 жыл бұрын
Continuously light is glow but at loop is start the light is off in short time of interval. Then when vibration is detected the if condition is false then the light is not off the short interval time. So that when vibration is detected then the light will be continuously glow and vibration is not detected then the light is slightly blinking but we don't see, we feel it constantly glow. Thank you so much your tutorial. I hope next video is coming soon.
@swapnilpatil8265
@swapnilpatil8265 2 жыл бұрын
Sir aap mahan ho!!!!! Aap hame bohot acche se arduino me pro bana rahe ho
@anonymous-sj5qu
@anonymous-sj5qu 2 жыл бұрын
Waiting for you sience 1 year, Welcome, Your videos are awesome
@mohdkashif3856
@mohdkashif3856 2 жыл бұрын
1 saal bad ap ne eq video de. Thank you sir. Video ap ke bhot he knowlagebal hi.
@indianarduinoprojects8753
@indianarduinoprojects8753 2 жыл бұрын
So glad to see you back I learned arduino programming by seeing ur videos
@Short_Study.
@Short_Study. Жыл бұрын
Very best explain sir And thank you ma arduno coding seek gaya 🌏🌏🌏✌✌✌✌😎😎😎😎😎
@farukhossain3719
@farukhossain3719 2 жыл бұрын
Finally ,🥰🥰🥰you are back after more than 1 year
@sahilsawal664
@sahilsawal664 2 жыл бұрын
Awsm 🔥
@onkarjadhav7995
@onkarjadhav7995 2 жыл бұрын
Hello sir finally aap aagaye bhahot khushi hue
@sajidmohammad3190
@sajidmohammad3190 2 жыл бұрын
So glad to see you back, bro!!! 🥳🥳 We missed you a lot 😢😢 Where were you till now?? 🙂
@BhupenderSingh-id3zr
@BhupenderSingh-id3zr Жыл бұрын
Thanks brother I seen all your tutorial videos about arduino programming, this helps me a lot, the way u explaining the things was literally awesome👍👍, easily I got them...
@TheUnboxingBaba
@TheUnboxingBaba 2 жыл бұрын
Please complete this playlist. It is very helpful.
@sureshgurjar2262
@sureshgurjar2262 2 жыл бұрын
Welcome back sir thanks for continue
@__ayu
@__ayu Жыл бұрын
बहुत बहुत धन्यवाद भाई 🙏 FOR THIS PLAYLIST
@ScienceEverywhereMAA
@ScienceEverywhereMAA Жыл бұрын
Quite good explanation. Learned lot from this video series. Thank you very much.
@pythonkrishna290
@pythonkrishna290 Жыл бұрын
Program 1 because it will continueously keep the led off until the sensor gives HIGH signal
@Sujeetsharma843
@Sujeetsharma843 Жыл бұрын
Bro error program kaun sa hai wo batana hai
@krishna290gamer2
@krishna290gamer2 Жыл бұрын
@@Sujeetsharma843 no one will throw error but 1 and 3 will accomplish the task
@Sujeetsharma843
@Sujeetsharma843 Жыл бұрын
@@krishna290gamer2 bhai , wo ek logical error hai ,
@thegreaticons5071
@thegreaticons5071 2 жыл бұрын
Am so happy you are back 😂😍😍😍😍 Jldi se jldi aage aage or video uplod kro
@shivaraghav2899
@shivaraghav2899 2 жыл бұрын
Brother really your content are very useful for us... Please keep it up... And help us to understand Arduino programming....
@VijayKumar-mb3jr
@VijayKumar-mb3jr 2 жыл бұрын
Program 2 bcz it have only if statement and after if() next line also execute so led will blink after 1 sec. Without any vibration.
@sentrymental5679
@sentrymental5679 2 жыл бұрын
Pls make more videos sir, I love your way of explaining!!
@tanyamaheshwari5893
@tanyamaheshwari5893 2 жыл бұрын
Thanks for coming 🙏
@shashwatverma6917
@shashwatverma6917 Жыл бұрын
Sir prgram 3 is correct one Program 1 me hamne var me digital pin 5 ki value store ki hai but hamne pin 5 ki value HIGH / LOW declare ni ki . But next line me var== LOW declare kiya hai jisse arduino input pin 5 ki value read ni kar paega aur error aajaega. Program 2 me hamne IF statement to declare krdiya but IF koi loop ni hai jo break hokr next statement pr jump kare so ELSE statement ki absence me wo program error batayega Program 3 me IF condition false hone par arduino ELSE condition execute hogi
@samratbiswas7010
@samratbiswas7010 Жыл бұрын
I think all the program works properly.
@pettyscientist2357
@pettyscientist2357 2 жыл бұрын
Thank you sir. We were waiting for your videos eagerly🥲
@priti5763
@priti5763 Жыл бұрын
Very easy explanation. Amazing 👏
@arbaz2207
@arbaz2207 Жыл бұрын
program 1& 2 both everyone know how program2 is not gonna work but for program 1 i think val is not updating its value when it enters in loop it runs infinitesmally as it never gonna update and if it update it will be redclaration of val as an error;
@shreechandansamal5206
@shreechandansamal5206 2 жыл бұрын
😵😵😵😵are sir you are back we are waiting you for a long time.bahat din ka break leliye 🤣🤣.
@vijaygautam1165
@vijaygautam1165 2 жыл бұрын
Aa gye sir wapes
@the_a_ma_n._1104
@the_a_ma_n._1104 2 жыл бұрын
Wow 🤩🤩 you are back I am waiting for your video.।
@mechatronicsprioritysystem6487
@mechatronicsprioritysystem6487 Жыл бұрын
GREAT SIR. THANKS FOR THE VIDEOS. VERY HELPFUL.
@mridulsarkar9015
@mridulsarkar9015 2 жыл бұрын
Thank yous for you wonderful videos series. And contribution.
@faizmajzoob1710
@faizmajzoob1710 2 жыл бұрын
Very glad to see you again ❤
@Indian0333
@Indian0333 2 жыл бұрын
Sir neo6m gps module se raspberry Pi 4 me realtime location track kaise ker sakte hai python programming se Google map per sir please ees topic per ek video bana dijiye please sir help me 🙏🏻
@dominocreator4989
@dominocreator4989 Жыл бұрын
Thank you sir for such great explainations. I love the videos u make. Eagerly waiting for your new upcoming videos for arduino
@sambitprakashmohanty4103
@sambitprakashmohanty4103 2 жыл бұрын
Thank you so much sir please continue this series
@Harry-qn8yf
@Harry-qn8yf 2 жыл бұрын
And thank you so much for coming back 😍
@a-49hrishikeshn.92
@a-49hrishikeshn.92 Жыл бұрын
Your videos are very effective and best but it will be better if you also include the values of components like resistors etc
@TechnicalidEas07
@TechnicalidEas07 2 жыл бұрын
Love it love from Technical idEas 🤩❤️
@diy_513
@diy_513 11 ай бұрын
It's a good teacher 😊
@rishusingh9867
@rishusingh9867 Жыл бұрын
Second is to be correct because in this all necessary commands defined another two programs is wrong because not be declared correctly
@ChalotraBrothers
@ChalotraBrothers Жыл бұрын
8:52 The reason of turn LED HIGH is because the if condition check only and after the if condition is true or not it will run the below code because there is any condition there
@ChalotraBrothers
@ChalotraBrothers Жыл бұрын
complete this course
@electricalandelectronics5937
@electricalandelectronics5937 2 жыл бұрын
superb......easy to understand......u have bright future....keep it up
@SumitKumar-bc5fj
@SumitKumar-bc5fj 2 жыл бұрын
Happy to see you after a long time sir ❤️
@counterknowledge
@counterknowledge 2 жыл бұрын
Sir where are you. You are uploading video almost about 1 year later
@EngineersElectronics
@EngineersElectronics 2 жыл бұрын
Yes, from now I'll try to upload regularly.
@farukhossain3719
@farukhossain3719 2 жыл бұрын
@@EngineersElectronics thx bro🥰🥰 waiting for more incredible videos about arduino,raspberry pi,iot etc, some more project
@RS-fj3hy
@RS-fj3hy Жыл бұрын
2nd becz led will glow in both cases (digitalWrite(5)==low,digitalWrite(5)==high)
@darkmontagegame8257
@darkmontagegame8257 2 жыл бұрын
Bro servo motor se 4-lag spider robot banao plzz
@prakashthakor2383
@prakashthakor2383 2 жыл бұрын
I am happy to see you again ❤️
@SohamDutta222
@SohamDutta222 11 ай бұрын
program 2 because lights will be blinking always, only if vibration detected light will be off and again on, and it will blink otherwise.
@YashJain-qh5tn
@YashJain-qh5tn 2 жыл бұрын
Aap pls btao ki Nodemcu ko Google Assistant se kese control kare?
@englishinsambalpuri9364
@englishinsambalpuri9364 2 жыл бұрын
After long time, Please keep it up, We support you, 🙂🍏🍏🍏
@studymathsandchemistry495
@studymathsandchemistry495 Жыл бұрын
sir super class 😊😊👌👌🙏🙏
@manjusunagar5440
@manjusunagar5440 4 ай бұрын
bro the second one program is error one ,because when ever we use if statement for condition we also need to use else for to run another condition if the first one condition gets failed.
@krishnasingh-cg8oq
@krishnasingh-cg8oq 2 жыл бұрын
Super teching
@rbcreations6384
@rbcreations6384 9 ай бұрын
Thank you sir
@user-zg7hc4kb9t
@user-zg7hc4kb9t Жыл бұрын
Hi, program no.2 isliy kiun k program 2 me sensor HIGH ho ya LOW ho LED HIGH hi rahy gi.
@samirkayal2316
@samirkayal2316 Жыл бұрын
Program 2 execute nahi hoga, if use hua hain else nahi use hua hain.
@virendersingh6027
@virendersingh6027 2 жыл бұрын
Sir, एक ऐसी tutorial वीडियो बनाय please जिसमे एक for loop code के अंदर multiple function use हो Thanks in advance
@virendersingh6027
@virendersingh6027 2 жыл бұрын
Reply please yes or no
@rockytarget8423
@rockytarget8423 Жыл бұрын
your videos are really interesting
@chinmoydastouring
@chinmoydastouring 9 ай бұрын
your previous video you told if we write low so light should be on.if we write high light should be off.so why you tell now. if digitalWrite (4,HIGH) ,LIGHT WILL BE ON.
@ROBIN_AHMED_OTUL
@ROBIN_AHMED_OTUL 2 жыл бұрын
love from Bangladesh ❤️❤️❤️ 🇧🇩🇧🇩🇧🇩🇧🇩🇧🇩
@akbfreefire6534
@akbfreefire6534 2 жыл бұрын
Done ✅ Ur all all video ♥️
@Mukesh-vo2yr
@Mukesh-vo2yr 2 жыл бұрын
Program 2 Kiu ke " else" Statement Nahi Lagaya He
@aaotv8421
@aaotv8421 Жыл бұрын
Q2 was wrong because else statement is not give so program was executed without vibration only one second blink LED
@anshijain5480
@anshijain5480 2 жыл бұрын
Finally you are back 😁
@arduinoprojecttutorial6774
@arduinoprojecttutorial6774 2 жыл бұрын
Sir g.ap se bohut kuch sikha arduino ka.... Mene apko ek request kortihu...ap 2 nodemcu use korke server and client ka tru led on off korke dekhaiye....
@itachi_kun____
@itachi_kun____ 2 жыл бұрын
Finally back I am your fan ❤ sir
@manishaIsave24
@manishaIsave24 Жыл бұрын
all three programs are correct
@pranjalyellurkar3001
@pranjalyellurkar3001 2 жыл бұрын
Very nice explanation 👍🏻
@hrithikruhela
@hrithikruhela 2 жыл бұрын
Thanks bro 👏
@Aniket_gamer_Yt_990
@Aniket_gamer_Yt_990 2 жыл бұрын
Bhai aapko wapas dekhkar bahut acha laga
@shahaji1318
@shahaji1318 2 жыл бұрын
Great ....welcome sir
@sandeepkumaryadav8653
@sandeepkumaryadav8653 2 жыл бұрын
Bhai program 1st and 2nd dono wrong hai 1st wala upload karne par led on nahi ho raha hai and 2nd wala upload karne par led always on.
@sakalagamingyt3563
@sakalagamingyt3563 10 ай бұрын
Program 1 will not work because we are storing String i.e LOW in 'int' datatype.
@vkgamer9305
@vkgamer9305 7 ай бұрын
I think 1 and 2nd because 1 st wale mai while mai kar val low hoga to vo infinite loop mai fas jayebga
@snehaghosh749
@snehaghosh749 2 жыл бұрын
Pls complete the other topics it's really helpful 😄🙏
@sahilshaikh6312
@sahilshaikh6312 2 жыл бұрын
Hi bro , you are awesome but you left one topic , the topic is libraries
@rZERO_game
@rZERO_game 2 жыл бұрын
without any vibration led will on for 1000ms second and off for if statement executed time,
@slowedkazamana
@slowedkazamana 2 жыл бұрын
Sir series ko aage badhao
@madhvendrasingh806
@madhvendrasingh806 2 жыл бұрын
bhai next video mei ultasonic sensor ke sath led control using while ya do while in tinker cad pe video plz
@amit_solra
@amit_solra 2 жыл бұрын
Sir ...... Automatic water level controler project me display me kitni bar water tank me bhra gya h show ho ye program bna do pls sir mujhe bhut jarurt
@arnabroy5613
@arnabroy5613 2 жыл бұрын
Aapka explanation bahut acche Hain 😘 Sir next video kab ayaga ???
@ravishverma2054
@ravishverma2054 2 жыл бұрын
Sir next video ies Serise ka kab aa raha hai
@rZERO_game
@rZERO_game 2 жыл бұрын
prog 2 will not execute as we want. but program firstoff all no error generate. if statement is always true when no vibration occured,so if statement will execute than goes to next line -- next line instruction is given as on the led . so led will on remain for 1000ms thne again it goes if statement then led will get off but off time is very little then we can;t see.
@ssgamer3317
@ssgamer3317 Жыл бұрын
program 2 bcz there is no else statement and after the true true statement control gos to out of code and it will automatically turn on led without getting any vibration if I am wrong .... please let me know the right answer with explanation
@ssgamer3317
@ssgamer3317 Жыл бұрын
8:47
@SameerShaikh-tf2xu
@SameerShaikh-tf2xu 2 жыл бұрын
SAR well Come back
@narendrameshram2951
@narendrameshram2951 2 жыл бұрын
Love you sir
@hemantbhargava59
@hemantbhargava59 2 ай бұрын
program number 2 cannot serve the purpose because just after low high command is given and it will be executed
@Rishav_raj74
@Rishav_raj74 2 ай бұрын
2nd one is not correct. The return value will not be 0 .. because 'if' statement is incomplete without 'else'.
@rbcreations6384
@rbcreations6384 9 ай бұрын
I think 2nd program does not execute because if condition is true then led is low ,in this position ''else'' condition is not exist in 2nd program then led becomes low.
@sudeesh155
@sudeesh155 2 жыл бұрын
Sir ek video multitasking per bana digiye please 🙏🙏🙏🙏🙏🙏🙏🙏
@diy_513
@diy_513 11 ай бұрын
All are working
Arduino Programming Series - Tutorial 15 | Creating own Functions [in Hindi]
13:10
Engineers & Electronics
Рет қаралды 29 М.
Arduino Programming Series - Tutorial 13 | For Loop [in Hindi]
13:34
Engineers & Electronics
Рет қаралды 60 М.
Throwing Swords From My Blue Cybertruck
00:32
Mini Katana
Рет қаралды 11 МЛН
拉了好大一坨#斗罗大陆#唐三小舞#小丑
00:11
超凡蜘蛛
Рет қаралды 16 МЛН
Arduino Tutorial 17: Understanding Arduino While Loops
21:05
Paul McWhorter
Рет қаралды 192 М.
I built my own computer. by hand.
13:03
jdh
Рет қаралды 1,2 МЛН
I tried the Cheapest Arduino Alternative (that Nobody heard of)
13:31
How to use millis() function to multitask in arduino code.
10:34
Mario's Ideas
Рет қаралды 60 М.
Arduino Programming Series - Tutorial 12 | Switch... case Statement [in Hindi]
12:46
Arduino millis() function: 5+ things to consider
12:49
Programming Electronics Academy
Рет қаралды 139 М.
MAX7219 LED multiplexing tutorial
13:26
FriendlyWire
Рет қаралды 38 М.
Fun with Transistors
24:33
HackMakeMod
Рет қаралды 271 М.