Читать книгу Arduino and electronic creativity. Study guide - Boxodir Xoshimovich Karimov - Страница 5

Chapter 3. DOWNLOADING THE ARDUINO PROGRAM AND DRIVER

Оглавление

3.1. Downloading the Arduino IDE program

Arduino is an electronic designer and a convenient platform for the rapid development of electronic devices for beginners and professionals. The platform has become popular all over the world due to the convenience of the programming language, as well as open architecture and program code. It is programmed via USB without the use of programmers.

The blue-green board is the Arduino. At its core, Arduino is a small personal computer that allows you to go beyond the virtual world into the physical world and interact with it. Arduino-based devices can receive information about the environment through various sensors, and can also control various actuators.

Arduino-based device designs can work independently or interact with computer software.

Consider the most popular versions of Arduino (Nano, UNO, Mega,) used in the work.

Arduino UNO is a developer board, one of several (Mega, Nano, etc.), based on the ATmega328 microcontroller. It is popular mainly because of its extensive support network and versatility.

The Arduino UNO has 14 digital I – O ports, six of which can output PWM. There are also 6 incoming analog ports. There is a 16 MHz generator, a USB port, a power connector, a reset button, and an ICSP connector.

In order to get started with Arduino, you need to go to the website arduino.cc and download the Arduino IDE program from the Download section ver 1.8.19, completely free.


Fig.3.1. Computer operating systems


First specify the type of operating system on your computer. Using any browser, enter the following in the address bar:

Connect the Arduino Uno board to the computer use the USB cable included in the kit, connect the Arduino board to one of the USB 2.0 connectors of your computer.


3.2. Installing drivers

Depending on which operating system is installed on your computer, you need to choose the way to install the driver.

Below are the links and installation methods for the Arduino Uno board.

*You should pay very careful attention to the selection and installation of drivers.

Installation for Windows

Follow the link below to access the installation instructions on a Windows computer.

http://arduino.cc/en/Guide/Windows

Installation for Macintosh OS X

There is no need to install additional drivers for Mac OS, but you can visit the «quick start» page.

http://arduino.cc/en/Guide/MacOSX

Follow the link below to access the installation instructions on a computer running the Linux operating system.

http://www.arduino.cc/playground/Learning/Linux

Arduino IDE Program Interface:


This is how the Arduino IDE programming environment running on your computer looks like. We are starting to get acquainted with its interface. Now we will not touch the code, but only tell you about the purpose of the function keys in the program menu.

The following shows the most important commands used in new projects, such as check, upload, new, open, save, serial monitor port, sketch name, code drop and message area. Sketches of new projects are checked if loaded correctly. After that, the scheme should work. If the sketch and the diagram are incorrect, then the malfunction is eliminated. After all, the scheme should work.


Fig.3.2. Arduino IDE programming environment

3.3. Graphical user interface and the most important commands

Figure 3.3. Graphical user interface


Figure 3.4. The three most important commands in the Arduino IDE menu

3.4.Board and Port selection

Figure 3.4. Board and port selection

3.5.Download Arduino sketches


Arduino and electronic creativity. Study guide

Подняться наверх