Arduino Tutorial 19: Reading Strings from the Serial Monitor

preview_player
Показать описание
GUYS MAKE SURE YOUR SERIAL MONITOR IS SET TO 'NO LINE ENDING'!!! Otherwise you will have problems with this code.

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 read Strings, or words, over the Arduino Serial Monitor. Enjoy!

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

You guys can find more great arduino content on my web site at:

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

I discovered that the serial monitor window has to be set to "no line ending" or I get uncommanded line returns

bigstickpilot
Автор

I seriously feel guilty for not holding my breath everytime his code bugs.

girishtripathy
Автор

gotta love Paul's reactions to his intentional mistakes

meJoKeR
Автор

I stopped the video, did the work alone and it worked. That was exciting. You're the best Master Paul

GailarX
Автор

I’m 12 years old and starting to get into engineering and your tutorials have helped me a lot, thank you!

cameronburrell
Автор

So fun to play along. Thanks again for another great lesson! I added some other responses like "You picked GREEN!" as well as a delay for how long the light stayed on. After the light turns off another message that says "You did it! Thanks for playing." I wanted to add further instructions if the CAPS were incorrect and got close but was unable to make it work correctly. I'm sure we will cover this in the future. Good luck everyone!

anthonyj.dipasqua
Автор

I learned a hard lesson on "no line ending" Its one i will not forget! Amazing lessons!!

alanbolek
Автор

I added another interactive input asking for the number of blinks you want (for the selected LED color).
You can copy and paste Paul's if statements, and put them in a for loop. Very fun.
Thanks Paul!

Abdulrahman_Hi
Автор

These assignments are so much fun, and it makes me so happy every time I get the output before watching the video! Thank you for these!!<3

fizamaqbool
Автор

I struggled for hours to get mine to work . Then I read the comment make sure you have 'no line ending' in the serial monitor box. Then BOOM it worked. Thanks InvisibleHero. Thanks too Paul. great Series.

stewarthartley
Автор

We gotta protect Paul.
He is too Precious.
Love you Paul!!

geekgloryenglish
Автор

This is a Great tutorial on using Arduino for a beginner like my self. Only one thing I miss in your tutorial was on COM PORT setting. Got the port setup on the right USB, and the right Baud Rate of 9600, but I did find out that the line feed has to be in "no line ending" to work correctly. That little set back made me go thru my program looking for my error in code . Looking for all the info i could find on WHILE statement thinking i had something wrong. It was my son that saw my mistake and showed me how to fix it. SO FOR YOU BEGINNER MAKE SURE YOU ARE ON "no line ending" IN YOUR COM PORT,

larrygohl
Автор

These are the best Arduino tutorials on the entire internet. I love your style of teaching especially your intentional mistakes. Thank you so much!

fishseagull
Автор

In my program, if you choose a color that is not available, it will blink the 3 LEDs 3 times (using a for loop) and then display an error message! I loved this lesson!

AndréSilveira-VAHAS
Автор

Hello Paul,
Even though I am a bit late to the party (the magic of youtube) I would like to thank you for your series.
Great production value, high educational standards with code writing and debugging in mind, funny character that helps you stay engaged and be entertained while learning....but the thing I appreciate above all, as a Greek, is the iced cold coffee!!

Super excited about this series. Can't wait to complete it so I can move to your Robotics series.
Once again, thank you for your work, effort, and passion.

thyBeren
Автор

I found your videos and started watching them. Thank you for the series. I am an IT professional and found that both the single and double pipe work on Arduino for the "or".

jonkicker
Автор

Hi Mr. McWhorter I'm 13 yrs old and want to learn engineering so this series is really helpful to me and the future. Thank you so much for your great teaching. 😁

jonaldtrumpeno
Автор

Very nice tutorials Paul. Have been following this tutorial for a few days now and will be following till the end. A year after this was uploaded and still I find this very helpful. Thank you so much for your time and effort! Love them all. We need more people like you. Thanks a lot once agian!

davidamadeo
Автор

This was driving me crazy. It seemed like none of my digitalWrites were working. Checked the circuits and with 5v to each resistor and the LED worked! But the digital output wasn't there. Tried everything I could think of, but nothing worked

Then, I saw the "No line ending" phrase appearing in the comments. Changed that and "BOOM, " it works!

Was this in a lesson and I missed it? Oh, well. I'm enjoying this course tremendously. One thing I've learned is to minimize wires by using the rail busses. I find that more convenient, personally.

Keep up the good work, Paul. I'm on lesson 24 and having a ball. I teach power plant operations and plant simulator training which includes a lot of electrical theory and digital controls. I appreciate your teaching style and your expertise. Also, plan to make some videos, using the Arduino, to help teach basic electricity and controls. Again, great job. Looking forward to future lessons.

rayhagan
Автор

These tutorials are fantastic and make me WANT to learn more!

DM