[learning notes] STM32F1 serial port asynchronous transceiver (register, standard library, HAL Library)

catalogue 5. Serial port configuration (asynchronous transceiver) 1. Experiment contents and steps: 2. Hardware description 3. Register description        1. Clock and GPIO configuration        2. USART1 configuration        3. USART1 RX interrupt ...

Posted by ilangovanbe2005 on Tue, 25 Jan 2022 05:32:11 +0100

STM32F103 five minute entry series SysTick tick timer + SysTick interrupt to realize the running lamp

Learning board: STM32F103ZET6 Push series: STM32F103 five minute introduction series (I) running lamp (library function + register) + Plus programming template + GPIO summary STM32F103 five minute entry series (II) seven registers of GPIO + GPIOx_LCKR function and configuration STM32F103 five minute introduction series (III) summary of commo ...

Posted by jlryan on Mon, 24 Jan 2022 18:34:36 +0100

Basic timer of STM32

basic timer Basic framework Clock source Because the basic timer can only select: internal clock. In STM32F103, the basic timers TIM6 and TIM7 are mounted on APB1, so the clock is originally the clock frequency value of APB1: 36MHZ, but please see the clock tree in the data manual of STM32F103. What can we see from this??? Even if w ...

Posted by jimmyhumbled on Sun, 23 Jan 2022 14:58:08 +0100

vb6.0 (automatic identification of computer port number, supporting text, hexadecimal sending)

VB is visual programming, that is, drag some icon controls onto the programming board, and then write the implementation function of each button with code (such as what happens when you press the button) vb was very popular in the past few years and gradually faded out of people's vision in recent years, but it is very convenient to use it to ...

Posted by hsn on Sat, 22 Jan 2022 08:07:35 +0100

Linear and circular interpolation of NC cross slide driven by stepping motor (with oblique ellipse interpolation code)

In my junior year, writing a blog is my experience of the recent course design for your reference. design sketch: First introduce the experimental equipment used this time: Cross slide, two stepping motors, a steering gear, an STM32 development board and a pen. The required software is Keil5 and CAD. python and matlab are useful in the el ...

Posted by neutra on Fri, 21 Jan 2022 19:44:49 +0100

Double closed loop (speed + angle) control of DC coded motor

catalogue 1. Therefore, the PID is roughly the block diagram 2. The formula of pid controller is 3. Sensor data acquisition 4. The hardware adopted is as follows (already in the open source of Lichuang) 5. Project configuration 6. Software program configuration 7. Parameter adjustment process record Cascade control system It is one of ...

Posted by jbrave on Fri, 21 Jan 2022 16:59:26 +0100

Temperature measurement with STM32 thermistor

1, Hardware STM32F103C8T6, thermistor sensor, OLED. 2, Introduction of thermistor sensor A DO output port outputs digital quantity, and outputs 0 or 1 according to whether the external temperature exceeds the threshold of the sensor; An AO port outputs analog quantity. The detection of temperature shall be realized through analog quant ...

Posted by johndale on Fri, 21 Jan 2022 03:59:17 +0100

STM32F103 SPI (pit Diary)

1.SPI protocol SPI is the abbreviation of Serial Peripheral Interface. It is a high-speed, full duplex and synchronous communication bus, and only occupies four wires on the pins of the chip. They are the following four MISO – Master Input Slave Output, master equipment data input and slave equipment data output;MOSI – Master ...

Posted by Synergic on Thu, 20 Jan 2022 20:14:19 +0100

[lora of STM32WLE5: 6. ADC of yizhilian LM40 Evaluation Board regularly collects and reports low-power processing]

preface PingPong routine has provided a complete low-power processing framework. Users only need to open the application low-power macro definition for testing. When expanding, users only need to add low-power processing in their own functional modules to complete the low-power processing of the whole project. It is very convenient and r ...

Posted by noirsith on Thu, 20 Jan 2022 16:20:52 +0100

July 20, 2021, the third day of summer vacation training for Hummer

CAN control RM motor 1. CAN overview CAN is the abbreviation of controller area network (CAN). It is a serial communication network that CAN realize distributed real-time control. The CAN bus is controlled by CAN_H and CAN_L is composed of two wires, and each device is mounted on the bus together. RoboMaster series motors also use can ...

Posted by batman on Wed, 19 Jan 2022 12:27:15 +0100