官术网_书友最值得收藏!

Hardware and software requirements

First, let's see what the required components for this project are. As this is the first chapter of the book, we will spend a bit more time here to detail the different components, as these are components that we will be using in the whole book.

The first component that will be central to the project is the Arduino Uno board:

In several chapters of this book, this will be the 'brain' of the projects that we will make. In all the projects, I will be using the official Arduino Uno R3 board. However, you can use an equivalent board from another brand or another Arduino board, such as an Arduino Mega board.

Another crucial component of our alarm system will be the buzzer:

This is a very simple component that is used to make simple sounds with Arduino. You couldn't play an MP3 with it but it's just fine for an alarm system. You can, of course, use any buzzer that is available; the goal is to just make a sound.

After that, we are going to need a motion detector:

Here, I used a very simple PIR motion detector. This sensor will measure the infrared (IR) light that is emitted by moving objects in its field of view, for example, people moving around. It is really easy and quite cheap to interface with Arduino. You can use any brand that you want for this sensor; it just needs a voltage level of 5V in order to be compatible with the Arduino Uno board.

Finally, here is the list of all the components that we will use in this project:

On the software side, the only thing that we will need in the first chapter is the latest version of the Arduino IDE that you can download from the following URL: https://www.arduino.cc/en/main/software.

Note that we are going to use the Arduino IDE in all the projects of this book, so make sure to install the latest version.

主站蜘蛛池模板: 汝城县| 宝兴县| 竹溪县| 五大连池市| 龙海市| 松江区| 芷江| 望都县| 灌云县| 江津市| 绩溪县| 奎屯市| 石柱| 大渡口区| 墨江| 湟源县| 盖州市| 慈利县| 华亭县| 福鼎市| 衡阳县| 同心县| 桦甸市| 郸城县| 广南县| 中西区| 大庆市| 龙泉市| 炎陵县| 江门市| 从化市| 眉山市| 泸定县| 蛟河市| 阳原县| 亳州市| 灌云县| 杨浦区| 武乡县| 玉屏| 南木林县|