[python] Django–templates, static files, django template syntax, requests and responses

The notes are study notes compiled by myself. If there are any mistakes, please point them out~ [Django column] Django–Introduction to Django, installation of Django, creating projects, and getting started quickly Django – templates, static files, django template syntax, requests and responses Django – connect to mysql database Django–templates, static files, django template syntax, requests […]

[SCM Graduation Project] [jj-015] Smart Fan | Temperature Control Fan | Energy Saving Fan | Automatic Control Fan

1. Basic introduction Item name: Intelligent fan system design based on microcontroller Design of temperature control fan system based on single chip microcomputer Design of energy-saving fan system based on single-chip microcomputer Design of automatic control fan system based on single-chip microcomputer Project name: Smart fan | Temperature-controlled fan | Energy-saving fan | Automatic control […]

[C++] Non-type template parameters | array container | template specialization | why templates cannot be compiled separately

Table of Contents 1. Non-type template parameters 2. array container 3. Template specialization Why specialize templates? Function template specialization Add a question Class template specialization Full specialization and partial specialization Fully specialized partial specialization 4. Why templates cannot be compiled separately Why what to do 5. Summarize the advantages and disadvantages of templates 1. Non-type […]

HP203B air pressure temperature sensor driver

Without further ado, let’s get straight to the code. The device tree code is as follows. It should be noted that the I2C device address described in the device is 7 bits, not 8 bits. Otherwise, the I2C subsystem will prompt that the device cannot be found when initializing. i2c3: i2c@50008c00 { compatible = “xxx-i2c3”; […]

ESP32-DHT11 temperature and humidity data upload to MQTT server

ESP32-DHT11 temperature and humidity data uploaded to MQTT server Introduction ESP32 DHT11 experiment Experiment instructions wiring MQTT server establish connection Add subscription ESP32 drives DHT11 ESP32 sends data to MQTT server Upload temperature and humidity data Experimental results Introduction ESP32 Click on the image to purchase The ESP32 series modules integrate Wi-Fi, traditional Bluetooth and […]

How to use ESP8266 and DHT11 to collect indoor temperature and humidity and send them to the server program through WIFI

Have you ever thought about implementing your own indoor temperature and humidity detection system? I used the weekend to accomplish this small goal. I used ESP8266 and DHT11, and sent the collected data to the server program through WIFI and stored it in a SQLite database. In the following introduction, I will share with you […]

ADC experiment (internal temperature sensor experiment) (photosensitive sensor experiment)

Introduction to Internal Temperature Sensor STM32 has an internal temperature sensor that can be used to measure the temperature of the CPU and its surroundings (the internal temperature sensor is more suitable for detecting temperature changes. When precise temperature measurement is required, an external sensor should be used). For STM32F103, the temperature sensor is internally […]

Experiment 5 Temperature collection and keyboard scanning

1. Experimental purpose *Master the method of controlling interrupts and timers in C51 *Master the principles and methods of using CH451 for keyboard input *Master the interface and programming of DS18B20 temperature sensor 2. Experimental equipment *MCU experiment box *CH451 display module *Temperature acquisition module (at the lower left of the SWITCH module area of […]