STM32F103 controls PCA9685 to generate 16 PWM waves to control SG90 steering gear

STM32 controls PCA9685 to generate 16 PWM waves to control SG90 steering gear If you can click this article, it shows that you already know how powerful PCA9685 is. NXP originally made this chip to provide led use. In its official documents, you can see that all PWM outputs are written with LED, but PWM waveform can not only control a simple L ...

Posted by duelist on Tue, 30 Nov 2021 11:22:49 -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

stm32103C8T6 realizes the acquisition of temperature and humidity (AHT20) through I2C interface

1, I2C bus protocol 1.1 what is the I2C protocol I2C communication protocol (Inter Integrated Circuit) is developed by Phiilps company. Due to its few pins, simple hardware implementation and strong scalability, it does not need external transceiver equipment of USART, CAN and other communication protocols. Now it is widely used in the co ...

Posted by bpopp on Fri, 26 Nov 2021 18:52:58 -0800

Data display of 0.96 inch OLED display based on STM32

1, SPI (serial peripheral interface) 1.1 definition of SPI SPI (Serial Peripheral Interface) is the Serial Peripheral Interface. SPI is a high-speed, full duplex, synchronous communication bus, and only occupies four wires on the pins of the chip, saving the pins of the chip. SPI is a ring bus structure, which is composed of ss(cs), sck, ...

Posted by fipp on Fri, 26 Nov 2021 15:11:20 -0800

Display name, student number, temperature, humidity and character scrolling based on OLED

catalogue 1, SPI introduction 2, OLED displays name and student number   3, OLED display temperature and humidity 4, OLED displays scrolling characters 5, Summary   6, Reference link 1, SPI introduction 1. Introduction to SPI protocol       SPI protocol is a serial peripheral interface proposed by Motorola, wh ...

Posted by iacataca on Fri, 26 Nov 2021 12:41:17 -0800

Transplantation of uCOS into STM32F103C8T6 based on HAL Library

1. Use CubeMX to build STM32F103C8T6HAL Library Configure RCC Configure SYS Set PC13 to GPIO_Output is used to light up LED lights Set Serial Port USART1 Setup Project Click Generate Code and open the project in Keil. Add statements to the while loop in the main function while (1) { /* USER CODE END WHILE */ / ...

Posted by jlsports on Fri, 26 Nov 2021 12:33:56 -0800

PulseSensor sensor development document · DMA ADC data acquisition

1. Introduction to PulseSensor (1) Working principle PulseSensor is a photoelectric reflective analog sensor for pulse and heart rate measurement. Wear it on the finger or earlobe, etc. through wire connection, the collected analog signal can be transmitted to stm32, Arduino and other MCU, and analog-to-digital conversion (voltage acquisition ...

Posted by imarockstar on Fri, 26 Nov 2021 02:40:49 -0800

STM32 uses AHT20 temperature and humidity sensor to realize data acquisition based on I2C protocol

catalogue 1, I2C protocol 1. What is the I2C protocol 2.I2C physical layer 3.I2C protocol layer 4. Two ways of I2C - hardware I2C and software I2C 2, Data collection using AHT20 1. Learn about AHT20 chip 2. Connect hardware 3. Code 3, Summary 4, References 1, I2C protocol 1. What is the I2C protocol I2C communication protocol (In ...

Posted by nadeem14375 on Thu, 25 Nov 2021 12:29:17 -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

Temperature and humidity acquisition and OLED display based on I2C/SPI bus

1, AHT20 realizes data acquisition of temperature and humidity 1. Brief description of I2C protocol layer (1) Communication process of I2C protocol These figures show the data packet sequence of SDA line when master and slave communicate. Where S represents the transmission start signal (S) generated by the I2C interface of the host. At t ...

Posted by Gaia on Sun, 21 Nov 2021 11:28:13 -0800