Это видео недоступно.
Сожалеем об этом.
Display Arduino output (e.g. sensor data) on your computer monitor with this simple function: Part 1
HTML-код
- Опубликовано: 10 авг 2015
- 🤩 FREE Arduino Crash Course 👇👇
bit.ly/get_Ard...
**If you like this, I think you'll like the premium Arduino training we offer. Check it out here** bit.ly/3nSBPUs
We designed this circuit board for beginners!
Kit-On-A-Shield: amzn.to/3lfWClU
SHOP OUR FAVORITE STUFF! (affiliate links)
---------------------------------------------------
Get your Free Trial of Altium PCB design Software
www.altium.com...
We use Rev Captions for our subtitles
bit.ly/39trLeB
Arduino UNO R3:
Amazon: amzn.to/37eP4ra
Newegg: bit.ly/3fahas8
Budget Arduino Kits:
Amazon:amzn.to/3C0VqsH
Newegg:bit.ly/3j4tISX
Multimeter Options:
Amazon: amzn.to/3rRo3E0
Newegg: bit.ly/3rJoekA
Helping Hands:
Amazon: amzn.to/3C8IYXZ
Newegg: bit.ly/3fb03X1
Soldering Stations:
Amazon: amzn.to/2VawmP4
Newegg: bit.ly/3BZ6oio
AFFILIATES & REFERRALS
---------------------------------------------------
►Audible Plus Free trial: amzn.to/3j5IGrV
►Join Honey- Save Money bit.ly/3xmj7rH
►Download Glasswire for Free:bit.ly/3iv1fql
►Download Glasswire for Free:bit.ly/3iv1fql
►Download Glasswire for Free:bit.ly/3iv1fql
FOLLOW US ELSEWHERE
---------------------------------------------------
Facebook: / programmingelectronics...
Twitter: / progelecacademy
Website: www.programmin...
Click Below to Read About This Topic on Our Website
programmingele...
Description:
In many cases while using an Arduino, you will want to see the data being generated by the Arduino. One common method of doing this is using the print() function from the Serial library to display information to your computer’s monitor.
In this week’s episode we will talk about the intricacies of the print() function.
This is the first part, of a two part series on the print() function. Here are the specific topics we will cover in this lesson:
Why would you want to use the print() function?
A brief overview of the Serial library
The basic use of the print() function
Why would you want to use the print() function?
You may know that a function is a programming tool - it performs a specific task for you. The print() function’s task is to send information from your Arduino to your computer so you can see the value displayed on your computer’s monitor.
There are an endless number of reasons you may want to send information from the Arduino to a computer display, but two reasons really stand out to me:
The first is being able to see information that you are generating with your Arduino.
For example, if you have a temperature sensor hooked up to your Arduino, and you want to see the value that the temperature sensor is recording - you can use the print() function to send the data to a computer monitor via the USB cable. If you open up the serial monitor window (Tools - Serial Monitor), you will see the values streaming in from the Arduino.
The other big reason is for developing and debugging Arduino sketches.
Very often, when you are developing an Arduino sketch, what you end up coding does something differently than what you expected it to. Maybe you have a variable that gets incremented every so often and blinks an LED when it reaches a threshold. When you upload the code to the Arduino you notice that the LED is blinking more often than it should be.
You can look at the code until your eyes bleed, but actually visualizing the variable being incremented [via the print() function], to see its values every time through the loop() can help explain what is happening very quickly.
Read More...
programmingele...
About Us:
This Arduino tutorial was created by Programming Electronics Academy. We are an education company who seek to help people learn about electronics and programming through the ubiquitous Arduino development board.
****If you like this, I think you'll like the premium Arduino training we offer. You can check it out here**** bit.ly/3lHyzcB
The way you explained it, telling us why you have to write 'serial.print' is priceless. Nobody ever does that. Now I know why all of that needs to be done, b/c it's stating what library it's from, etc. Please keep up the good work and thank you.
Really good video, extremely useful for the problems I have been having, cheers. Will deffo be recommending your videos to other Arduino enthusiasts and systems engineers, alike.
+Kevin Heys Glad it helped and thanks a ton for sharing it!
Hello, thank you very much for this excellent tutorial. It is indeed pleasant to follow and really very educational despite the fact that I am a Frenchy who doesn't master your language perfectly.
Thanks for the note JeanMarck!
how did you open the serial monitor to view the "coolfactor"? I tried clicking on the little icon in the upper right corner but no popup box opened ?
This was awesome! You helped me out a lot!
thank you
Thanks for watching!
Thank you for this!!!!
You're welcome! Glad it helped Lisandro.
Thanks for the tutorial. It would be awesome to include the sample program in the description so I can copy and paste.
The example is built into the arduino IDE.
I tried connecting LM35 temperature sensor to my arduino Yun and running the sketch, I however had my serial monitor not being able to connect. I however upload the sketch for blinking the LED and it worked perfectly well. I wish to know if I am to use the bridge library and if I do, will i be able to read my data on the serial monitor or have to connect an SD card? Thanks.
HOW DID YOU GET THE POPUP SCREEN WHEN YOU UPLOAD IT? PLEASE HELP?
KooKKoZ tools > Serial Monitor
Thank you!
Any way i can read serial monitor without connecting cord? Wirelessly?
Great question! If you use a WiFi enabled microcontroller, I am pretty sure you can connect to the network port of the device in the Arduino IDE and read the serial output.
@@programmingelectronics glad to know you liked the goal..can recommend some wifi enabled micro controller ?
@@arindam_goswami I'd look into an esp32 or an esp 8266
Is there a way to pull the ide code off the arduino?
I want to build a game controller that acts as a helicopter collective for use in sims. Can I do that with an Arduino Uno clone and a rotary encoder?
Can I run the arduino code output on my pc like a C++ code without connecting an arduino board? if possible how?
One approach would be to use an Arduino Simulator like TinkerCad, which can can model your circuit, and also acts as an IDE where you can write and run your code.
check the win32 function CreateFile()
hi boss, is there a way to read real time data by matlab?
thank you so much~~sir
You welcome - thanks for checking us out!
I want the serial monitor on my lcd display,
Do you know how or can you explain it to me???
Hi Open Source Hardware Group ! I am a complete beginner at Arduino. I want some help. Can i obtain frequency from real time accelerometer data ? i want to use ADXL345 ! :(
Please help.
What is the intro song?
hey, can't you do coolFactor += 1?
dis was helpfullllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllIlllllllllllllllllllllllllllIlllllllllllllll
Awesome! Thanks for watching!
I got a heart! Wow
what am i doing here bro
how to create smartphone 5 inches display used to create small TV HDMI input TV monitor
u.niyamath@yahoo.com