Driver L298P

Driver L298P

Using a motor driver on an L298P chip, most often soldered onto a separate board with independent power supply (the so-called motor-shield). One chip provides independent control of two DC motors, or one stepper motor. Requires two to three digital pins per motor.

Wireless Motor Control System for turning security cameras, opening gates, blinds or solar panels

Wireless Motor Control System for turning security cameras, opening gates, blinds or solar panels

Using infrared receivers and a control panel, it provides remote control of electrical equipment functions. To ensure convenient control without the need to accurately point the remote control towards the control system, several infrared receivers are installed, with overlapping fields of view

Automatic solar tracker for rotation of solar panel based on illumination measurement

Automatic solar tracker for rotation of solar panel based on illumination measurement

The system is installed on solar panels with a rotation mechanism based on a DC motor. Designed to turn the solar panel towards higher illuminance to maximize luminous flux. Two light sensors are located on the panel - at an angle to the sides of rotation. If the illumination on the left or right sensor is higher by a certain amount, the panel will rotate in this direction.

Soft starting a DC motor using timers

Soft starting a DC motor using timers

Article-series: Arduino, using DC motors #2

When it comes to controlling DC motors, there are times when you may need to make sudden changes in speed, such as going from 0% power to full power or changing direction. However, this type of operation requires very high currents, much more than simple movement. To address this issue, it's possible to implement a smooth start for the motor by utilizing both the standard delay function delay() and timers.

Connect a DC motor. Microcircuit L298P

Connect a DC motor. Microcircuit L298P

Article-series: Programming Arduino from scratch #7

Article-series: Arduino, using DC motors #1

Consider the option of connecting a conventional DC motor to the controller, which can be used, for example, to move the robot or perform useful work. To do this, we will use a motor controller based on the common L298P microcircuit.

Creating a class for working with DC motor

Creating a class for working with DC motor

Article-series: Arduino, using DC motors #3

One controller can control multiple DC motors. Since the control code will be the same, that is, allocate a separate class for it. Then, when adding a new engine, it will be enough to add just a few lines, and not copy the same functions and variables for each.

Connecting a stepper motor. Controller L298

Connecting a stepper motor. Controller L298

Article-series: Programming Arduino from scratch #8

Article-series: Arduino, using stepper motors #1

Let's try to connect a stepper motor to the controller via the L298 chip and look at the basics of controlling it using the standard Stepper library