Lemontree

[Course Design] Dormitory light switch based on microcontroller (Physics)

 
Overview

Dormitory light-off device (physical) based on single-chip microcomputer, integrated door opening and closing detection, brightness detection, human body detection, low-power design, with lithium battery physical knocking light switch to realize turning on and off the light

function points

  • Physical knocking switch to turn on and off the light
  • Low power consumption design
  • Lithium battery charge and discharge management
  • Indoor light detection
  • Real Time Clock
  • Data record storage
  • Buzzer sound
  • indicator light
  • Human body sensing (external cable connection)
  • Reed switch door detection (external cable connection)
  • WiFi (plugged into ESP-01S)

It can turn on and off the lights at specified times, turn on and off the lights under specified lighting conditions, turn on the lights when someone enters, and turn on the lights when the door opens.

It can be controlled via WiFi Internet, with built-in real-time clock control and sensor control.

Low power consumption design, supports ultra-long standby, comes with optional lithium battery to reduce costs, and comes with optional data storage, which can record indoor lighting, door opening and closing, someone entering and other data for a long time.

Mechanical Design

dorm-2_img-mat2.jpg

dorm-2_img-mat.jpg

The entire circuit board width is exactly the same as the SG90 servo. In order to facilitate fixation, a 3D printed chassis was made. The bulges on it can fix the servo, and the positioning holes correspond to the circuit boards (the picture saves trouble and no screws are used). The lever on the servo is at the same height as the light switch and can be easily pressed by turning it.

exhibit

dorm-2_img-top.jpg

dorm-2_img-top2.jpg

dorm-2_img-pcb.jpg

dorm-2_img-main.jpg

参考设计图片
×
 
 
Search Datasheet?

Supported by EEWorld Datasheet

Forum More
Update:2025-06-24 13:45:41

EEWorld
subscription
account

EEWorld
service
account

Automotive
development
community

Robot
development
community

About Us Customer Service Contact Information Datasheet Sitemap LatestNews


Room 1530, 15th Floor, Building B, No.18 Zhongguancun Street, Haidian District, Beijing, Postal Code: 100190 China Telephone: 008610 8235 0740

Copyright © 2005-2024 EEWORLD.com.cn, Inc. All rights reserved 京ICP证060456号 京ICP备10001474号-1 电信业务审批[2006]字第258号函 京公网安备 11010802033920号