Creative Pen Holder Weather Forecast Using Arduino

Creative Pen Holder – Weather Forecast

Difficulty Level: ⭐⭐⭐ Suitable Age:12 years and above

Programming Software: Arduino IDE + USART HMI

This Issue’s Benefit

Leave comments at the bottom of the article, invite friends to like, and the top eight with the most likes within the specified time will win the following prizes.

Top 1-8: A complete material package for the creative pen holder

Activity Deadline: September 21, 2020, 5:30 PM

Introduction

Isn’t it just an ordinary pen holder? What makes it special? Please listen to my explanationCreative Pen Holder Weather Forecast Using Arduino
Features: Network time acquisition, goodbye to manual time calibration, display today’s and tomorrow’s weather information, real-time detection and display of indoor temperature and humidity
And the most important point, it can be used as a pen holderCreative Pen Holder Weather Forecast Using Arduino. A desktop ornament is definitely neededCreative Pen Holder Weather Forecast Using Arduino?

Creative Pen Holder Weather Forecast Using Arduino

Creative Pen Holder Weather Forecast Using Arduino

Data source for the work: Xinzhi Weather, Alibaba Cloud

Materials Preparation

ESP8266 Main Control Board —– 1 piece

DHT11 Temperature and Humidity Sensor —– 1 piece

2.2-inch TFT Serial Screen —– 1 piece

12*12*7 Button —– 2 pieces

10K Resistor —– 1 piece

Wires —– Several

Creative Pen Holder Weather Forecast Using Arduino

Kit Purchase

Module Explanation

ESP8266 Main Control BoardThis is a WiFi-supported main control board, responsible for acquiring network weather data and network timing, as well as processing data from the DHT11 temperature and humidity sensor.
DHT11 TemperatureHumidity SensorReal-timeacquisition of indoor temperature and humidity information, special note: DHT11 is only suitable for use in southern regions (can only detect temperatures above zero, please replace with DHT22 in northern regions).
2.2-inch TFTSerialScreenResponsible for displaying various parameter information, using serial communication; since the screen is only for data display, only TX-RX is required.

Wiring Diagram

Creative Pen Holder Weather Forecast Using Arduino

Click to view the high-definition image

Production Process

1. Structural parts – laser cutting (partially)

2. Use universal hot melt glue to fix the pen holder part

Creative Pen Holder Weather Forecast Using Arduino

3. Fix the screen (during the process of removing the wiring seat, due to excessive force, the copper foil fell off) Note: The wiring seat must be removed; otherwise, the screen cannot be installed properly in the subsequent steps.

Creative Pen Holder Weather Forecast Using Arduino

4. Installation of the screen

Creative Pen Holder Weather Forecast Using Arduino

Creative Pen Holder Weather Forecast Using Arduino

5. Fix the wooden board for the USB charging port

Creative Pen Holder Weather Forecast Using Arduino

6. Use universal hot melt glue to fix the ESP8266 main control board; before this, the pins of the ESP8266 need to be broken off, otherwise it will be too highCreative Pen Holder Weather Forecast Using Arduino

Creative Pen Holder Weather Forecast Using Arduino

7. Complete the circuit setup according to the wiring diagram; since the ESP8266 generates heat during operation, students can try placing the DHT11 temperature and humidity sensor on the back of the pen holder; otherwise, it will be like mine, with outdoor temperatures of 23°C and indoor temperatures of “32°C”.

Creative Pen Holder Weather Forecast Using Arduino

8. The download of the ESP8266 program will not be introduced here; I believe students can do it (if not, scan the QR code at the bottom, and we will communicate one-on-oneCreative Pen Holder Weather Forecast Using Arduino), here we will focus on the program download for the screen (What? The program also needs to download a programCreative Pen Holder Weather Forecast Using Arduino).

