3228

[Tuya Smart] Temperature and humidity sensor night light

 
Overview
  • Temperature and humidity sensing night light - based on Tuya networking module

Socket night light with integrated temperature and humidity sensor - based on Tuya networking module

Introduction (tell me why it is designed this way?)

------I am a sophomore in school, and the software I use for PCB drawing in school courses is AD.

In my freshman year, I started using Lichuang through the recommendation of my teacher. I have been using Lichuang for almost a year.

The biggest feeling is that the interface is clear and the operation is simple and easy to use.

During this period of time, I also participated in some PCB design solicitations.

But this is my first time participating in the training camp. When I first got the temperature and humidity sensor design topic,

Although it is not unfamiliar, I have been thinking about it for a long time in terms of functions.

At first I thought about drawing a square PCB and putting the temperature and humidity sensing function on it.

The ambient temperature and humidity can be uploaded through the network.

However, is this design too monotonous?

I have the habit of sleeping with the lights on, but sleeping with the lights on is not good for sleep.

I just want to design a night light to reduce the brightness as much as possible.

It just so happened that Lichuang was holding a temperature and humidity sensor training camp this time, and I was thinking why not integrate the temperature and humidity function into the night light?

The bedroom is a place for rest and sleep. The temperature and humidity are suitable, which is the prerequisite for ensuring a comfortable sleep.

The prerequisite for achieving temperature and humidity control is to monitor temperature and humidity.

Finally, it was decided to make a night light with temperature and humidity sensing function.

Features


  • Onboard OLED intuitively displays ambient temperature and humidity
  • Display ambient temperature and humidity on mobile phone
  • Onboard download interface facilitates program debugging
  • Onboard LED indicator lights to display power supply and distribution network status.
  • There are three buttons on the board, 1. Reset button. 2. Mode selection button. 3. Set buttons
  • The SET button realizes the network distribution function, and can also set the OLED screen switch, and you can turn off the screen according to your habits.
  • MODE button switches the brightness of night light mode (three preset brightness modes) to meet different personal brightness settings
  • Set OLED to display date, time, temperature, and humidity.
  • Turn the lights on and off at scheduled times, or manually set the lights on and off by pressing the button.

PCB preview


QQ screenshot 20210128123619.jpg


Chip side (back)







Lighting surface (front)







instructions


  • Summary of problems encountered during the design process

At the beginning of the design,

  • It was envisaged to directly connect to the 220-5 voltage conversion module, but considering the price, appearance, and safety factors, it was abandoned.
  • There are many unused USB plugs at home, why not use them? Simply replace the power supply with a male plug. This can not only support the night light, but also be environmentally friendly.
  • OLED envisioned using a screen on a PCB, but when designing the PCB, it was found that there were too many components on the back, so OLED modules were used for display.





--------Acknowledgments--------






First of all, I would like to thank Lichuang EDA and Tuya Company for providing me and the majority of EDA learners with such an opportunity to practice.





After the design, there are staff members who provide evaluation and guidance on the PCB, which is a rare training opportunity.




I hope there will be more such activities in the future, and I will definitely participate actively.



I also wish that Lichuang EDA and Tuya will get better and better.

  • Big picture
  • MVIMG_20210216_121927.jpgMVIMG_20210216_121848.jpgQQ screenshot 20210128115323.jpgQQ screenshot 20210128115333.jpg
参考设计图片
×
 
 
Search Datasheet?

Supported by EEWorld Datasheet

Forum More
Update:2025-07-02 15:48:01
  • Why does the SD card always report an error?
  • 【discuss】
  • How to rotate gif pictures using IImage in WinCE
  • Question about output impedance of op amp follower?
  • Share 200 examples of classic triodes
  • [Ask TI] A PWM problem encountered and a pin configuration

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号