Traditional Culture Encyclopedia - Weather forecast - tftlcd displays light and temperature
tftlcd displays light and temperature
Are you asking how to display light and temperature data on the tftlcd display? The method to achieve this situation is as follows:
1. According to the blog park information, the STM32 microcontroller collects temperature and humidity through the DHT11 temperature and humidity sensor.
2. Use the analog-to-digital converter ADC3 to collect the partial voltage of the photoresistor, and then convert it into light intensity (the conversion process treats the brightest as 100 and the darkest as 0 as the final result).
3. The serial port receives information from ESP8266 and extracts time, weather information, alarm temperature and minimum light information (used to control the buzzer and tftlcd display switch).
4. When the indoor temperature exceeds the alarm temperature, the buzzer starts; when the indoor light is dark (lower than the set minimum light), the tftlcd display lights up.
- Previous article:Where is the right weather to go to Taiwan Province Province during May1?
- Next article:Summer home cooking menu
- Related articles
- The weather is fine now. What soup does pig's trotters cook? What medicine does boiled pig match in autumn?
- Guiding ideology and development goal of modern meteorological service development guidance
- What anime characters are said to be the weakest and also the strongest at the same time?
- Benefits of Diaojiao Building in Chongqing
- Introduction to the legend of Mediterranean cruise ship
- It is sunny today. What is a song full of beautiful scenery?
- Hello, the weather is good today. Why not?
- What's the climate like in Hotan? What should I prepare to go there? What is the altitude?
- One hundred words essay about summer
- What is the customer service phone number for installments?'