УДК 621.38
Metinkulov J.T. assistant
Department of Radioelectronics Jizzakh Polytechnic Institute
GETTING TO KNOW THE ARDUINO UNO BOARD AND LEARNING
HOW TO PROGRAM IT
Abstract. Nowadays, the field of automation is developing very quickly with pictures, and it is very convenient and cheap to do it with Arduino. The most convenient of Arduino devices is Arduino UNO, so let's get acquainted with this device.
Keywords: Arduino Uno, LED, resistor, breadboard, and source.
Arduino UNO is a small board with its own processor (microcontroller) and memory.
Arduino Uno is a collection of software and hardware for non-professional robotics enthusiasts. Arduino is a completely open architecture. All parts of the projects in it has its own board and IDEprogramming environment. Arduino was discovered in 2003 by Italian scientists Massimo Banzi, David Mellis and David Quartiller [1].
The word "Uno" means one in Italian. It is not for nothing that the creators of the Arduino Uno tried to create a new twist and a new flagship in the Arduino controller family with this new controller, and they succeeded. The reason is that Arduino Uno is more compact, convenient, fast, simple and certainly cheaper than other "brothers" in the family of Arduino controllers [1].
Arduino can be used in all areas of our life, for example: lights, sensors, relay modules, networks (Wi-Fi, Bluetooth, Internet), sensors, motors, magnetic door locks and everything that works with electricity.
-Using Arduino we can work with digital and analog signals [2,3].
- Control of DC motors, servo motors and displays and various actuators. -Implementation of data exchange between wireless Arduino platforms using radio modules[2].
Technical indicators of the Arduino Uno platform
• Microcontroller: ATmega328;
• Operating voltage: 5 V;
• Input voltage (recommended): 7-12 V;
(mainly software) are freely distributed. It
• Input voltage (highest): 6-20 V;
• Digital I/O: 14
• Analog input: 6;
• Constant current through input/output: 40 mA;
• Constant current for 3.3 V input: 50 mA;
• Flash memory: 32 KB (ATmega328) of which 0.5 KB is used as a bootloader;
• Fast memory: 2 KB (ATmega328);
• EEPROM: 1 KB (ATmega328);
• Frequency: 16 MHz; [4]
In addition, the Arduino Uno can receive power from a USB or external source connected to it. In this case, if there are several sources, one of them will be selected automatically.
Digital Ground
Analog Reference Pin -
Digital I/O Pins (2-13) •-
I-1-ii7
- Serial Out (TX)
- Serial In (RX)
External Power Supply
J
-JSSS5s.;--- j
MMfH • " " * •
- Reset Button
_ In Circuit " Serial Programmer
c i :,: ________
I ATmega328
Microcontroller
3.3 Volt Power Pin-
5 Volt Power Pin -
TL^
I '—Voltage In
It uses pinMode(), digitalWrite() and digitalRead() functions. Each output can pass 20-50 kOhm resistance and up to 40 mA current [5,6].
Arduino Uno controller is programmed using Arduino software. To do this, in the Arduino program, in the menu Tools>Board and from there select "Arduino Uno".
As mentioned above, this controller has very compact dimensions, its sides are 6.9 and 5.3 cm. This in turn makes it more interesting[7].
Arduino software includes two main functions:
• void setup()
• void loop()
You can use the void setup() function to start the program. This function is executed only once when the program is launched.
The void loop() function is executed after the void setup() function completes, and unlike the void setup() function, it runs continuously.
To install the Arduino IDE on your computer, you must first download it from https://www.arduino.cc/en/software [8].
Program keywords:
Below is a list of the most commonly used functions in Arduino programming:
• pinMode - sets the pin to enter or exit the mode;
• digitalRead - reads the digital input pin value;
• digitalWrite - sets the value of a digital output pin high or low;
• analogRead - reads the analog voltage on the analog input pin;
• analogWrite - writes the analog voltage to the analog output pin;
• delay- hold, hold (wait)
• Serial.print - writes data to the serial port as human-readable ASCII text. Arduino libraries are a collection of functions that allow you to control
these devices. Some of the most common libraries are [9]:
• EEPROM - read and write "permanent" storage;
• Ethernet - to connect to the Internet using the Arduino Ethernet Shield
board;
• Firmata - to communicate with applications on a computer using a standard serial protocol;
• GSM - to connect to the GSM / GRPS network using a GSM board;
• Liquid Crystal - for controlling liquid crystal displays (LCD);
• SD - for reading and writing SD cards;
• Servo - for controlling servo drives;
• SPI - for communication with devices using the SPI bus;
• SoftwareSerial - for serial communication through any digital pins;
• Stepper - for controlling stepper motors;
• TFT - for drawing text, images and shapes on Arduino TFT screens;
• WiFi - to connect to the Internet using Arduino Wi-Fi;
• Wire is a two-wire interface (TWI / I2C)[5] for transmitting and receiving data through a network of devices or sensors [10].
References:
1. Мустофокулов, Ж. А., & Чориев, C. C. (2024). ИНВЕРТОР КУРИЛМАСИНИ "PROTEUS" ДАСТУРИДА ЛОЙИДАЛАШ. Ilm-fan va ta'lim, 2(1 (16)).
2. Суярова, М. X., & Мустафакулов, А. А. (2021). ТВОРЧЕСКИЕ ЗАДАЧИ ПО ЭЛЕКТРОМЕХАНИКЕ.«. ИННОВАЦИОН ЩТИСОДИЁТ: МУАММО, ТАДЛИЛ ВА РИВОЖЛАНИШ ИСТЩБОЛЛАРИ» Халкаро илмий-амалий анжуман илмий маколалар туплами, 20-21.
3. Мулданов, Ф. Р., & Иняминов, Й. О. (2023). МАТЕМАТИЧЕСКАЯ МОДЕЛЬ УПРАВЛЕНИЯ ЯРКОСТЬЮ ИЗОБРАЖЕНИЯ ЛИЦА ЧЕЛОВЕКА НА ВИДЕОИЗОБРАЖЕНИИ. Экономика и социум, (3-2 (106)), 799-803
4. Саттаров, С. А., Халилов, О., & Бобонов, Д. Т. (2023). СОЛНЕЧНЫЕ ВОДОНАГРЕВАТЕЛИ, ИСПОЛЬЗУЮЩИХ PCM (МАТЕРИАЛЫ С ИЗМЕНЕНИЕМ ФАЗЫ).
5. Metinqulov, J. T., & Irisboyev, F. B. (2023). VOLATILE AND NONVOLATILE MEMORY DEVICES. Modern Science and Research, 2(10), 116119.
6. Boymirzayevich, I. F., & Husniddin o'g'li, I. M. (2023). INTERNET QURILMALARINING IOT (INTERNET OF THINGS) TEXNOLOGIYALARI.
7. Эмиль, М. (2023). ОБЛАСТИ ЗНАНИЙ ДЛЯ РОБОТОТЕХНИЧЕСКОГО ПРОЕКТИРОВАНИЯ. Mexatronika va robototexnika: muammolar va rivojlantirish istiqbollari, 1(1), 18-20.
8. Умирзаков, Б. Е., Раббимов, Э. А., & Хамзаев, А. И. (2023). ОПРЕДЕЛЕНИЕ КИНЕТИЧЕСКИХ ХАРАКТЕРИСТИК ТЕРМОДЕСОРБЦИИ И ГЕТЕРОГЕННОЙ РЕАКЦИИ ДИССОЦИАЦИИ МОЛЕКУЛ МОРФИНА НА ПОВЕРХНОСТИ ОКИСЛЕННОГО ВОЛЬФРАМА. Экономика и социум, (5-1 (108)), 748-758.
9. Mustafoyev, A. A. (2024). HETEROSTRUCTURED BIPOLAR TRANSISTOR BASED ON HIGH-VOLTAGE MULTILAYER EPTAXIAL STRUCTURE ALGAAS/GAAS. Ilm-fan va ta'lim, 2(1 (16)).
10. Омонов, С. Р., & Ирисбоев, Ф. М. (2023). АВТОМАТИЗИРОВАННЫЕ СИСТЕМЫ ДЛЯ ИСПЫТАНИЙ НА ЭМС НА ОСНОВЕ ПРОГРАММНОЙ ПЛАТФОРМЫ R&S ELEKTRA. Экономика и социум, (5-1 (108)), 670-677.
11. Каршибоев, Ш. А., Муртазин, Э. Р., & Файзуллаев, М. (2023). ИСПОЛЬЗОВАНИЕ СОЛНЕЧНОЙ ЭНЕРГИИ. Экономика и социум, (4-1 (107)), 678-681.
12. Eshonqulov, A. (2024). OPTIK TOLALI ALOQA LINIYALARINING PAYDO BO'LISH TARIXI RIVOJLANISHI. Ilm-fan va ta'lim, 2(1 (16)).