9 51 single chip microcomputer - (HC-SR04) ultrasonic ranging module

4.9 (HC-SR04) ultrasonic ranging module 4.9.1 physical drawing of ultrasonic module There is no ultrasonic ranging module on the experimental board, which is used in the form of external module. Figure 4-9-1 Figure 4-9-2 Function introduction of GPIO port of ultrasonic module: (1) VCC supplies 5V power (2) . GND is the ground wire ( ...

Posted by bradcis on Mon, 08 Nov 2021 06:44:27 +0100

51 single chip microcomputer practical course (four delay program)

        Delay program is essential in the development of single chip microcomputer system. For example, we often use the length of the buzzer to represent the system post results, and the length of the buzzer is inseparable from the delay program. The delay program is divided into software delay and hardware delay. Hardware ...

Posted by crzyman on Sun, 07 Nov 2021 22:36:08 +0100

STM32 interrupt and DMA communication programming

1, Experimental principle The whole process of interrupt is divided into interrupt occurrence → interrupt processing → interrupt return. Interrupt occurrence: when the CPU is processing an event A, another event B occurs and requests the CPU to handle it quickly.Interrupt processing: when the CPU receives the request, it pauses t ...

Posted by jaygattis on Sat, 06 Nov 2021 21:16:30 +0100

Start up process analysis of STM32 MCU

Preparatory knowledge When the MCU of ARM Cortex series is reset and powered on, it will obtain the vector table from the memory address of 0x00000000. The user software can also modify the storage address of the vector table by writing to the VTOR register. This value is equivalent to flash_ The offset of the base address, so that the program ...

Posted by rainbowsntoffee on Wed, 03 Nov 2021 19:48:08 +0100

[FPGA serial of punctual atom] Chapter 26 infrared remote control experiment - FPGA Development Guide from the new starting point of punctual atom_ V2.1

1) Experimental platform: new starting point V2 development board of punctual atom 2) Platform purchase address: https://detail.tmall.com/item.htm?id=609758951113 2) Full set of experimental source code + manual + video download address: http://www.openedv.com/thread-300792-1-1.html 3) Students interested in punctual atomic FPGA can add group d ...

Posted by shah on Wed, 03 Nov 2021 05:08:42 +0100

[STM32] realize serial communication based on STM32F407 interrupt mode

1, Interrupt introduction Specific introduction and reference articles: [STM32] lighting of interrupt switch based on STM32F407 2, Interrupt mode to realize serial communication 1. New construction Create an STM2CubeMX project for STM32F407: 2. Project setting Setting RCC Set the high-speed external clock HSE and select the external ...

Posted by jonnyw6969 on Tue, 02 Nov 2021 18:18:23 +0100

Arduino foundation introduction 13 temperature and humidity sensor DHT11

One hardware         DHT11 temperature and humidity sensor has accuracy of ± 5%RH and temperature of ± 2 ℃, as shown in the figure below [1]         The wiring of the four pins is clear at a glance. No. 2 data is used for the communication between the sensor and the microcontroller. It ...

Posted by levidyllan on Sun, 31 Oct 2021 08:02:07 +0100

Serial communication test bull knife

1, USART serial communication program of STM32 1.USART introduction 1. Baidu Encyclopedia: Universal synchronous / asynchronous serial receiver / transmitterUSART is a full duplex universal synchronous / asynchronous serial transceiver module. The interface is a highly flexible serial communication device. 2. Main features Full dupl ...

Posted by lkq on Sat, 30 Oct 2021 14:54:11 +0200

Engineering practice and innovation ability competition for Chinese college students (engineering training competition) -- smart logistics carrying trolley ④ number grid and card line

Go one by one   The map of the game is lattice, so it is obvious that we need to write such a function:   /* First parameter aim_direction is the direction of trolley movement The second parameter is aim_line_number is the number of squares the car needs to move Example code: I_Will_Always_Love_You(1,3); The trolley moves forward thr ...

Posted by dreamwest on Fri, 29 Oct 2021 16:29:48 +0200

Serial Communication Trial Knife - STM32 Serial Communication USART Output Hello world

1. Introduction to USART Universal Synchronous Asynchronous Receiver and Transmitter is a serial communication device that provides flexibility for full duplex data exchange with external devices. Unlike USART, there is also a UART(Universal Asynchronous Receiver and Transmitter), which cuts out the synchronous communication function on ...

Posted by willpower on Thu, 28 Oct 2021 20:21:48 +0200