235k views
2 votes
System assembly and programming You are advised to spend no longer than 2.5 hours on this activity. Develop a user-friendly system that is well organised, structured and formatted, including: producing the software program and annotating the code the assembly of any hardware (if required) refining the system so that it operates as expected and can handle some unexpected events. Once completed, insert the annotated code into the Electronic Task Booklet. Design, assemble, program and test a safe prototype system to monitor and control the interior lighting and window blind in a room to improve the security of an unoccupied office. To monitor and control office security, One 90 Office Safe has requested a prototype system that will, as a minimum: monitor the daylight level outside of the office building turn the interior lighting on and off in response to changes in daylight levels turn the electric motor on and off to open and close the window blind in response to changes in daylight levels provide the option to deactivate/reactivate the system. The client has not specified all the prototype system's functions and constraints. These other functions and constraints are for you, as the developer, to determine and justify. For example, the client has not stated: a specific daylight level to operate the system that the electric motor needs to change direction to open or close the window blind, as this could be achieved in other ways. You must follow an appropriate development process and use a microcontroller. In developing the prototype system you should consider enhanced user experiences and how it would deal with any unexpected events that may occur. One 90 Office Safe needs a new system that will automatically operate the interior lighting and window blind in a room to improve the security of an unoccupied office. The steps in the automated monitoring and control system are: 1. A light sensor monitors the daylight level outside the office building. 2. When the amount of daylight falls below a certain level: • the interior lighting in the room will switch on • an electric motor will close the window blind automatically, which takes 10 seconds. 3. When the amount of daylight rises above a certain level: • the electric motor will open the window blind automatically, which takes 10 seconds • the interior lighting in the room will switch off. The client has not stated that the electric motor needs to change direction to open or close the window blind, as this could be achieved in other ways. To monitor and control office security, the client has requested a prototype system that will, as a minimum: monitor the daylight level outside of the office building turn the interior lighting on and off in response to changes in daylight levels turn the electric motor on and off to open and close the window blind in response to changes in daylight levels provide the option to deactivate/reactivate the system. In developing the prototype system, you should consider enhanced user experiences and how it would deal with any unexpected events that may occur.

User Mpontus
by
7.4k points

1 Answer

5 votes

Answer:

Step-by-step explanation:

Developing a user-friendly system to monitor and control the interior lighting and window blind in an unoccupied office for improved security can be achieved by following these steps:

Hardware Assembly:

1. Gather the required hardware components, including a microcontroller, light sensor, electric motor, interior lighting system, window blind mechanism, and any necessary wiring.

2. Assemble the hardware components, ensuring proper connections between the microcontroller, light sensor, electric motor, and the lighting and blind systems.

3. Test the hardware connections to ensure they are functioning correctly.

Software Programming:

1. Write the software program to control the system's operations based on the inputs from the light sensor and user commands.

2. Start by initializing the microcontroller and necessary variables.

3. Implement code to continuously monitor the daylight level using the light sensor input.

4. Set a threshold value for the daylight level to determine when to switch the interior lighting and open/close the window blind.

5. If the daylight level falls below the threshold, turn on the interior lighting and activate the electric motor to close the blind. Allow a 10-second delay for the blind to close.

6. If the daylight level rises above the threshold, turn off the interior lighting and activate the electric motor to open the blind. Allow a 10-second delay for the blind to open.

7. Provide an option in the code to deactivate/reactivate the system based on user input.

8. Implement error handling and exception management to handle unexpected events or system failures.

System Refinement and Testing:

1. Run test scenarios to ensure the system operates as expected under different lighting conditions and user commands.

2. Check for any bugs or errors in the code and make necessary adjustments for improved functionality.

3. Consider user experience and ensure the system is intuitive and easy to operate.

4. Test the system's response to unexpected events, such as sudden changes in daylight levels or sensor malfunctions.

5. Refine the system based on test results and user feedback to enhance its performance and usability.

By following this development process and using a microcontroller, you can create a prototype system that effectively monitors and controls the interior lighting and window blind in an unoccupied office, enhancing security and providing user-friendly functionality.

User Rauld
by
7.3k points