1. Open the USART HMI software, which is available in the net disk below, and then open the Demo.HMI file.
2. In the upper left corner of the software interface, sequentially open File – Output Production File – Set File Save Path, click Output, and wait a moment.
3. A Demo.tft file will be compiled in the file save path; prepare a blank TF card and copy this file into it (it’s recommended that there are no files on the TF card).
4. Power off the screen, insert the TF card into the slot on the back of the screen, and then power on; it will automatically enter the update program interface and automatically copy the files from the TF card to the Flash memory. The storage space is 4M, i.e., 4096Kb, and the available memory is 3584Kb; therefore, your project file should not exceed this, otherwise, the program will not download. After the update, the screen will display the Success prompt, and you can power off and remove the TF card; powering on again will load the new downloaded file.
Creative Pen Holder Weather Forecast Using Arduino
Additionally, the program for the screen will not be specifically introduced here; students can learn from the official materials provided. Screen material center: http://wiki.tjc1688.com
———-Separator———-
9. The following part is for network configuration functionality; due to time constraints, this function is still in its infancy and will be updated later. The hardware part will be completedCreative Pen Holder Weather Forecast Using Arduino. One button function is reset, and the other is network configuration (make a pull-down resistor circuit).
Network configuration method: Press the network configuration button, then press the reset button, connect your phone to the ESP8266 WiFi, enter 192.168.5.1 in the browser, fill in the data based on the webpage information, click save, and press the reset button again to restart, thus enabling online modification of WiFi information and city information.

Creative Pen Holder Weather Forecast Using Arduino

Creative Pen Holder Weather Forecast Using Arduino10. Build the circuit for the two buttons according to the wiring diagram.

Creative Pen Holder Weather Forecast Using Arduino

Program

Parts that need modification: Very important

Creative Pen Holder Weather Forecast Using Arduino

Due to the use of the free version of the data, the data that can be obtained is limited; however, it is fully sufficient for personal use. It is recommended to register your own account and modify the key, as shown in the figure below:

Creative Pen Holder Weather Forecast Using Arduino

Creative Pen Holder Weather Forecast Using Arduino

For other parts, please check the program slowlyCreative Pen Holder Weather Forecast Using Arduino. Key parts are commented. If you have any questions, we can communicate privatelyCreative Pen Holder Weather Forecast Using Arduino
Note: Online network configuration and more functions will be updated later; there is no need to modify the program each time. Please pay attention to the updates of the net disk content.

Work Appreciation

Creative Pen Holder Weather Forecast Using Arduino

Creative Pen Holder Weather Forecast Using Arduino

Creative Pen Holder Weather Forecast Using Arduino

Data Download

Creative Pen Holder Weather Forecast Using Arduino

Data Download

This work will be updated with the latest version of the program from time to time; please pay attention.Creative Pen Holder Weather Forecast Using Arduino

What good ideas do you have?
Welcome to leave comments and share below!
Creative Pen Holder Weather Forecast Using Arduino
Creative Pen Holder Weather Forecast Using Arduino
Creative Pen Holder Weather Forecast Using Arduino

Creative Pen Holder Weather Forecast Using Arduino

Author of this article
If you have technical questions, feel free to add me on WeChat for consultation.
Creative Pen Holder Weather Forecast Using Arduino
Creative Pen Holder Weather Forecast Using Arduino
Creative Pen Holder Weather Forecast Using Arduino

Scan the QR code

Creative Pen Holder Weather Forecast Using ArduinoFollow us Creative Pen Holder Weather Forecast Using Arduino

Maker Childhood

Previous Recommendations

【Issue 13】Challenge 100 Arduino Projects – Rock Paper Scissors Game Box 02

【Issue 12】Challenge 100 Arduino Projects – Swimming Rescue Bracelet – Down

【Issue 11】Challenge 100 Arduino Projects – Rock Paper Scissors Game Box 01

【Issue 10】Challenge 100 Arduino Projects – Swimming Rescue Bracelet – Up

【Issue 9】Challenge 100 Arduino Projects – Tug of War (2)

【Issue 8】Challenge 100 Arduino Projects – Water Remote Control Car

【Issue 7】Challenge 100 Arduino Projects – Tug of War (1)

【Issue 6】Challenge 100 Arduino Projects – Vibration Fan

【Issue 5】Challenge 100 Arduino Projects – Temperature and Humidity Detector

【Issue 4】Challenge 100 Arduino Projects – Electronic Piano

【Issue 3】Challenge 100 Arduino Projects – Radio

【Issue 2】Challenge 100 Arduino Projects – Gesture Flow Light

【Issue 1】Challenge 100 Arduino Projects – Ultrasonic Radar Detector

Leave a Comment