Smart motion detection system with dynamic led control

Assignment Help Electrical Engineering
Reference no: EM133853509

Advanced Sensors

• The Arduino codes should be copied into word/pdf, and output from each part should be shown accordingly. Also, a working URL link to tinkercad implementation should be added after each solution of the question. Your provided solution on tinkercad would be checked to confirm the correct operations of the provided codes.
• The ICA must be submitted in a clearly formatted report. Marks will be allocated for the quality of the presentation. The example can be seen for the solutions provided for Arduino code along with plotted output.
• Follow to instruction as per given in each part to complete the ICA.

Implementation of Advanced sensor system in Arduino
• The aim of this ICA is to implement some functionalities of smart home. A smart home, as shown in Figure 1, is a residence that uses internet-connected devices to enable the remote monitoring and management of appliances and systems, such as lighting and heating.
• The ICA is divided into three exercises and each exercise is focused on a specific part of the Advanced Sensors module.
• It is important to show the Arduino code for each part as asked in the ICA.
• The output (over the serial port or LCD or LED) must be clearly shown.
• The code and output must be placed together into one file either word or pdf. In addition, use the share option in tinkercad (using the send To button on the top right corner). Copy the url from Select Invite People -->Copy URL and place it within the report.
• The ICA should be formatted in the form of a report, with some marks are also allocated to presentation.

Develop codes that allow the users to visualize home conditions to view them from anywhere at any time. In this ICA, we will use the following sensor modules for measuring home conditions of temperature, humidity, ambient light, and proximity. In this case, we will use the following sensor modules for measuring the home conditions.
1. Automatic regulation of Temperature
2. Hazardous gases and vapours
3. Sensing motion

Exercise 1: Smart Motion Detection System with Dynamic LED Control, Serial Monitoring, and Data Logging
In this exercise, you will use Arduino to build a motion sensor light circuit. A motion sensor light circuit is a system where a light turns on when motion is detected. This exercise focuses on developing an automatic room light mechanism using an Arduino board and a PIR sensor.

Components and working:
Use Arduino to assemble the following components in your circuit and develop codes to perform the tasks specified below.
Add the following components to the circuit and develop codes to perform the following tasks:

1. PIR sensor: PIR sensor detects a human being moving around within approximately 2m from the sensor. Develop a schematic and code for the PIR sensor that displays the output on the serial port.

2. Imagine a smart home security system where lights dynamically respond to motion, offering both alert signals and visual indicators based on activity levels. Your goal is to simulate such a system by programming the Arduino to control LEDs based on motion detection.

a. Motion-based LED control:
Program the Arduino so that:
• The RED LED turns ON when the PIR sensor detects motion.
• The GREEN LED turns ON when no motion is detected.
• The ON period for each LED should last for 1000 milliseconds (1 seconds).

b. Advanced motion counting and dynamic control:
Implement a counter in your Arduino code to track the number of times motion is detected. Based on the count:
• If motion is detected less than 3 times, the RED LED should blink twice rapidly (200ms ON, 200ms OFF).
• If motion is detected 3 times or more, the RED LED should stay ON continuously.Reset the counter to zero if no motion is detected for 10 seconds. Demonstrate this functionality in the video submission. Book assignment help service now!

3. Enhance the motion detection system by implementing a countdown and status reporting on the Arduino serial monitor. When the RED LED is ON, display a countdown from 6 to 0 with a 500 ms interval, including a timestamp for each step. Show status messages such as "Motion Detected - Countdown: X" during the countdown and "No Motion Detected - System Idle" when the GREEN LED is ON. Track the number of motion detections, and if motion is detected 5 or more times continuously without inactivity for 2 minutes, the RED LED should blink continuously with the message "High Activity Detected! Take Action!" displayed after each countdown cycle. Modify Part 2's inactivity condition so that the counter no longer resets automatically after 10 seconds. Instead, the counter should only be reset manually by typing ‘R' on the serial monitor, displaying "Manual Counter Reset" when triggered.

Exercise 2: Automatic fan and door control.
In the first part, develop the Arduino code and schematic for the automatic fan(which automatically switch on and off the fan) and door control system (which detects a person in front of the door)according to the temperature inside the room.

Components and working:
Add the following components to the circuit and develop codes to perform the following tasks:
1. Temperature sensor:to sense the temperature of the room.Display the temperature on an LCD and pass it to the serial port.

2. DC motor: Represents a fan running given the following conditions
a. On
If the temperature is above 24C
b. Off
If the temperature is below 24C.

3. When a person stands or approaches the door, about 50 cms away from the door, the Ultrasonic Sensor gets activated due to movement in its range. The PIR sensor also acting as a backup here, keeps the door open (use a motor to select the appropriate function) until the movement stops. If there is no movement in the given range then it closes the door, without the intervention of the Ultrasonic sensor.

