Controller Programming - Get started

Article-series: Programming Arduino from scratch #1

Arduino is a brand of hardware and software for building simple automation and robotics systems, aimed at non-professional users. The software part consists of a free software shell (IDE) for writing programs, compiling them and programming hardware. The hardware is a set of assembled printed circuit boards sold by both the official manufacturer and third-party manufacturers. The completely open architecture of the system allows you to freely copy or expand the Arduino product line.

To begin with, you will definitely have a question, why are controllers needed, and why Arduino?

General view of the Arduino controller

In fact, controllers can now be found anywhere, in any equipment that operates autonomously or with minimal human intervention. In coffee vending machines, radio-controlled toys, automatic washing machines, smart home systems... If, for example, in response to pressing a button you need to open a gate, then a regular relay will do the job. And if we need to pause, or turn off the lights after a while, or play a certain sound signal, then we need a controller. In fact, each controller is a tiny computer, that is, in addition to the processor, it includes both RAM and permanent memory. In terms of power, it will resemble a computer from 10 years ago, but this is quite normal. After all, a device that performs a dozen actions using a simple algorithm does not require the power of a supercomputer. But the cost and power consumption are also orders of magnitude lower than that of full-size computers.

Okay, we roughly understand why controllers are needed, all that remains is to figure out which of the many models to start with. The modern microelectronics industry produces many controller options, differing in price, size, power, and reliability. But we are just beginning to get acquainted with them, and therefore the main thing for us is ease of use and accessibility. There is also plenty to choose from here, let’s focus on Arduino.

The fact is that these particular controllers are quite easy to find on sale, and we immediately get a device ready for experiments. In addition, along with the controller, you can find a lot of peripherals. No, many say that Arduino is far from ideal among controllers. There are many cheaper and still functional solutions. But if you are a beginner who is just starting out, then you should stop there. Moreover, later, when you get the hang of it a little, you can move on to more complex things.

Еще:

Программирование контроллеров – с чего начать (Программирование Arduino с нуля #1)
Подключение периферии, платы расширения (Программирование Arduino с нуля #2)
Организация питания для Arduino (Программирование Arduino с нуля #3)
Подключаем сервопривод к Arduino (Программирование Arduino с нуля #4)
Создаем класс для управления сервоприводом (Программирование Arduino с нуля #6)
Подключение шагового двигателя. Контроллер L298 (Программирование Arduino с нуля #8)