Description: Create a Smart Room Presence Detector using the STM32WB5MM-DK development kit. The project utilizes the onboard sensors, including the accelerometer, time-of-flight sensor, and microphone, to detect human presence within a room/workbench. The OLED display provides real-time updates about the room's occupancy status, making it an excellent tool for monitoring and optimizing room usage.

 Key Features: 

  1. Accelerometer-Based Human Detection: The accelerometer is used to sense motion or vibrations indicative of human activity within the room. By setting a threshold for accelerometer readings, the system can trigger presence detection.
  2. Time-of-Flight Sensor: The time-of-flight sensor measures the distance between the device and objects in its vicinity. It contributes to human detection by providing additional depth information, enhancing the reliability of the system.
  3. Microphone for Sound Detection: The digital microphone is employed to capture ambient sound levels. Sudden increases in sound (indicative of human presence or activity) are considered as supplementary evidence for detecting occupancy.
  4. OLED Display Updates: The 0.96-inch OLED display serves as a user interface, providing real-time updates on the room's occupancy status. When a human presence is detected, a message is displayed, alerting users about the room's status.
  5. Gesture Detection (Optional): Leveraging the time-of-flight sensor's capabilities, gesture detection can be added for user interaction. For instance, users can wave a hand to trigger specific actions on the display.
  6.  Preventing Loss of Tools: With the ability to detect human presence and potential activity, the system can contribute to the prevention of tool misplacement or loss. Real-time alerts can be displayed if a person approaches or leaves the workbench, prompting individuals to ensure that all tools are properly accounted for before leaving the area. 
  7.  Customizable Alerts and Thresholds: The project's customizable thresholds empower users to fine-tune the sensitivity of the system according to the specific needs of the precision workbench environment. This flexibility ensures that the system is adaptable to different work scenarios and operational requirements. 
  8.  Security and Access Control: The Smart Room Presence Detector can be integrated into broader security and access control systems. By utilizing the human detection capabilities, the system can contribute to ensuring that only authorized personnel access sensitive workbenches. 
Reasons for the Project: 

  1. Energy-Efficient Room Management: The system allows for intelligent management of room resources by activating or deactivating devices based on occupancy. For example, turning off lights or adjusting the room temperature when no one is present.
  2. Occupancy Monitoring: Ideal for shared spaces or meeting rooms, the system provides a simple and effective way to monitor room occupancy, helping users identify available spaces quickly.
  3. User-Friendly Interface: The OLED display offers a user-friendly interface for instant feedback. Users can see at a glance whether a room is occupied or vacant, improving the overall user experience.
  4. Customizable Thresholds: The project's threshold values for accelerometer, time-of-flight, and microphone readings are customizable, allowing users to adapt the system to different environments and sensitivity requirements.
  5. Educational and Developmental Value: This project is educational for developers and engineers, offering an opportunity to explore sensor integration, data fusion, and user interface design. It's an excellent way to learn about IoT applications and the capabilities of the STM32WB5MM-DK.

 Overall Impact:
The project's adaptability and sensor fusion capabilities make it an ideal candidate for enhancing the operational efficiency and security of precision workbenches. Whether in a hospital setting or a laboratory, the Smart Room Presence Detector on the STM32WB5MM-DK provides an intelligent and user-friendly solution to monitor human presence, prevent tool loss, and maintain a controlled and organized workspace for precision tasks.