【E45】基于STM32F4智能掌上游戏机

2021-08-13 15:53:05      索炜达电子      876     

SmartHandheldCon是大学本科嵌入式系统课程的期末设计作业,它基于STM32F407单片机设计和制作,主要功能为贪吃蛇游戏、环境监测和PWM波控制LED灯,功能实现表如下:

【E45】基于STM32F4智能掌上游戏机

实现流程

菜单部分是整个程序运行的主体,由菜单进入其它各个功能界面。

【E45】基于STM32F4智能掌上游戏机

【E45】基于STM32F4智能掌上游戏机

【E45】基于STM32F4智能掌上游戏机

【E45】基于STM32F4智能掌上游戏机

硬件部分

SmartHandheldCon的原理图和PCB图均使用Altium Designer 19进行设计和绘制,通过修改原理图和PCB文件即可修改硬件设计。

【E45】基于STM32F4智能掌上游戏机

【E45】基于STM32F4智能掌上游戏机

文件列表:

目录│文件列表:

 └ PCB+SCH+CODE

    └ SmartHandheldCon

       │ pwm流程图 .png

       │ 环境检测流程图 .png

       │ 神舟王STM32F407ZGT用户手册20140228.pdf

       │ 菜单流程图 .png

       │ 贪吃蛇流程图.png

       ├ PCB

       │  │ HandheldCon.PcbDoc

       │  │ HandheldCon.PcbDoc.htm

       │  │ HandheldCon.pdf

       │  │ HandheldCon.PrjPCB

       │  │ HandheldCon.PrjPCBStructure

       │  │ HandheldCon.SchDoc

       │  │ HandheldCon.zip

       │  ├ History

       │  │  └ HandheldCon.~(1).PrjPCB.Zip

       │  └ 库

       │     │ fszhang.PcbLib

       │     │ fszhang.SchLib

       │     │ PcbLib_autocar.PcbLib

       │     │ Pro.PcbLib

       │     │ Schlib1.SchLib

       │     └ Schlib_autocar.SchLib

       └ software

          └ HandheldCon

             │ .mxproject

             │ HandheldCon.ioc

             ├ Drivers

             │  ├ CMSIS

             │  │  ├ Core

             │  │  │  ├ Include

             │  │  │  │  │ cmsis_armcc.h

             │  │  │  │  │ cmsis_armclang.h

             │  │  │  │  │ cmsis_compiler.h

             │  │  │  │  │ cmsis_gcc.h

             │  │  │  │  │ cmsis_iccarm.h

             │  │  │  │  │ cmsis_version.h

             │  │  │  │  │ core_armv8mbl.h

             │  │  │  │  │ core_armv8mml.h

             │  │  │  │  │ core_cm0.h

             │  │  │  │  │ core_cm0plus.h

             │  │  │  │  │ core_cm1.h

             │  │  │  │  │ core_cm23.h

             │  │  │  │  │ core_cm3.h

             │  │  │  │  │ core_cm33.h

             │  │  │  │  │ core_cm4.h

             │  │  │  │  │ core_cm7.h

             │  │  │  │  │ core_sc000.h

             │  │  │  │  │ core_sc300.h

             │  │  │  │  │ mpu_armv7.h

             │  │  │  │  │ mpu_armv8.h

             │  │  │  │  └ tz_context.h

             │  │  │  └ Template

             │  │  │     └ ARMv8-M

             │  │  │        │ main_s.c

             │  │  │        └ tz_context.c

             │  │  ├ Core_A

             │  │  │  ├ Include

             │  │  │  │  │ cmsis_armcc.h

             │  │  │  │  │ cmsis_armclang.h

             │  │  │  │  │ cmsis_compiler.h

             │  │  │  │  │ cmsis_cp15.h

             │  │  │  │  │ cmsis_gcc.h

             │  │  │  │  │ cmsis_iccarm.h

             │  │  │  │  │ core_ca.h

             │  │  │  │  └ irq_ctrl.h

             │  │  │  └ Source

             │  │  │     └ irq_ctrl_gic.c

             │  │  ├ Device

             │  │  │  └ ST

             │  │  │     └ STM32F4xx

             │  │  │        ├ Include

             │  │  │        │  │ stm32f401xc.h

             │  │  │        │  │ stm32f401xe.h

             │  │  │        │  │ stm32f405xx.h

             │  │  │        │  │ stm32f407xx.h

             │  │  │        │  │ stm32f410cx.h

             │  │  │        │  │ stm32f410rx.h

             │  │  │        │  │ stm32f410tx.h

             │  │  │        │  │ stm32f411xe.h

             │  │  │        │  │ stm32f412cx.h

             │  │  │        │  │ stm32f412rx.h

             │  │  │        │  │ stm32f412vx.h

             │  │  │        │  │ stm32f412zx.h

             │  │  │        │  │ stm32f413xx.h

             │  │  │        │  │ stm32f415xx.h

             │  │  │        │  │ stm32f417xx.h

             │  │  │        │  │ stm32f423xx.h

             │  │  │        │  │ stm32f427xx.h

             │  │  │        │  │ stm32f429xx.h

             │  │  │        │  │ stm32f437xx.h

             │  │  │        │  │ stm32f439xx.h

             │  │  │        │  │ stm32f446xx.h

             │  │  │        │  │ stm32f469xx.h

             │  │  │        │  │ stm32f479xx.h

             │  │  │        │  │ stm32f4xx.h

             │  │  │        │  └ system_stm32f4xx.h

             │  │  │        └ Source

             │  │  │           └ Templates

             │  │  │              │ system_stm32f4xx.c

             │  │  │              ├ arm

             │  │  │              │  │ startup_stm32f401xc.s

             │  │  │              │  │ startup_stm32f401xe.s

             │  │  │              │  │ startup_stm32f405xx.s

             │  │  │              │  │ startup_stm32f407xx.s

             │  │  │              │  │ startup_stm32f410cx.s

             │  │  │              │  │ startup_stm32f410rx.s

             │  │  │              │  │ startup_stm32f410tx.s

             │  │  │              │  │ startup_stm32f411xe.s

             │  │  │              │  │ startup_stm32f412cx.s

             │  │  │              │  │ startup_stm32f412rx.s

             │  │  │              │  │ startup_stm32f412vx.s

             │  │  │              │  │ startup_stm32f412zx.s

             │  │  │              │  │ startup_stm32f413xx.s

             │  │  │              │  │ startup_stm32f415xx.s

             │  │  │              │  │ startup_stm32f417xx.s

             │  │  │              │  │ startup_stm32f423xx.s

             │  │  │              │  │ startup_stm32f427xx.s

             │  │  │              │  │ startup_stm32f429xx.s

             │  │  │              │  │ startup_stm32f437xx.s

             │  │  │              │  │ startup_stm32f439xx.s

             │  │  │              │  │ startup_stm32f446xx.s

             │  │  │              │  │ startup_stm32f469xx.s

             │  │  │              │  └ startup_stm32f479xx.s

             │  │  │              ├ gcc

             │  │  │              │  │ startup_stm32f401xc.s

             │  │  │              │  │ startup_stm32f401xe.s

             │  │  │              │  │ startup_stm32f405xx.s

             │  │  │              │  │ startup_stm32f407xx.s

             │  │  │              │  │ startup_stm32f410cx.s

             │  │  │              │  │ startup_stm32f410rx.s

             │  │  │              │  │ startup_stm32f410tx.s

             │  │  │              │  │ startup_stm32f411xe.s

             │  │  │              │  │ startup_stm32f412cx.s

             │  │  │              │  │ startup_stm32f412rx.s

             │  │  │              │  │ startup_stm32f412vx.s

             │  │  │              │  │ startup_stm32f412zx.s

             │  │  │              │  │ startup_stm32f413xx.s

             │  │  │              │  │ startup_stm32f415xx.s

             │  │  │              │  │ startup_stm32f417xx.s

             │  │  │              │  │ startup_stm32f423xx.s

             │  │  │              │  │ startup_stm32f427xx.s

             │  │  │              │  │ startup_stm32f429xx.s

             │  │  │              │  │ startup_stm32f437xx.s

             │  │  │              │  │ startup_stm32f439xx.s

             │  │  │              │  │ startup_stm32f446xx.s

             │  │  │              │  │ startup_stm32f469xx.s

TAG贪吃蛇
  • 8 次
  • 1 分