A Simple Arduino Serial Monitor Tutorial

Now Reading
A Simple Arduino Serial Monitor Tutorial

In this video I go through on how to setup a circuit and code the interacts with the Arduino serial monitor. This will hopefully show you the basics on how to interact and collect data to and from the Arduino.

Full tutorial: https://arduinomylifeup.com/arduino-serial-monitor/

In this tutorial we will build a simple circuit that consists of an Arduino Uno, 100-ohm resistor, one red LED, breadboard and breadboard wire. The purpose of this is to show how you can receive and send data over the serial port. We will be using the LED to as a visual indicator for commands we send via the output window.

The code that we use in this tutorial is very simple and again has the purpose of just showing you how you can use the Arduino serial monitor. Debug lines are extremely important if you’re having trouble with your code. In future projects we may need to use serial.print functions to fine tune values or similar.

As I explain in the video the serial monitor window is pretty easy to navigate and only has a few options that you may need to tinker with. For example, the baud rate will need to be set to the same rate you set in the code. If you don’t do this, then your output will come across as gibberish.

You can also send data to the Arduino by using the text box and the send button located at the top of the screen. I show how this is done in the video allowing you to control the LED via very simple text commands.

There are just a few of the available options but they’re are the most important. The options will mainly just affect the useability of the window.

I hope that you have been able to learn all the basics about the Arduino serial monitor in this video. If I have missed anything, got something, have feedback or anything else then please leave a comment below or over at Arduinomylifeup.com




What's your reaction?
Love It
Like It
Want It
Had It
Hated It
About The Author