ARDUINO TUTORIAL FOR BEGINNERS LESSON 8: TURN ON LED USING SERIAL MONITOR
#ArduinoUno #SerialMonitor #ArduinoSerialMonitor
ARDUINO TUTORIAL FOR BEGINNERS LESSON 8: TURN ON LED USING SERIAL MONITOR
In this lesson, we are going to learn how to turn on a LED using the command in the serial monitor of the Arduino IDE. This Arduino tutorial for beginners will let you learn the concept behind serial monitor that can turn on different types of LED color according to your specified code.
Reference: https://www.makerlab-electronics.com/
Learn about the Arduino Kit: https://youtu.be/S2Hd-TeijnU
My Collection of Boards and Sensors: https://youtu.be/sEn6LZP_mi0
ARDUINO TUTORIAL FOR BEGINNERS LESSON 7: BUILDING A QUIZ BUZZER SYSTEM : https://youtu.be/ryrN46bjNhI
Best IoT Project: https://youtu.be/lZsEdkC4A3g
I have recommended stores where you can buy the components:
https://www.makerlab-electronics.com/
https://www.e-gizmo.net/oc/index.php
Lesson 8 Serial Monitor
Introduction
In this experiment, you will learn how to turn on or off LEDs through a computer and the Serial Monitor. Serial Monitor is used for communication between the Uno board and a computer or other devices. It is a built-in software in the Arduino environment and you can click the button on the upper right corner to open it. You can send and receive data via the serial port on the Uno board and control the board by input from the keyboard.
In this experiment, since we use colored LEDs as loads, you can enter a color among red, green, and blue on Serial Monitor in the IDE. The corresponding LED on the Arduino Uno board will then light up.
Components
- 1 * Arduino Uno board
- 1 * Breadboard
- 3 * LED
- 3 * Resistor (220Ω)
- Jumper wires
- 1 * USB cable
Principle
Here, the Serial Monitor serves as a transfer station for communication between your computer and the Arduino Uno board. First, the computer transfers data to the Serial Monitor, and then the data is read by the Arduino Uno board. Finally, the Uno will perform related operations.
Experimental Procedures
Step 1: Build the circuit
The schematic diagram
Step 2: Program (Please refer to the example code)
Step 3: Compile the code
Step 4: Upload the sketch to the Arduino Uno board
Now, click the Serial Monitor button at the upper right corner in the IDE. Then the Serial Monitor window will pop up as shown below.
With this window, you can not only send data from your computer to the Arduino Uno board, but also receive data from the board and display it on the screen. When you open the window, it will display “Please input any color of LED:”. You can input a color here. If you enter red, green, or blue, click Send, then the corresponding LED on the breadboard will light up. However, if you enter any color other than these three, no LEDs will be on.
For example, if you input red, you will see the red LED light up.
Related Searches: arduino,arduino uno,buzzer,arduino projects,arduino tutorial,quiz buzzer system,quiz buzzer system using arduino uno,arduino quiz buzzer system,diy quiz buzzer system,arduino quiz buzzer,quiz buzzer,quiz,arduino game show,quiz buzzer sound effect,quiz buzzer circuit,arduino project,arduino quiz game show,arduino quiz show,arduino quiz game show foe beginners,arduino quiz buzzer system code
Full Video: