Arduino Tutorial 18: Reading Numbers from the Serial Monitor

preview_player
Показать описание
You guys can help me out over at Patreon, and that will keep this high quality content coming:

In this lesson we learn how to get user input on the arduino from the serial monitor. We learn about the parseInt() and parseFloat() commands. Enjoy!

You can get the following Elegoo kit, to follow these lessons and play along at home

Find more great Arduino Content on our WEB site HERE:

#Arduino
Рекомендации по теме
Комментарии
Автор

Guys if you are having trouble, make sure you have your serial monitor set to "No Line Ending". Otherwise you can get unpredictable results.

paulmcwhorter
Автор

Maybe you could mention that the Serial Monitor should be set to "No Line Ending" otherwise you will get an extra line/0 each time. Took me a while to figure that one out.:-)

sanderromer
Автор

The real reason for YouTube to begin with, is having a channel like this ! One of the best teachers I’ve ever seen

ahmedkhalifa
Автор

I almost gave up on Arduino programming, then I came across this channel. Thank you sir !

augustvonmackensen
Автор

I absolutely enjoy your teaching method :) "Hold your breath", "Boom", "Noo!". It really makes learning a lot fun, especially for a subject like this. I am so much thankful!

missburgundy
Автор

Paul, you are a very special person, teaching HS is not easy, and with your engineering knowledge you could make tons of money in the private sector, yet you chose to help these HS students get started in engineering. I hope they appreciate what you are giving them. Thank you very much, my God bless you greatly

jamescullins
Автор

Watched videos up to this point, and it made me always wait for the as intentional mistake/blunder and the "BOOM" as eureka :) Good thing the sketch compiler only takes a few seconds to compile short codes, I don't want Paul to hold his breath long :)
I'm a professional programmer and an electronics-hobbyist, and I'm having a great time learning through these videos on how to finally see my codes work on the physical world via arduino (and through these lessons). Thank you Paul McWhorter! I will be completing all your lessons here.

erwinvelasquez
Автор

it's hard sometimes to explain to my family why I'm yelling at my computer screen

saucy
Автор

Me: Already doing Pinmode.
Paul: Not doing it.
Me: Thinking have i outsmarted Paul. :)

ahanafhoque
Автор

You're the first person who is actually able to teach this subject in a way that I can understand. Thank you very much for the content, I find myself writing and saving all the sketches you are teaching us and leaving comments on them as reminders where I went wrong so that when I refer back to them it helps fault find. I've made it to lesson 18 and I'm hooked!

ptsteln
Автор

I like putting in a fake processing loop with a message like just to give the little projects a little more life to them. I love this series so much and can't wait to start adding more sensors into our circuits!

grahamovermyer
Автор

Some syntaxes have changed in 4 years like the "string", but still these lectures are truly gold. Thanks a lot sir.

thetreeoffacts
Автор

Mr McWhorter....just want to say, I am a farmer and a truck driver, but Ive always been kind of an amateur scientist & engineer. I havent had much formal education, but Ive been educating myself in many subjects for many years because its just what I love to do. Besides, a farmer has to wear many hats. Anyway, I want to thank you for doing what you do. Its a tremendous benefit to people like me :)

michaeljenkins
Автор

Just a tip for other viewers:
I had an issue where serial monitor would ask how many blinks, I would enter, and it would work properly. But when it void looped, it would double prompt me with "How many blinks do you want?".

The issue was my fault - you need to change the serial monitor from "Newline" to "No line ending" in the drop down menu next to baud rate, in the lower right-hand corner. This is something that Paul suggested many tutorials ago, but I didn't change until now. This guy knows his stuff so pay attention =)

daleredfern
Автор

Paul, you are one of the best teachers I've ever had, it's a pleasure to listen to your lectures, thank you so much.

alejandrogonzales
Автор

thanks for teaching sir!!🙏 .Also now i got two habbit of holding breath before compiling and saying boom after code success!☺️

sauravkumar
Автор

You're awesome Paul! Learning a lot from you. Don't pay attention to these hateful messages, it's their fault they can't debug their own code.


Thanks for these videos!!!

johndean
Автор

I know we are still just starting out but now it is getting interesting and useful. Your tutorials are very well done. Thank you.

glennfelpel
Автор

I like the idea of the user getting the chance to add data they get to interact with the system instead of just watching. Thanks Paul.

opalprestonshirley
Автор

Excellent vid, I started learning computers 55 years ago but had to drop it, now am right back into it, Paul is a big part of my comeback thank you
Cheers
Robin from Australia

robinwood