Implementing a countdown and status reporting

Assignment Help Electrical Engineering
Reference no: EM133853512

Advanced Sensors

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.

 

Reference no: EM133853512

Questions Cloud

Implement an actuation mechanism : Consider how gas levels should be mapped to a normalized scale for effective decision-making and Implement an actuation mechanism
Connects the book to lifespan development : Develop a theme for your presentation that will explore an issue/issues that connects the book to lifespan development?
Develop the arduino code and schematic for the automatic fan : Exercise - Automatic fan and door control - Develop a circuit that will turn ON a red LED if the temperature is increasing, a green LED if the temperature
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

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