arduino bus steering gear + real-time serial communication control

arduino syntax digitalWrite() function digitalWrite(pin,value); / / define the level of the pin Pin *: * you want to set the pin numbers of the mode from 0 to 13 value: indicates high level or low level digitalRead function Pin level reading function int digitalRead(pin) The digital IO port reads the input level function and reads the ...

Added by sweenyman on Sun, 19 Dec 2021 09:50:21 +0200

[STM32 fried cold rice] GPIO and external interrupt

[STM32 fried cold rice] GPIO and external interrupt (standard peripheral Library) It has been a year since I started a project with STM32 series single chip microcomputer. I suddenly want to open a new pit and write something, which is equivalent to my own understanding. I don't say much about building a development environment and configurati ...

Added by youdontmeanmuch on Sat, 18 Dec 2021 21:31:37 +0200

Graduation design -- infrared imager based on single chip microcomputer

1 Introduction Hi, everyone, this is senior Dan Cheng. Today I'd like to introduce you to a very, very cool single chip microcomputer project Infrared imager based on single chip microcomputer It can be used in curriculum design or graduation design Technical solutions Design help:<Q>746876041 2 project introduction Does the ...

Added by verbalkint81 on Sat, 18 Dec 2021 08:06:36 +0200

Embedded job 11

Write a C program, review the concepts of global variables, local variables, heap and stack, and program and verify them in Ubuntu (x86) system and STM32(Keil) (STM32 sends the serial port printf information to the host computer serial port assistant through serial port). 1, Memory partition 1 . Program partition in memory regionStorage c ...

Added by georgepapa on Thu, 16 Dec 2021 17:08:54 +0200

Learn stm32 from scratch

Chapter IV Section II Thinking: how to achieve the following functions? Serial port echoLED cycle flashing (1 second interval)Task 1 and task 2 will not interfere with each other interrupt When the system stops the currently running program and transfers to other services, it may be that the program has accepted a request higher than its o ...

Added by JCF22Lyoko on Sat, 11 Dec 2021 18:08:25 +0200

STM32F103C8 porting uC/OS-III

catalogue 1, STM32cubeMX generates HAL library files   2, Transplant μ COS III. results 4, Keil virtual simulation logic instrument analyzes serial port waveform   5, Observe the waveform using the real logic instrument SaleaeLogic16 6, References 1, STM32cubeMX generates HAL library files New project Configure PC13 as ...

Added by fenrir on Wed, 08 Dec 2021 23:27:39 +0200

First week study

Introduction to Arduino Basics arduino is a convenient, flexible and easy to use open source electronic prototype platform, including hardware (various models of arduino boards) and software (arduino boards)   IDE). Arduino can sense the environment through a variety of sensors and feed back and affect the environment by controlling ...

Added by cmos on Wed, 08 Dec 2021 07:23:02 +0200

uc/OS system transplantation and task implementation based on STM32F103

uc/OS system transplantation and task implementation based on STM32F103 1. Establishment of stm32cubemx project Select chip STM32C8 Configure RCC Configure SYS Set PB8 to GPIO_Output is used to light the LED lamp [PC13 is used later] Set serial port USART1 Project management: set the following options one by one Click GENERATE CODE ...

Added by Dujo on Wed, 08 Dec 2021 07:00:32 +0200

Clock RTC implements calendar reading, setting and output of STM32

1. Conceptual Relevance 1.RTC RTC, full name in English: Real-time clock, Chinese name: Real-time clock, refers to electronic equipment that can output real time like a clock. It is generally an integrated circuit, so it is also called a clock chip. Real-time clock chip is one of the most widely used consumer electronic products in dai ...

Added by sunnypal on Wed, 08 Dec 2021 02:13:40 +0200

uc/OS System Porting

1. Use CubeMX to build STM32F103HAL Library Select the STM32F103C8 chip, as shown below, to configure RCC and SYS and serial USART1 Set pin PC13 to GPIO_Output Set HSE, PLLCLK, HCLK to 72HZ in Clock Setup Project 2. Download uCOSIII source code Source connection: https://pan.baidu.com/s/10RqsDRecbmVteWmDv2oUNQ Extraction Code: 1234 Once ...

Added by jobs on Wed, 08 Dec 2021 02:05:59 +0200