moriyatee
Published © MIT

Cam to Calm(M5Stack CoreS3 + M5 Capsule Light-Off System)

M5 camera detects empty lit rooms, M5 Capsule presses the switch to save energy and keep the peace.

IntermediateFull instructions provided6 hours67
Cam to Calm(M5Stack CoreS3 + M5 Capsule Light-Off System)

Things used in this project

Hardware components

CoreS3
M5Stack CoreS3
×1
M5Stack M5Capsule
×1
SG90 Micro-servo motor
SG90 Micro-servo motor
×1

Hand tools and fabrication machines

Bambu lab P1S

Story

Read more

Schematics

Light Cover For M5 Capsule

Only specific light covers can be used.

Tilt Stand For CoreS3

It can be used for various purposes.

Code

Cam-to-Calm: Automatic Lighting Control System

Cam-to-Calm is an intelligent automatic lighting control system that uses M5Stack CoreS3 and M5Capsule to automatically manage room lighting based on environmental conditions. Key Features: - Camera-based light detection with configurable ROI - Motion detection for human presence - Servo motor control for physical light switch operation - Power-efficient design with DeepSleep implementation - ESP-NOW wireless communication between nodes - Touch UI for settings and manual control The system consists of two nodes: 1. CoreS3 Node: Monitors lighting conditions and user presence 2. M5Capsule Node: Controls the physical light switch This repository contains the complete source code, 3D printable hardware components, and comprehensive documentation for building and deploying the system. Technology Stack: - PlatformIO development environment - Arduino framework - M5Stack libraries - ESP32Servo library - Custom ESP-NOW communication protocol Perfect for home automation, office lighting control, or any environment where automatic lighting management is desired.

Credits

moriyatee
1 project • 1 follower
normal Hardware engineer
Thanks to M5Stack, madhephaestus, and Espressif Systems.

Comments