(STM32) RT-Thread journey from scratch--SPI driver ST7735

Previous: (STM32) RT-Thread journey from scratch--PWM drives ST7735 dimming The driver used in this article is provided by ST official: https://github.com/STMicroelectronics/stm32-st7735.git If you need it, you can directly git clone it for transplantation. The core code has nothing to do with the chip model, and the portability is very goo ...

Posted by pietbez on Sat, 19 Nov 2022 02:51:56 +0300

STM32 serial communication

Table of contents 1. The purpose of the experiment Second, the register realizes lighting 1. Project creation 2. Write code 3. Burn and compile 4. Observe the output waveform of the GPIO port 3. HAL library lights up LED running lights 1. Install the HAL library ‚ÄčEdit 2. Create a project 3. Configuration work (1) Clock configurat ...

Posted by Dvorak on Tue, 25 Oct 2022 07:03:00 +0300

51 single-chip temperature smoke alarm system

Design function (1) Mainly adopts 51 single-chip microcomputer + minimum system + LCD1602 liquid crystal display module + MQ-2 smoke module + ADC0832 module + DS18B20 temperature module + buzzer module + LED indicator module + relay drive module + fan module + button module. (2) LCD1602 liquid crystal display, DS18B20 temperature sensor, MQ-2 ...

Posted by SocomNegotiator on Wed, 14 Sep 2022 21:33:33 +0300

AT32 Development Record: vscode + EIDE + Cortex Debug Environment Setup

Preface AT Official Tutorial AT32 MCU is being developed in the VSCode (Visual Studio Code) environment - 21ic Electronic Technology Development Forum Or the official website Yateli Technology: 32 innovative leaders in microcontrollers! (arterytek.com) APNote:AN0130, which provides a way to develop VScode using Cmake and Notex Debug. I am m ...

Posted by jjacquay712 on Sun, 11 Sep 2022 21:07:05 +0300

J015 intersection traffic light based on AT89C51 (emergency + night)

Intersection traffic light emergency + night based on AT89C51 Simulation diagram proteus 7.8 Program compiler: keil 4/keil 5 Programming language: C No.: J015 Functional requirements 1) There are red, yellow and green signal lights in the east-west direction and the north-south direction; 2) Equipped with emergency braking button. Wh ...

Posted by bigmichael on Sun, 04 Sep 2022 22:29:40 +0300

8x8 dot matrix display graphics or dynamic display string

8x8 lattice Display principle The LED dot matrix screen is composed of several independent LEDs, which are arranged in the form of matrix The structure of LED dot matrix screen is similar to that of nixie tube, which only arranges the pixels of each column in an "8" shape Like the nixie tube, LED dot matrix screen has two connecti ...

Posted by hoogie on Fri, 20 May 2022 23:08:03 +0300

[SRAM] CubeMX is configured with STM32H743+IS61WV204816 external expansion SRAM

1, Foreword Although H743 has provided a lot of internal RAM, my friends who read this article must understand that even the most generous internal RAM is useful, so we need to expand ram. At this time, there are two options, SDRAM or SRAM, which can be used. I will use two bloggers to bring their configuration processes respectively! The ...

Posted by sub7av on Wed, 18 May 2022 01:28:58 +0300

[video game preparation] adjustable PWM output based on STM32 control + LCD display

situation analysis A junior old fried dough stick. When I was a freshman, I applied to stay in school in time for the 19-year national competition. After the self-study (rowing) started in January, I visited with my teammates about the preparation of other teams and went home happily. (I didn't buy any materials). Due to the epidemic, the pro ...

Posted by beeman000 on Sun, 15 May 2022 10:41:59 +0300

The second real question of the 13th Blue Bridge Cup Embedded Provincial Competition (giant simplified code based on HAL library + super detailed explanation)

foreword Related instructions: Development board: CT117E-M4(STM32G431RBT6) Development environment: CubeMX+Keil5 Involved topics: the second real question of the 13th Blue Bridge Cup Embedded Provincial Competition Winners of the first round: CubeMX configuration, main function code and description: 1. CubeMX configuration (the s ...

Posted by jibosh on Sun, 15 May 2022 06:21:47 +0300

STM32CubeMX series | I2C bus

I2C bus 1 Introduction 1.1 Introduction to I2C bus The I2C (Inter-Integrated Circuit) bus is a two-wire serial bus developed by PHILIPS, which is used to connect microcontrollers and their peripheral devices. It is a serial bus composed of data line SDA and clock line SCL, which can send and receive data. Two-way transmission is performed be ...

Posted by lanbor on Sat, 14 May 2022 12:49:37 +0300