JFET

[Tuya Smart] Handheld Weather Station-493420A

 
Overview

[Happy DIY] Handheld weather station

Don't believe that stress creates motivation, stress only translates into medical records. The real motivation in life comes from the pursuit of happiness and interest deep in the heart.

Let me talk about the reason first. When I was browsing online in the middle of the night a few days ago, I saw several interesting microcontroller works, which made me very excited, so I also wanted to make one.

Here are some interesting watches

①iWatch-v1.2 homemade cyberpunk style programmable watch https://www.bilibili.com/video/BV11T4y1K7Li

②The 5th Lichuang Electronic Design Competition: "Modular-NOW" project https://www.bilibili.com/video/BV1sA411n7v9

③Bracelet design based on STM32 https://www.bilibili.com/video/BV1s54y1C7JV

There are so many cases that you can refer to and learn from, so I'm in trouble.

The time to get into the trap is probably four or five days before the final exam . Now that you are happy, the final exam is nothing (no).

In those days, I spent all night analyzing other people's works.

Here is what I spent several nights analyzing and writing, https://www.yuque.com/haomingzi-syzrw/gtkwig/gsbkfg

After some analysis, I feel that I still have hope of making it.

In addition, Lichuang EDA has held a training camp in recent days, and you can buy components for free, so we started construction.

Device selection:

Microcontroller: stm32F411ccu6 (100Mhz)

Power management chip: TP4056

3.3V power supply dcdc chip: TPS62740DSSR

Lithium battery: 3.7V/200mAh, thickness 5mm, width 20, length 30

Display: ips 0.96 inch TFT

Gyroscope: LSM6DSM

Touch button chip: TTP232-CA6

Buzzer: SMD buzzer 5020

Environmental parameter sensor: BME280

Bluetooth module: Tuya BT7L

Use LVGL to write display interface

The ST official library of LSM6DSM has been transplanted, which can read three-axis acceleration and angular acceleration. There are many examples in the library, such as realizing direction detection, wrist raising detection, free fall detection, etc..., this noob did not use it because he is lazy. Extra added functionality

Project code: https://github.com/mxyxbb/LVGL_STM32F411_HAL_HandheldWeatherStation

Current features :

  • RTC time and date display
  • Temperature and humidity display
  • Bluetooth connects to Tuya Smart APP on mobile phone to report temperature and humidity data
  • Serial port sends LSM6DSM accelerometer data at 115200 baud rate

Watch the video below, or go to Bilibili

https://www.bilibili.com/video/BV1Vv411e7ax/

preview-2d.png

preview-3d-keyshot-big.jpg

preview-3d-rhino-big.png

image-20210125213546652.png

LVGL small clock

Related instructions:

How to speed up Github downloads

Original command:git clone https://github.com/mxyxbb/LVGL_STM32F411_HAL_HandheldWeatherStation

Now replace with:git clone https://github.com.cnpmjs.org/mxyxbb/LVGL_STM32F411_HAL_HandheldWeatherStation

That is, replace github.com in the original URL with github.com.cnpmjs.org, and keep the rest unchanged.

参考设计图片
×
 
 
Search Datasheet?

Supported by EEWorld Datasheet

Forum More
Update:2025-05-16 12:27:30

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号