Это видео недоступно.
Сожалеем об этом.

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.

Комментарии • 41

  • @programmingelectronics
    @programmingelectronics  3 года назад +1

    ****If you like this, I think you'll like the premium Arduino training we offer. You can check it out here**** bit.ly/3lHyzcB

  • @johnlatza1371
    @johnlatza1371 6 лет назад +3

    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.

  • @kevinheys7297
    @kevinheys7297 8 лет назад +5

    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.

  • @zikermu
    @zikermu Год назад +1

    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.

  • @beatlessteve1010
    @beatlessteve1010 8 лет назад +6

    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 ?

  • @JosephTheBald
    @JosephTheBald 6 лет назад +1

    This was awesome! You helped me out a lot!

  • @attalaw36
    @attalaw36 4 года назад +1

    thank you

  • @lisandroiaffar4501
    @lisandroiaffar4501 Год назад +1

    Thank you for this!!!!

  • @yak55x
    @yak55x 7 лет назад +1

    Thanks for the tutorial. It would be awesome to include the sample program in the description so I can copy and paste.

    • @heyarno
      @heyarno 7 лет назад

      The example is built into the arduino IDE.

  • @opeyemiolalere3232
    @opeyemiolalere3232 7 лет назад +1

    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.

  • @KooKKoZ
    @KooKKoZ 6 лет назад +3

    HOW DID YOU GET THE POPUP SCREEN WHEN YOU UPLOAD IT? PLEASE HELP?

    • @strangelf
      @strangelf 5 лет назад +1

      KooKKoZ tools > Serial Monitor

  • @gadrian7853
    @gadrian7853 7 лет назад +1

    Thank you!

  • @arindam_goswami
    @arindam_goswami 2 года назад +1

    Any way i can read serial monitor without connecting cord? Wirelessly?

    • @programmingelectronics
      @programmingelectronics  2 года назад +1

      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.

    • @arindam_goswami
      @arindam_goswami 2 года назад +1

      @@programmingelectronics glad to know you liked the goal..can recommend some wifi enabled micro controller ?

    • @michaelcheich2481
      @michaelcheich2481 2 года назад

      @@arindam_goswami I'd look into an esp32 or an esp 8266

  • @anybag7007
    @anybag7007 5 лет назад

    Is there a way to pull the ide code off the arduino?

  • @Scott.Farkus
    @Scott.Farkus 4 года назад

    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?

  • @danielworkneh3608
    @danielworkneh3608 5 лет назад +1

    Can I run the arduino code output on my pc like a C++ code without connecting an arduino board? if possible how?

    • @programmingelectronics
      @programmingelectronics  5 лет назад

      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.

    • @lifeforce3451
      @lifeforce3451 4 года назад

      check the win32 function CreateFile()

  • @howard_yin
    @howard_yin 7 лет назад

    hi boss, is there a way to read real time data by matlab?

  • @sonna4481
    @sonna4481 5 лет назад +1

    thank you so much~~sir

  • @marcokuperus1455
    @marcokuperus1455 7 лет назад

    I want the serial monitor on my lcd display,
    Do you know how or can you explain it to me???

  • @akshayd211
    @akshayd211 9 лет назад

    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.

  • @grify
    @grify 6 лет назад

    What is the intro song?

  • @armo0375
    @armo0375 8 лет назад

    hey, can't you do coolFactor += 1?

  • @djrunner301
    @djrunner301 5 лет назад +1

    dis was helpfullllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllIlllllllllllllllllllllllllllIlllllllllllllll

  • @yrnquezz1640
    @yrnquezz1640 2 года назад +2

    what am i doing here bro

  • @shortclip8457
    @shortclip8457 7 лет назад

    how to create smartphone 5 inches display used to create small TV HDMI input TV monitor