- Arduino for Secret Agents
- Marco Schwartz
- 356字
- 2021-08-05 16:40:22
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:
- Arduino Uno (https://www.sparkfun.com/products/11021)
- Buzzer (https://www.sparkfun.com/products/7950)
- PIR (https://www.sparkfun.com/products/13285)
- LED (https://www.sparkfun.com/products/9590)
- 330 Ohm resistor (https://www.sparkfun.com/products/8377)
- Button (https://www.sparkfun.com/products/97)
- 1k Ohm resistor (https://www.sparkfun.com/products/8980)
- Breadboard (https://www.sparkfun.com/products/12002)
- Jumper wires (https://www.sparkfun.com/products/8431)
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.
- Python編程自學(xué)手冊(cè)
- 程序設(shè)計(jì)與實(shí)踐(VB.NET)
- 網(wǎng)頁(yè)設(shè)計(jì)與制作教程(HTML+CSS+JavaScript)(第2版)
- Learning AWS Lumberyard Game Development
- Data Analysis with IBM SPSS Statistics
- 微信小程序開(kāi)發(fā)解析
- ASP.NET 3.5程序設(shè)計(jì)與項(xiàng)目實(shí)踐
- 單片機(jī)應(yīng)用與調(diào)試項(xiàng)目教程(C語(yǔ)言版)
- iPhone應(yīng)用開(kāi)發(fā)從入門(mén)到精通
- 讓Python遇上Office:從編程入門(mén)到自動(dòng)化辦公實(shí)踐
- Building Microservices with Go
- Practical Linux Security Cookbook
- 深度學(xué)習(xí):基于Python語(yǔ)言和TensorFlow平臺(tái)(視頻講解版)
- R統(tǒng)計(jì)應(yīng)用開(kāi)發(fā)實(shí)戰(zhàn)
- 亮劍C#項(xiàng)目開(kāi)發(fā)案例導(dǎo)航