Alarm and LED system control
Prototype of application for house alarm system, contained by Gas and Ultrasonic sensor, and LED lights control
Components and supplies
Resistor 220 ohm
Buzzer
Arduino UNO
Breadboard (generic)
LED (generic)
Ultrasonic Sensor - HC-SR04 (Generic)
Grove - Gas Sensor(MQ2)
Apps and platforms
Arduino IDE
Visual Studio 2017
Project description
Code
Arduino Code
arduino
C# code
csharp
In the C # application, which is available to the client, by pressing the ON button under the heading ALARM SYSTEM, the client turns on the alarm system and the ultrasonic sensor constantly measures the distance and sends it to the Arduino. If it has measured a certain distance at which we know someone is in the room, the Arduino sends the information to the buzzer and it advertises. On the OFF button, the client has the option to turn off the alarm system or buzzer. The smoke detection system works in the same way. By pressing the ON button below the GAS SYSTEM heading, the smoke sensor measures air quality and sends it to the Arduino. If the air quality is out of range, an alarm or buzzer is activated. On the OFF button, turn off both the system and the buzzer if it is activated. The LED system works by pressing the ON button below the LED SYSTEM header to turn on the LEDs and they are on until you press the OFF button.
Arduino Code
arduino
C# code
csharp
In the C # application, which is available to the client, by pressing the ON button under the heading ALARM SYSTEM, the client turns on the alarm system and the ultrasonic sensor constantly measures the distance and sends it to the Arduino. If it has measured a certain distance at which we know someone is in the room, the Arduino sends the information to the buzzer and it advertises. On the OFF button, the client has the option to turn off the alarm system or buzzer. The smoke detection system works in the same way. By pressing the ON button below the GAS SYSTEM heading, the smoke sensor measures air quality and sends it to the Arduino. If the air quality is out of range, an alarm or buzzer is activated. On the OFF button, turn off both the system and the buzzer if it is activated. The LED system works by pressing the ON button below the LED SYSTEM header to turn on the LEDs and they are on until you press the OFF button.
Downloadable files
MQ Gas Sensor and Arduino Uno
They are commonly used to detect toxic or explosive gasses and measure gas concentration. Gas sensors are employed in factories and manufacturing facilities to identify gas leaks, and to detect smoke and carbon monoxide in homes.
MQ Gas Sensor and Arduino Uno
Ultrasonic sensor and Arduino Uno
Ultrasonic sensors are supposed to be in front of the door or windows and if something occurs and ultrasonic sensor measure distance less than reference distance, the buzzer will make a sound.
Ultrasonic sensor and Arduino Uno
MQ Gas Sensor and Arduino Uno
They are commonly used to detect toxic or explosive gasses and measure gas concentration. Gas sensors are employed in factories and manufacturing facilities to identify gas leaks, and to detect smoke and carbon monoxide in homes.
MQ Gas Sensor and Arduino Uno
Buzzer wiring
Buzzer will make a sound when ultrasonic or gas sensor measures values that vary from reference values.
Buzzer wiring
LED diode wiring
LED diode wiring
LED diode wiring
LED diode wiring
Buzzer wiring
Buzzer will make a sound when ultrasonic or gas sensor measures values that vary from reference values.
Buzzer wiring
Comments
Only logged in users can leave comments