Тёмный

Arduino Basics 102: Control Structures, Variables, Interrupts 

GreatScott!
Подписаться 2 млн
Просмотров 489 тыс.
50% 1

Support me for more videos: / greatscott
Previous video: • DIY Portable LED Panel...
Arduino Basics 101: • Arduino Basics 101: Ha...
Facebook: / greatscottlab
Twitter: / greatscottlab
You can get Arduino boards here (affiliate links):
Aliexpress:
Arduino Uno: s.click.aliexpress.com/e/_dT2...
Arduino Nano: s.click.aliexpress.com/e/_dUL...
Arduino Pro Mini: s.click.aliexpress.com/e/_d62...
FTDI board: s.click.aliexpress.com/e/_dV4...
Ebay:
Arduino Uno: rover.ebay.com/rover/1/711-532...
Arduino Nano: rover.ebay.com/rover/1/711-532...
Arduino Pro Mini: rover.ebay.com/rover/1/711-532...
FTDI board: rover.ebay.com/rover/1/711-532...
Amazon.de:
Arduino Uno: amzn.to/2ljDLFL
Arduino Nano: amzn.to/2ljnq3J
Arduino Pro Mini: amzn.to/2kMv0ly
FTDI board: amzn.to/2ljvuRY
In this second epsiode of the Arduino Basics video series I will talk about control structures like if, for, while and switch and how to use them in combination with variables to create more advanced code. At the end I will also talk about why interrupts are so important and how to use them as well.
Music:
In the Hall of the Mountain King, Kevin MacLeod
Ecstatic Wave, Jens Kiilstofte
machinimasound.com/music

Наука

Опубликовано:

 

