In the lesson we will develop a real, workable project of the security alarm system. You can easily adapt the device to your tasks and conditions.
The article presents a simple security alarm project, a description of the operation, resident software (firmware). The device is not difficult to assemble with your own hands. All the information necessary for this is in the article.
In this lesson we will talk about ways to increase the reliability of programs for Arduino, learn how to use the watchdog timer in the Arduino system.
In the lesson we learn what pointers are, and how they allow us to optimize the program code, learn how to convert complex data types (int, long, float ...) into a sequence of bytes.
The lesson describes how to work with the internal EEPROM of the Arduino board, about data integrity monitoring during storage and transmission.
In the lesson we will learn how to work with analog inputs of Arduino.
The lesson describes the Arduino board UART serial interface, the library for working with it, and the use of the UART port for debugging programs.