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

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.

主站蜘蛛池模板: 五华县| 柳州市| 怀远县| 敖汉旗| 化州市| 玉林市| 宾川县| 元氏县| 华阴市| 托克逊县| 新竹市| 文山县| 湘西| 南岸区| 亳州市| 固安县| 绵阳市| 朝阳区| 措勤县| 黄陵县| 叶城县| 沅陵县| 中阳县| 洛隆县| 牙克石市| 皮山县| 金溪县| 梧州市| 连南| 宁安市| 个旧市| 永济市| 铜陵市| 宜春市| 鄯善县| 九寨沟县| 崇明县| 陆川县| 邛崃市| 延长县| 万源市|