Making RTC clock based on STM32CubeMX (HAL Library)

1, RTC overview The abbreviation of real-time clock is RTC(Real_Time Clock). RTC is an integrated circuit, usually called clock chip. Real time clock chip is one of the most widely used consumer electronic products in daily life. It provides accurate real-time time for people, or provides accurate time reference for electronic systems. ...

Posted by cueball2000uk on Thu, 02 Dec 2021 23:01:23 -0800

Design and verification of asynchronous fifo

The book continues from the above. The previous article introduced the slightly simple synchronous fifo, and then began the more complex asynchronous fifo. 1. Difference between synchronous fifo and asynchronous fifo   When there is only one clock in the design, whether all registers use the same one, there will be no transmission speed ...

Posted by Sooz719 on Tue, 30 Nov 2021 12:26:46 -0800

51 single chip microcomputer communicates simply with mobile phone through esp8266 (the first time)

Recently, 8266 has been used in the school single chip microcomputer course design experiment. The requirement is to use 51 single chip microcomputer to interact with mobile phone. In the past, I used a 32 single-chip microcomputer to connect to the cloud through 8266. At the beginning, I also wanted to upload data to the mobile app through the ...

Posted by gemmerz on Mon, 29 Nov 2021 20:18:59 -0800

[application example of STM32+OLED screen display]

1, Related technology . 1.1 about SPI protocol SPI protocol is a communication protocol (Serial Peripheral Interface) proposed by Motorola, that is, serial peripheral The standby interface is a high-speed full duplex communication bus. It is widely used between ADC, LCD and MCU, Occasions requiring high communication rate. SPI physical layer S ...

Posted by cdickson on Fri, 26 Nov 2021 19:45:40 -0800

Random tampering 02 -- DIY thermal imaging realized by AMG8833+Arduino + interpolation

1. Effect As we all know, AMG8833 module belongs to a relatively low-end infrared temperature acquisition sensor, with low detection accuracy and poor distance conditions. There is no outline at a distance, but a circle. So this is what I personally think is a good rendering (in fact, that's it). If you don't say much, let's see the effect ...

Posted by s2day on Fri, 26 Nov 2021 02:46:37 -0800

Huada MCU_ Pits encountered by HC32F460 serial TX send using DMA transport

DAM Initialization Structure DMA: One request to transmit one data block, supporting the chain transfer function, can achieve one request to transmit more than one data block. A data block is a minimum of 1 data block and can be up to 1024 data blocks, each of which can be configured to be 8, 16, or 32 bits wide. /* DMA Initialize structure: ...

Posted by CRichardson on Wed, 24 Nov 2021 13:49:47 -0800

New version - Blue Bridge Cup embedded - expansion board ADC key learning and use;

catalogue 1, Hardware principle 2, CUBEMX configuration 3, Programming 4, Observation phenomenon 1, Hardware principle The difference between the keys on the expansion board and those on the foundation board: Basic board: four keys are independent keys, and each key corresponds to an IO port; Expansion board: the eight keys are like in ...

Posted by gavinbsocom on Wed, 24 Nov 2021 06:21:45 -0800

Fundamentals of TCP/UDP programming

catalogue 1, Foreword (1) Socket socket (2) TCP (3) UDP 2, C # write a simple hello world program on the command line / console (1) C # create console application ​   (2) C # implements window output helloworld (3) C# console program uses UDP socket to send messages (4) C# window program uses TCP socket to send messages 1, Fore ...

Posted by geoldr on Mon, 22 Nov 2021 13:40:57 -0800

The gentle Lori with a value of more than 100 million said to the small yard farmer, will ADC collect

How dare a small code farmer say he can't collect Analog quantity - > digital quantity (ADC module) Relationship between analog quantity and digital quantity of single chip microcomputer The CPU circuit of 5V single chip microcomputer is binary. In the operation process, there are only two kinds of voltages: high level 5V a ...

Posted by dinku33 on Sun, 21 Nov 2021 03:12:04 -0800

Design of watering, irrigation, lighting and heat dissipation in Intelligent Greenhouse Based on 51 single chip microcomputer

1, Hardware scheme In this design, the light intensity is detected through the photosensitive resistance, and then processed by the A/D module PCF8591, the light intensity value is displayed on the liquid crystal in real time, and the light intensity value can be controlled by pressing the key. When the light is lower than the set threshold, a ...

Posted by summerjamn on Sun, 21 Nov 2021 03:06:14 -0800