Wireless control trolley project module
Project description of intelligent wifi car: Two esp8266 are used to establish communication and mqtt protocol is added. The sender of esp8266 releases information by pressing the key (handle function). Esp8266 is used as the receiver to receive the information sent by the subscription topic and print the data through the serial port ...
Added by hostfreak on Sat, 15 Jan 2022 00:03:22 +0200
MSP430F5529 DriverLib library function learning note timer B
Platform: Code Composer Studio 10.3.1 MSP430F5529 LaunchPad™ Development Kit (MSP‑EXP430F5529LP)
Hard knowledge
16 bit timer B(Timer_B) and timer_ Like a, it is an important resource of MSP430 MCU. Timer_ B is often better than Timer_A more powerful, MSP430F5529 MCU timer_ The B timer has 7 capture / compare registers.
Timer_B. featu ...
Added by dasding on Fri, 14 Jan 2022 17:27:15 +0200
Sunxi platform graphics development
1, Display system foundation
Hardware terminology
1) Layer: a layer processing unit that can process an input image. It is divided into video and ui types according to the supported image formats. 2) Channel: a hardware channel, including several layer processing units, which can process several (typical 4) layers with the same format at the ...
Added by AnarchistX on Fri, 14 Jan 2022 09:31:32 +0200
Harmony OS device development learning record -- lit the oled through I2C to display Chinese characters and pictures.
Harmony OS device development learning record (12) -- light the oled to display Chinese characters and pictures through I2C.
Based on hispark wifi suite, harmony os 2.0 full code is adopted
1, See the schematic diagram to determine the hardware circuit
Schematic diagram of oled
2, Create a demo file in the source code
First, clone the dri ...
Added by ThE_eNd on Fri, 14 Jan 2022 02:54:53 +0200
Intelligent kettle (Bluetooth version) 03 - realization of offline control function
preface
The common kettle generally has boiling and heat preservation functions. On this basis, this case uses the graffiti BLE SDK and BLE module to realize the remote control of the kettle, including the functions of heat preservation temperature setting, water quality mode selection, reservation of water boiling, etc. in addition, it also a ...
Added by mountaindave on Fri, 14 Jan 2022 00:39:04 +0200
[linux project] lichee nano linux burning
preface
lichee_ The nano master chip is Quanzhi FC1001S.
For the time being, this note takes lichee nano as an example, which may be directly adapted to various boards of FC1001S in the future.
Note: when using the lichee nano board and the image provided by lichee, you need to pay attention to the flash chip model of the board and modify the ...
Added by guanche on Tue, 04 Jan 2022 19:59:59 +0200
Serial port programming for Linux applications
/Disclaimer: I only reprinted this article when I saw that it was very helpful to me, but there were grammatical errors in this complete program. Now let me correct it/
Author :tiger-john WebSite :blog.csdn.net/tigerjb
Email : jibo.tiger@gmail.com
Update time: Monday, February 14, 2011
Tiger statement: I despise individuals or groups that ...
Added by Pawn on Tue, 04 Jan 2022 08:50:40 +0200
C + + design pattern - state pattern
State modeAllows an object to change its behavior when its internal state changes. Object appears to have modified its class-- Baidu EncyclopediaSimply put, state pattern is state machine design. It is mainly used for the same request to perform different functions under different conditions. Its function is equivalent to if else. significanceI ...
Added by atlanta on Tue, 04 Jan 2022 06:43:54 +0200
Fall detection algorithm - differential threshold
Overall thinking
According to the relevant data, if the acceleration is divided into three directions: X, y and Z, the Z axis is perpendicular to the ground, and the X and Y axes are parallel to the ground, the acceleration in the Z axis direction is about equal to the gravitational acceleration g under normal conditions; In case of falling be ...
Added by white99 on Mon, 03 Jan 2022 09:23:07 +0200
LVGL official document - 7.11.0-16-Overview-Images
An image can be a file or a variable that stores the bitmap data itself and other metadata.
Store images
Images can be stored in two places:
Variables in internal memory (RAM or ROM)file
Variables
The image stored in the variable is mainly composed of LV with the following fields_ img_ dsc_ T structure composition:
header
cf color form ...
Added by dcro2 on Sun, 02 Jan 2022 19:45:32 +0200