translation

This is an AI translated post.

Lucy Archive

Arduino Environment Setup #1. Installing Arduino IDE and Running Blink Example

  • Writing language: Korean
  • Base country: All countries country-flag

Select Language

  • English
  • 汉语
  • Español
  • Bahasa Indonesia
  • Português
  • Русский
  • 日本語
  • 한국어
  • Deutsch
  • Français
  • Italiano
  • Türkçe
  • Tiếng Việt
  • ไทย
  • Polski
  • Nederlands
  • हिन्दी
  • Magyar

Summarized by durumis AI

  • This post explains how to install the Arduino IDE and run the Blink example to verify that the LED on the Arduino Uno board is blinking.
  • The Windows Installer method is recommended and this post provides detailed guidance on how to set up the board and port, and how to load and run the examples provided by the Arduino IDE.
  • The next post will cover productivity-enhancing tips and environment setup methods for Arduino programming.

Installing the Arduino IDE and Running Examples

Summary

This post sets up the environment for Arduino programming and verifies that programs are downloaded properly using the examples provided by Arduino. The details are as follows:

  • Recommended installation method for Arduino IDE
    • Recommended installation with Windows Installer
  • Running the Arduino Blink example
    • Preparation for running the example
    • Arduino IDE environment settings: Board/Port Selection
    • Loading and running the Blink example
    • Execution results

Installing the Arduino IDE

Arduino download path -> Link

The description is based on Windows. There are three ways to install Arduino IDE on Windows. I prefer the Installer method. While you can use other editors (Ex. Visual Studio Code, Sublime Text, Vim, Atom...) for Arduino programming instead of Arduino IDE, the Windows Installer method is the most convenient for environment settings.

The installation method is omitted because there are no special requirements.


Running the Blink Example

Let's run the Blink example. The steps to run the Blink example are as follows:

1. Preparation
2. Connect the Arduino Uno to the PC
3. Run the Arduino IDE
4. Select the board and port in the Arduino IDE
5. Load the Blink example
6. Download the Blink example to the board
7. Check the execution

Preparation

We will use the Arduino Uno board. Please refer to the following preparations:

  • PC or Laptop
  • Arduino Uno
  • USB A/B cable
Arduino Uno, USB A/B cable

Arduino Uno, USB A/B cable

Connecting the Arduino Uno to the PC

Connect the Arduino Uno to the PC using a USB A/B cable.

Arduino Uno connected to PC

Arduino Uno connected to PC

Arduino IDE Settings: Board/Port Selection

After the Arduino installation is complete, run the Arduino IDE. Generally, the following Arduino shortcut icon is created on the desktop during the installation process.

Arduino IDE initial screen

Arduino IDE initial screen


The board and port must be configured in order to download the program written in the Arduino IDE to the board so that it can be executed. If you are testing with a different board, you need to select that board.

  • Board Selection: Menu Bar > Tools > Board > Select Arduino/Genuino Uno
  • Port Selection: Menu Bar > Tools > Port > Select the COM port where Arduino/Genuino Uno is selected
Arduino board and port settings

Arduino board and port settings

Load and Run the Blink Example

Arduino has various examples provided by itself. In addition to general examples, examples that can only be run on the selected board are also provided separately. Here, we will load and run the Blink example to run the example that blinks the LED built-in to the Arduino Uno board.

  • Load Example: Menu Bar > File > Examples > 01.Basic > Blink
  • Download: Click the upload button on the Tool Bar
(Left) Loading the Blink example (Middle) Example screen and upload button (Right) Upload confirmation

(Left) Loading the Blink example (Middle) Example screen and upload button (Right) Upload confirmation

Execution Results

The Blink example is an example that blinks the LED of the Arduino Uno board at 1-second intervals. If the upload is completed successfully, you can see the LED on the board blinking as shown below. This is a step to check the configuration of the Arduino programming environment. The code explanation will be explained in a later post.

Blink example execution result

Blink example execution result


Conclusion

We have installed the Arduino IDE, loaded the Blink example provided by Arduino, downloaded the program to the Arduino Uno board, and ran it. The next post will be about configuring the Arduino IDE environment to improve productivity before Arduino programming.

Thank you for reading until the end.^^

Yongmin Kim
Lucy Archive
배우는 것을 좋아합니다.
Yongmin Kim
Arduino IDE Setup #2. Arduino IDE Dark Theme, Font, Tab Spacing Settings +a (Useful Setup) This guide provides instructions on how to configure the Arduino IDE for better readability and improved productivity. By adding line numbers to the code, showing detailed output during compilation, applying a dark theme, changing font and tab spacing, an

June 11, 2024

Save Prompt, Download and Run in One Easy Step! The "Save Prompt" program can be used in simple steps from download to execution. If a Windows security warning appears, click "More information" and start the program by clicking the "Run" button. Modify the Buttons.txt file to add the necessary buttons
SaverPrompt
SaverPrompt
SaverPrompt
SaverPrompt
SaverPrompt

April 17, 2024

Building a US Stock Auto Trading Program Version 2.0 This blog post details the process of building US stock auto trading program version 2.0, utilizing UiPath RPA, SQL Server, Telegram chatrooms, and more to build an automated trading system. Building upon the experience gained from version 1.0, we present
(로또 사는 아빠) 살림 하는 엄마
(로또 사는 아빠) 살림 하는 엄마
(로또 사는 아빠) 살림 하는 엄마
(로또 사는 아빠) 살림 하는 엄마
(로또 사는 아빠) 살림 하는 엄마

April 20, 2024

Save Prompt Input, Download, and User Guide for Commonly Used Phrases and Prompts "Save Prompt", a convenient text auto-input tool based on AutoHotkey script, allows you to save and quickly input commonly used phrases and ChatGPT prompts. It operates solely with an executable file and provides a user-friendly GUI. It is free to use and
SaverPrompt
SaverPrompt
SaverPrompt
SaverPrompt
SaverPrompt

April 16, 2024

Rust Getting Started Guide Rust beginner's guide: From compiler installation to understanding basic concepts. It covers how to use the latest technology and libraries through official documentation and tutorials. It explains core topics such as variables, functions, and structs ste
곽경직
곽경직
곽경직
곽경직
곽경직

March 30, 2024

The Basic Structure of Stock Auto Trading (Updating...) This article provides a detailed explanation of the stock auto trading program development process, step by step, covering everything from account opening to development environment setup, API integration, UI design, core logic implementation, operation,
(로또 사는 아빠) 살림 하는 엄마
(로또 사는 아빠) 살림 하는 엄마
(로또 사는 아빠) 살림 하는 엄마
(로또 사는 아빠) 살림 하는 엄마
(로또 사는 아빠) 살림 하는 엄마

April 22, 2024

Everyday Magic, Automating Your Work with AutoHotkey Boost your productivity with everyday task automation! Use AutoHotkey to reduce repetitive work and create time for creative endeavors. It's a powerful open-source scripting language that can implement simple shortcuts to complex macros. A vibrant communi
SaverPrompt
SaverPrompt
SaverPrompt
SaverPrompt
SaverPrompt

April 16, 2024