11 мар 2017

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 422   
@Nerdforge
@Nerdforge 7 лет назад
Arguably one of the best thorough introductions to Arduino I have seen. I like the parts where you include "why use a microcontroller" and not a circuit for specific uses. With a computer science background it's hard to not always use a microcontroller, but many times it seems like it can be obsoleted.
@greatscottlab
@greatscottlab 7 лет назад
I am glad you liked it. Looking forward to your next projects ;-)
@mj2068
@mj2068 3 года назад
well said. but, "obsoleted"?, you mean overkill, huh? xD... (btw, love martina's mythical purple hair)
@JariOrSomething
@JariOrSomething 7 лет назад
As a developer and i already know these things, i love it. Scott you make great tutorials for people to understand the basics. The things you explain works for a lot of programming languages! keep it going man!
@gautampassi3863
@gautampassi3863 7 лет назад
Can you continue this Arduino series? The way you present stuff is really interesting, fun and makes really easy to understand the stuff. PS great video.
@greatscottlab
@greatscottlab 7 лет назад
It will continue if there are enough people who watch it.
@iMsMs
@iMsMs 7 лет назад
There are! please keep them up
@gautampassi3863
@gautampassi3863 7 лет назад
Yes there are and will be, just please keep the great work.
@empb50
@empb50 7 лет назад
Gautam Passi agree 👌👌
@lexaf7578
@lexaf7578 7 лет назад
yeah pls its rly nice to watch
@harisijaz946
@harisijaz946 7 лет назад
I used arduino uno before but now i am able to write small codes of my own . I love all your videos but arduino basic series is excellent. Keep it up and waiting for Arduino Basic 103 :-)
@asgaines
@asgaines 7 лет назад
Fantastic! Somehow, despite having been playing around with Arduinos for years, I've never encountered interrupts! Great information, GreatScott
@connormitchell9837
@connormitchell9837 2 года назад
These have been some of the best and most informative videos I've found on Arduino "basics." In tandem with your electronics basics videos, I've been able to connect my previous knowledge of basic electrical circuits with the more nuanced languages of programming. Thank you so much!
@georgetroulis
@georgetroulis 7 лет назад
Lots of information packed into a single video, excellent learning resource. As always, keep up the good work :)
@TheHandsomeRyan
@TheHandsomeRyan 5 лет назад
I learned more about reading and writing arduino programs in 7:37 than I have from hours of watching other tutorials. Thank you!!!
@theZ3r0CooL
@theZ3r0CooL 7 лет назад
Awesome videos! I like that you keep tutorials very beginner friendly; even explaining operators and array indexes as you go along, in a thorough yet quick and simple way. Very efficient and enjoyable videos.
@naboulsikhalid7763
@naboulsikhalid7763 2 года назад
I don't understand why you are still under rated. Man, your things are high quality and quantity in term of info and demos. Thank you very much(it's not enough)
@raphael9485
@raphael9485 7 лет назад
This series is really good, I'm learning a lot with it, thank you ! I love your channel!
@azyfloof
@azyfloof 7 лет назад
Loving these Scott! Lots of great tips, keep em coming, they're valuable to people learning arduino such as myself :D
@chillzwinter
@chillzwinter 7 лет назад
I ordered my Arduino. Now I can't wait to get it so I can follow these tutorials.
@brucewoods9377
@brucewoods9377 7 лет назад
GreatScott this is Great Stuff. I am new to Arduino (only a couple of days old) and your presentation makes it so EASY to understand. You don't get side tracked in your explanations and start running off with some complicated stuff. Love the way you use the "KISS" principal. I need it like that.
@aniketakabir1572
@aniketakabir1572 7 лет назад
will be anticipating arduino 103. Keep up the good work
@tdtrecordsmusic
@tdtrecordsmusic 7 лет назад
Thanks for keeping a good pace !! Also, for touching on the more advanced. There is soooo much beginner stuff its difficult to find tips/tricks/unknowns which end up being necessary for completing real projects !! Yes go farther !! We are smart, we can keep up !!
@poorlycalculated
@poorlycalculated 7 лет назад
I really am appreciating this series! Thank you so much for making this series and giving me more things to learn about! I am a complete and utter noob at programming with arduino. Hopefully, you will progressively get to more complicated things in the world of coding and I will be able to learn from it! Keep up your good work.
@liutas1245
@liutas1245 7 лет назад
Continue Arduino series !!! :))) You explain things better than anyone else that I know or than I saw on youtube :) Big thumbs up !
@adigunawibi
@adigunawibi 7 лет назад
i love this type of video, my teacher did not teach me quiet well.
@joseneves4273
@joseneves4273 7 лет назад
Scott, this was the best video about this content I have seen!!! Thanks!
@paulfaugeras4858
@paulfaugeras4858 7 лет назад
Thank you SOO much for those tutorials ! I personally have started coding on Arduino about 6 months ago for a study project : a PID-controlled drone arm with a brushless motor and an accelerometer. If only I had those videos before, it would have been much easier... But now it works, and I learnt the hard way, which is, to my taste, more rewarding, but much slower... Anyways, thanks again, and I can't wait to see the future episodes !
@ozgemmo3445
@ozgemmo3445 7 лет назад
Mate, great arduino coding videos - looking forward to seeing 03! Not having done any formal "C" or other language coding whatsoever, you are helping to demystify this fundamental area of using Arduino based projects. Keep up the great work. Cheers from DownUnder.
@sallanmega1
@sallanmega1 7 лет назад
Great video! Please continue this series, I love it
@brad855
@brad855 7 лет назад
great video, makes me want to start playing around with my ardunio uno again, keep up the good work.
@luqmankhan-ym4gx
@luqmankhan-ym4gx 7 лет назад
wow. hands down best electronic tutoriols on youtube. proud of you buddy. grüße aus frankfurt
@BluehawkOne
@BluehawkOne 7 лет назад
This was very helpful. Please consider making a whole series of videos like this.
@Richie_
@Richie_ 2 года назад
Great video, Great Scott.
@ElProfeGarcia
@ElProfeGarcia 7 лет назад
Bien explicado el video, saludos
@bocmanisbertrups9292
@bocmanisbertrups9292 7 лет назад
This video explained me alot of things about arduino! Awesome video! I'm already waiting for the next part! :)
@lenn8432
@lenn8432 7 лет назад
Great video! You should definintely continue this series
@can.iman.
@can.iman. 7 лет назад
I really would like to see more arduino basics!!
@Rckeeps
@Rckeeps 7 лет назад
Holy crap! After 1.5 years of java, and 4 months with arduino, i was pretty comfortable with basic arduino programming, but I've never heard of Attached Interrupts! Wasn't even gonna watch this video, but decided to anyways. I learn something in every video of yours. Thank you so much!
@Anonymous-qx5uk
@Anonymous-qx5uk 7 лет назад
C++ Programing Basics with GreatScott , good one mate!
@rehaanahmed8694
@rehaanahmed8694 7 лет назад
great tutorial ... great job greatscott...
@jimbobillybob1959
@jimbobillybob1959 7 лет назад
Always learn something new. Great video series!
@Dygear
@Dygear 5 лет назад
That was a very concise explanation of interrupts.
@stefanbramel
@stefanbramel 7 лет назад
I already bought myself an Arduino to play around with it and it's great. :)
@asadkhan7441
@asadkhan7441 7 лет назад
I think this is the only diy electronics channel which is this awesome
@jamesmoon5632
@jamesmoon5632 Год назад
Great lesson!!
@RishabhMutha
@RishabhMutha 7 лет назад
wow! its much easier than I thought! thanks scott!
@horrorhotel1999
@horrorhotel1999 7 лет назад
i pretty much agree with everyone else : these videos are incredibly well made, and really bring across the content- obviously you nedd to get basic electronics in order to get them, but the way you explain the software end of things is really remarkeable - please continue this series, i could really see them becoming immensely popular if someone mentions them in the right reddit or so
@FadiFadi00
@FadiFadi00 7 лет назад
Great work, I already knew that but i enjoy watching your videos 😊 Waiting for your next video 😄
@topten7064
@topten7064 4 года назад
Your voice , information & you are great
@dylanwillms1275
@dylanwillms1275 7 лет назад
The way you explain things is Great after folowing your channel for almost 1 year i learned a lot please keep uploading videos
@greatscottlab
@greatscottlab 7 лет назад
Thanks for the feedback :-) I will try to keep it up
@dylanwillms1275
@dylanwillms1275 7 лет назад
Nice !
@WayneMcNab
@WayneMcNab Год назад
As usual, your explanation is great! However, I did find it a bit fast to for just learning this subject. Keep up the great work
@MaxCamacho
@MaxCamacho 7 лет назад
Great Scott!! I have no clue what you are doing but it sure is fascinating!!
@PeteVanDemark
@PeteVanDemark 7 лет назад
Excellent video. Thank you. Looking forward to Arduino Basics 103.
@atscub
@atscub 6 лет назад
Great video !!
@Jono6671
@Jono6671 7 лет назад
you are a legend bro, keep up the hard work!!
@Dogeek
@Dogeek 7 лет назад
I love your arduino videos, they're so helpful if I don't remember how to do something. If you could add a menu at the beggining in the form of clickable annotations, that'd be awesome !
@youraveragenerd9101
@youraveragenerd9101 7 лет назад
Great video for beginners :D
@enduser6957
@enduser6957 7 лет назад
I liked how you kept drilling in until a controller was required...Liked!
@kencover2040
@kencover2040 7 лет назад
NEED MORE VIDEOSSSS. But really, love your videos =D Very helpful for learning about the arduino.
@Emtron_Technologies
@Emtron_Technologies 7 лет назад
Very Nice tutorial for beginners. Your putting much effort get the episode consistently with great content. And While statement is just a fancy for loop.
@anaglog77
@anaglog77 7 лет назад
really good! Love your channel! :)
@yaminyassin3602
@yaminyassin3602 6 лет назад
love your handwriting! :D
@deangreenhough3479
@deangreenhough3479 7 лет назад
Still learned a lot, well presented and executed
@stevemorse5052
@stevemorse5052 7 лет назад
I have just watched Arduino 101. I have been using Arduinos for many years, love the platform. So as I watched your 101 video, I was surprised to find out something I did not know. Danke Schön (It was the value or, and how to use the internal pull up resistor) Now on to 102
@thomasrobin
@thomasrobin 7 лет назад
Love your videos! Please make an advance arduino video series
@YoBro230
@YoBro230 7 лет назад
Great Scott video Mein Herz geht auf :D
@FabiiFK94
@FabiiFK94 7 лет назад
great Video :-) I had C Basics last year but you can bring all easy to a nutshell! How to set up a Interrupt at a Arduino is very intresting
@thiagocamargoalima
@thiagocamargoalima 7 лет назад
I did not know about the attachInterrupt function. thanks!!!
@MikesDIYTeslaPowerwall
@MikesDIYTeslaPowerwall 7 лет назад
Thanks for yet another great video, This helps alot.
@fibranijevidra
@fibranijevidra 5 лет назад
Well presented. Keep on with tutorials.
@ForlornSnake
@ForlornSnake 7 лет назад
Awesome vid!
@Khatrie169
@Khatrie169 4 года назад
really enjoyed your video's was hoping there was an arduino basics 103. wish you would of continued this!
@mohammadmuwafi3623
@mohammadmuwafi3623 7 лет назад
The Best Channel
@ddsdispbos1155
@ddsdispbos1155 7 лет назад
Thank you very much. Great video
@vishalchavda3663
@vishalchavda3663 7 лет назад
Great Voice u have... and knowledge also...
@Jajaho2
@Jajaho2 7 лет назад
Knows all the stuff. Still watches the video, because Scott is awesome.
@k_8609
@k_8609 7 лет назад
first video that made sense to me , Its very similar to C++
@MrBiky
@MrBiky 7 лет назад
Well, I finally understand fully 1 of your videos (because I do programing a lot)
@kroome8
@kroome8 7 лет назад
great!!! nice tutorial... cheers!!
@eddiejones8709
@eddiejones8709 2 года назад
Great videos' as always. I built your FM radio project for my grandson and he really likes it. I have been trying to add an EEPROM read and update function to this project to remember the last frequency selected (with a 5 min timed cycle). So that when the radio is switched on again it would use this frequency instead of the one pre-programed in the sketch. Thanks
@power-max
@power-max 7 лет назад
Make sure to cover bit masking, direct port manipulation, bit shifting, pointers and stuff! These are advanced things that are hard to learn about without taking an embedded class!
@georgelewisray
@georgelewisray 3 года назад
MOST Excellent !
@hassaananwar6212
@hassaananwar6212 7 лет назад
Great video , dude .~!
@asadkhan7441
@asadkhan7441 7 лет назад
keep it up scott.
@UsePINpadtoCompleteTransaction
YES *in a bigger font than allowed* Thank you!!
@JVG_2009
@JVG_2009 Год назад
Thank you for amazing information about Arduino programming 👍
@pepemoore1
@pepemoore1 7 лет назад
very cool like every video.
@mnx4me
@mnx4me 7 лет назад
Excellent....thanks
@ShaileshDagar
@ShaileshDagar 5 лет назад
Great Video, would love to see Arduino Basics 103.
@madhumatisoni4596
@madhumatisoni4596 7 лет назад
I like that video very much...!!
@dadojovanovic98
@dadojovanovic98 7 лет назад
Good video
@BlizzetaNet
@BlizzetaNet 7 лет назад
I never even knew about attachInterrupt(...); Thank you Thank you!
@YG3BMP-JZ13FLI
@YG3BMP-JZ13FLI 4 года назад
Gracias por el tutorial, el botón de suscripción ya ha sido presionado
@rahulvc7791
@rahulvc7791 7 лет назад
Hi was waiting cool video thanks
@greatscottlab
@greatscottlab 7 лет назад
You' re welcome :-)
@mediawar007
@mediawar007 5 лет назад
Respect!!!!!!!!! Great!!!!!
@simonthecucumberenjoyer1042
@simonthecucumberenjoyer1042 7 лет назад
Yay new Arduino video :D
@ravitdayal5774
@ravitdayal5774 7 лет назад
Thank you sir I really liked the first video of this series and I love this one very helpful.do you use other microcontrollers.if yes can you teach about them too?
@shantosutradhar1365
@shantosutradhar1365 5 лет назад
supper, thank you #Bangladesh
@zaidhussain5206
@zaidhussain5206 7 лет назад
Thank you
@topten7064
@topten7064 4 года назад
Amazing
@tonythediyer8537
@tonythediyer8537 7 лет назад
@GreatScott! I wish I had your handwriting skills. Nice vid.
@benlove7171
@benlove7171 7 лет назад
nice just subbed
@samiboulaid
@samiboulaid 7 лет назад
you are the best
@decem_unosquattro9538
@decem_unosquattro9538 2 года назад
Very interesting 👌 🤔👍
@jneirag98
@jneirag98 7 лет назад
Awesome video! It would be amazing if you can explain the different ways you can damage an Arduino in order to prevent it ;)
@greatscottlab
@greatscottlab 7 лет назад
Sounds like an interesting video ;-)
@davincidamaster5311
@davincidamaster5311 4 года назад
That's the sort of stuff ElectroBoom would do!
@jansinski6213
@jansinski6213 7 лет назад
can you show how to conect simple lcd to arduino nano
Далее
CLANCY 🦞 Operation Squid Ink (New Animation)
00:58
Arduino Sketch with millis() instead of delay()
14:27
Просмотров 225 тыс.
World's worst video card? The exciting conclusion
24:23
I built my own computer. by hand.
13:03
Просмотров 1,1 млн
Level Up Your Arduino Code: Timer Interrupts
17:22
Просмотров 227 тыс.
iPhone 15 Pro в реальной жизни
24:07
Просмотров 442 тыс.