Z45QFBo8

Dormitory human body sensor cool light

 
Overview

The cool light in the
    dormitory is very annoying to use. Every time I have to turn on the switch, switch the color, and adjust the brightness, I have to press 6 buttons every time I use it! It's not user-friendly at all. And I often forget to turn off the light when I go out. The power of this light is 10w, and if I go out for 100 hours, I will waste one kilowatt-hour of electricity. It's a pity!!! So I combined my programming skills that I have practiced for 30 months, and used the original imported chip from the United States to transform the original cool light into a human body sensing light. Every time I walk to the side of the seat, the light will automatically turn on, and it will automatically turn off when I leave. It is very convenient and very heartwarming.
Project Description
     The human presence sensing controller based on the modified Bull Cool Light can sense whether there is someone in the seat, so that the light turns on when someone comes and turns off when someone leaves, while retaining the dimming and color adjustment function of the original Bull controller. The effect is very good at present. There is no BUG in the code I wrote. Parameter
adjustment description
Human presence sensor model: LD2410B Supports remote parameter adjustment of mobile phone app HLKReadarTool Default
parameters: default light color and default brightness when powered on. You can modify the parameters in the code according to your needs.
 
Recommended parameters
 1. The larger the number of detection points, the farther the sensing distance, and the resolution 0.2/0.75m is optional
(each time you set the parameters, you need to return to the previous page and restart the module to take effect!)
 2. The smaller the energy value, the more sensitive it is
3. The specific parameters need to be adjusted according to the actual situation.
 
Code version
    V2:
                    1. When a new person comes, the light gradually brightens; when a person leaves, the light gradually turns off.
                    2. The BUG that the light just turns off and the person comes cannot turn on the light and needs to turn on the light manually by pressing the button is fixed .
 
 
Program download method
1. MSP430 LaunchPad development board download
 This method requires the purchase of the MSP430G2553 development board, which can be purchased for about 30 yuan, or you can find me.
 Install the CCS development environment and connect the following pins to download the program.
 
2. BSL serial port download method
If you don't know the specific method, learn it yourself~
 
 
参考设计图片
×
 
 
Search Datasheet?

Supported by EEWorld Datasheet

Forum More
Update:2025-08-09 06:57:53

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号