4. LED: Modify the code so that the program can display the difference between the previous temperature and the current temperature.
a. Develop a circuit that will turn ON a red LED if the temperature is increasing, a green LED if the temperature is decreasing and a yellow LED if the temperature is constant.

Exercise 3: Detection in the presence of Hazardous gas.

Design an intelligent safety system that can monitor and respond to hazardous gaspresence in an industrial or home environment. The system should ensure safety by automating actions, providing alerts, and allowing manual intervention where necessary.

Your task is to analyse, design, implement, and evaluate a solution that meets the following high-level requirements:

Components and working:
Add the following components to the circuit and develop codes to perform the following tasks:

1. Gas Detection & Response Mechanism:
• The system should continuously monitor gas concentration levels and take appropriate actions when hazardous conditions are detected.
• Consider how gas levels should be mapped to a normalized scale for effective decision-making.
• Implement an actuation mechanism (e.g., turning on a buzzer or LED) when gas levels exceed a critical threshold.

2. Machine Operation & Ventilation:
• The system must integrate with a machine operation control that only runs under safe conditions.
• A ventilation mechanism (e.g., an exhaust fan) should be activated dynamically based on gas levels.

3. User Interaction & Safety Controls:
• Implement user interaction mechanisms for system control and emergency response.
• Design an override mechanism that allows temporary disabling of alerts while ensuring safety.

4. System Feedback & Alerts:
• Provide real-time feedback using appropriate output devices (e.g., LCD, LED indicators, buzzers).
• Track changes in gas levels and provide a meaningful representation of trends.

5. Design Considerations:

• Justify component selection and how they integrate into the system.

• Implement a structured approach to decision-making and safety prioritization.

• Consider edge cases such as sensor malfunctions or erratic readings.

Reference no: EM133853509

Questions Cloud

Evaluate organizations ability to promote equal opportunity : Evaluate an organization's ability to promote equal opportunity and improve the quality of life in the community.
Implementing a countdown and status reporting : Implementing a countdown and status reporting on the Arduino serial monitor. When the RED LED is ON, display a countdown from 6 to 0 with a 500 ms interval
Volume-to-value revolution within your practice setting : Integrate relevant quality concepts with ideas about the volume-to-value revolution within your practice setting.
Supportive therapy through outpatient clinic : Frank, age 28, is engaged in ongoing supportive therapy through the outpatient clinic. Behaviors Frank exhibits are associated with which personality disorder?
Smart motion detection system with dynamic led control : ENG3006 Advanced Sensors, Teesside University - Smart Motion Detection System with Dynamic LED Control, Serial Monitoring, and Data Logging
How workplace health promotion programs improve productivity : How workplace health promotion programs improve productivity and why some groups are more vulnerable to discrimination, harassment and stigmatization which lead
Executive leadership just be concerned with the margin : I have seen the opposite with Departmental leaders who do know everything and executive leadership just be concerned with the margin.
Define the role that the dmc will play in conference play : Define the role that the DMC (Destination Management Company) will play in the conference planning and execution. Start with this in the presentation.
Four concepts of the nursing metaparadigm : Describe your thoughts, feelings, and/or beliefs about the four concepts of the nursing metaparadigm and how they have changed through the years?

Reviews

Write a Review

Electrical Engineering Questions & Answers

  Lithium ion battery technology

The paper includes Lithium ion battery technology with its advantages and disadvantages. The paper discusses about the Lithium air battery in which detailed reactions of Lithium with air including nonaqueous as well as aqueous are given.

  Power transformers and tariffs

Construction of different types of power transformer, significant energy savings

  Paper on orthogonal frequency-division multiplexing

This document is shown a paper on Orthogonal frequency-division multiplexing with advantages, disadvantages and uses.

  Function of the hmi in a scada system

This assignment contains electronics engineering questions like State the commonly found components of a SCADA (Supervisory control and data acquisition) system. and decribe the function of the HMI in a SCADA system.

  Resultant waveform of the odd harmonic series

Prepare an Excel graph showing the individual components and summated resultant waveform of the odd harmonic series resulting in an approximate square wave.

  Explain scada system

Explain the function of the HMI in a SCADA system.

  Design a 2-digit 24 second shot-clock

Design a 2-digit 24 second "shot-clock" countdown timer with pushbutton controller.

  Model a discrete-time system

To understand di erent signal models To be able to model a discrete-time system and design simple signal processing algorithms.

  Draw a relay construction diagram

Draw a relay construction diagram and briefly explain the operation of a relay.

  Frequency division multiplexing

Write a short technical report on Frequency Division Multiplexing

  Impact of electron energy

Briefly discuss the impact of electron energy, electron current and target on the Bremsstrahlung generated.

  Traffic light controller

The schematic of the traffic light controller

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd