程序師世界是廣大編程愛好者互助、分享、學習的平台,程序師世界有你更精彩!
首頁
編程語言
C語言|JAVA編程
Python編程
網頁編程
ASP編程|PHP編程
JSP編程
數據庫知識
MYSQL數據庫|SqlServer數據庫
Oracle數據庫|DB2數據庫
您现在的位置: 程式師世界 >> 編程語言 >  >> 更多編程語言 >> Python

Micropython Kernel Development Notes: experiment task embedded in the book

編輯:Python

Jane Medium : This paper gives MicroPython General links to software experiment related content in Kernel Development notes . See the connection in the last column of Table 1 for details .

key word MicroPython,MM32F3277, The contents of the manuscript

Embedded experiment planning Objective record
Contents
Task list Embedded experimental conditions Experimental references Relevant contents of the manuscript Author's brief introduction

 

§01 Embedded Enter the experiment planning


1.1 Task list

The following is given in “MicroPython Kernel Development Notes ” A list of tasks to be completed for sorting out relevant contents in the book . According to the manuscript ( Time is :6 month 29 On the morning of the th ) Arrange the blank content in the middle and the table in the task column of the book .

【 surface 1-1 MicroPython Kernel Development Notes task column table 】

The name of the task Location Task content Additional explanation Completion status Author's brief introduction Author's brief introduction Company 、 position 、 Gender 、 Age 、 brief introduction Author's brief introduction Minimum system schematic Chapter two PLUS-F3270 After development board The principle diagram of minimum system based on bread board is introduced , It is convenient for everyone to design and make by themselves 1. Give the schematic diagram
2. give PCB Territory
Breadboard development drawing Basic usage
Direct access to memory At the end of Chapter 3 1. stay MM32F3273 Run on the microcontroller Python kernel ;
2. Use Python Direct access to memory problem : In the third chapter, I will introduce MM32 Do you ? The third chapter - Basic experiments be based on REPL Program debugging At the end of chapter four 1. Introduce print Output . 2. Introduce scanf Input 、PIN Input and output Chapter 5 use cases 1. utilize Nano On board implementation LED flashing ;
2. Realize breathing lights ;
3. Read keys and configure ports ;
4.KEY And LED Joint experiments Be careful : In these experiments , Delay using software delay , Do not call the following utime Software delay Chapter six 1. LED flashing , replace PIN Software latency in ;
2. Delay accuracy test
3. stay MM32F3273 Up operation MicroPython, Test the performance File system experiment Chapter vii. SuYong And two experimental examples are given :
1. Write the running program to TF card , And run ;
2. Read main Program and display .
3. Read binary ; Verify whether the current version supports reading binary files . Realization FFT Chapter viii. 1. elegant FFT Algorithm
2. Comb filter for clutter removal
3. MicroPython Floating point optimization DAC experiment Chapter nine 1. DAC The basic output ; 2. DAC Linearity test ;3.DAC Output sine wave ADC experiment Chapter ten 1. Basic experiments
2. The input signal is linear
3. Read the temperature ;4. Phonetic experiment UART experiment Chapter 11 1. Basic send and receive ;
2. Realize interactive development ;
3. Chinese chess program ;SPI experiment Chapter 12 1. Basic experiments ;
2. visit FLASH;
3. Control colorful LEDI2C experiment Chapter 13 1. Basic experiments ;
2. visit I2CFlash;
3. visit MMU 6050;PWM experiment Chapter 14 1. Basic experiments ;
2. Control of steering gear ;
3. Control motor ;Timer experiment Chapter 15 1. Basic experiments ;
2. Signal acquisition ;
3.PID Adjust the ;MEM32 experiment The first X Chapter 1. Use COMP peripherals ;
2. Use CRC peripherals ;
3. Improve PWM Output frequency accuracy

1.1.1 Manuscript progress form

1.2 Embedded experimental conditions

1.2.1 Software version

Embedded experiments are based on MicroPython The software version is in (2022-06-29) Su Yong compiled based on A9,A10 REPL Serial port version .

D:\zhuoqing\window\ARM\IAR\MM32\MicroPython\firmware-6-29.bin

1.2.2 Hardware experiment platform

The hardware experiment platform includes two .

(1) Rapid plate making platform

For circuit platform design, see :

  • Design with SD Card MM32F3277 MicroPython Experiment board

The platform can build experimental circuits based on bread board , It is convenient to carry out some basic experiments ;

(2)PLUS-F3270

For more information, see :

  • Get ready MicroPython Kernel development books embedded experimental program experimental platform

The platform has a wealth of peripherals .

▲ chart 1.2.1 PLUS-3270 Function diagram

The following table shows PLUS-F3270 The function of the experiment module on the backplane and its interface definition .

【 surface 1-2 PLUS-F3270 Function module of the test board 】

modular port Function description remarks green LEDA2G-K: Low level on blue , red LEDA3: B-K
A1:R-K Low level on MicroSDSD Interface UART1B6,B7CH340 Pick up USB port B6,B7 External lead out
You can use the patch cord on the board J1,J2 And CH340 To break off Steering gear interface A8,A9,A10
B3,B4,B5 adopt R100 Output steering gear control signal Ethernet interface USB Interface A12,A11CAN Interface B9,B8RS485 Interface B1:R0
B0:DI
C0:RE/DEI2C Interface C6,C7 The external connections are MPU6050,K24C02SPI Interface W25Q64SPI Interface Flash Digital audio E6,D3,E4,E5DAC Output A3,A4 adopt SW2 external LMV358 Output power audio signal ADC Interface F6,F7F6: external NTC
F7: External photoresistor
Voltage amplification :LMV358 external ADCA6,A7 External analog input ,IN1-A6,IN0_A5 On board potentiometer F8 Follow the input 0 ~ 3.3VMIC Input F9: Read Mic sound signal Four way LEDH2,A15,A0,G13 Key in D7,G7,G8,G9 The default state is high Dial switch BOOT0,B2
G14,G15Boot0,B2: ON-HIGH
G14,G15:ON-LOW

1.3 Experimental references

1.3.1 Reference books

▲ chart 1.2.2 Refer to experimental books

 

§02 book Relevant contents of the draft


2.1 Author's brief introduction

Chao Qing
Company : Department of automation, Tsinghua University
position : Teachers' , associate professor
Gender : male
Age :52
Professor of Automation Department of Tsinghua University , The main research fields include intelligent information processing 、 Embedded systems and power electronics . Won the first prize of the National Teaching Award . The course includes signal and system 、 Artificial neural network, etc . from 2006 He has been responsible for organizing the National College Students' smart car competition since .


■ Links to related literature :

  • stay MM32F3273 Up operation MicroPython, Test the performance
  • elegant FFT Algorithm
  • Comb filter for clutter removal
  • ESP32 Program optimization for detecting modulated laser signals
  • Design with SD Card MM32F3277 MicroPython Experiment board
  • Get ready MicroPython Kernel development books embedded experimental program experimental platform

● Related chart Links :

  • surface 1-1 MicroPython Kernel Development Notes task column table
  • chart 1.2.1 PLUS-3270 Function diagram
  • surface 1-2 PLUS-F3270 Function module of the test board
  • chart 1.2.2 Refer to experimental books

  1. 上一篇文章:
  2. 下一篇文章:
Copyright © 程式師世界 All Rights Reserved