Automatic Night Light
Version 1.0.0.0 (720 KB) by
Techsource Technical Team
Automatic night light which switches on when its dark - using Arduino and LDR
This model illustrates a simple automatic light switch with an LDR.
When the light is on, the LED will be off. When it’s off, the LED will turn on.
Remember to tune the LDR value in Stateflow model depending on the light intensity of your environment.
Cite As
Techsource Technical Team (2024). Automatic Night Light (https://www.mathworks.com/matlabcentral/fileexchange/51950-automatic-night-light), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Created with
R2015a
Compatible with any release
Platform Compatibility
Windows macOS LinuxCategories
Find more on Stateflow in Help Center and MATLAB Answers
Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
Version | Published | Release Notes | |
---|---|---|---|
1.0.0.0 | Update title and Summary |