Light-Based Opening Alarm Concept
User goal
A security device to detect a drawer or bag being opened by sensing a change in ambient light.
Requested behavior
- A physical toggle arms or disarms the device.
- Arming starts a 10-second positioning period.
- After positioning, a photocell/light sensor records the ambient-light baseline.
- A deviation from that baseline triggers a buzzer and/or a Bluetooth notification.
Proposed behavior for development (not yet approved)
- States: disarmed → 10-second arming delay → baseline capture → armed → alarm.
- Capture the baseline after the delay so placement does not trigger an alarm.
- Filter brief fluctuations and use a sustained threshold crossing rather than any measurable change.
- Treat buzzer output and Bluetooth reporting as configurable outputs; alarm duration, latching, and reset behavior remain undecided.
Feasibility and limitations
Light sensing can detect opening when opening changes the light reaching the sensor. It cannot reliably detect opening in darkness or where the sensor remains covered. If reliable detection regardless of lighting is required, consider a magnetic contact, mechanical switch, or motion sensor as an additional or alternative input; no alternative has been selected.
Bluetooth phone alerts require compatible phone software, pairing/connection behavior, and operation within radio range. Background notification behavior must be validated on the chosen phone platform.
Requirements still open
- Battery-powered portable device versus USB-powered device; required battery life if applicable.
- Bag/drawer dimensions, mounting method, and enclosure size.
- Buzzer only, Bluetooth only, or both; phone platform and app expectations.
- Whether operation in darkness is required.
- Trigger sensitivity, sustained-change interval, alarm duration, and rearming/reset behavior.
Existing project and implementation status
The current project is named USB-C WiFi BLE TH Sensor. Its supplied description identifies a USB-C-powered environmental sensor node, not an opening alarm. No schematic, PCB, firmware, or enclosure was inspected or modified in this session. Reusing the existing project versus starting a separate design remains undecided.
Resume point
Confirm power source, alert outputs, and darkness requirement before selecting the sensing and power architecture. Then decide whether to adapt the existing environmental-sensor project or create a separate alarm design. No components or implementation have been selected or verified.
Execution stopped because the account ran out of ACUs.