创建项目

新建工程

  1. 一直下一步就行。使用 Proteus 仿真 STM32_STM32开发
    使用 Proteus 仿真 STM32_STM32开发_02
    使用 Proteus 仿真 STM32_STM32_03
  2. 选择版型,注意选择什么类型的板子
    使用 Proteus 仿真 STM32_STM32开发_04

完成

使用 Proteus 仿真 STM32_STM32开发_05
使用 Proteus 仿真 STM32_STM32_06
使用 Proteus 仿真 STM32_STM32开发_07

连接元器件

使用 Proteus 仿真 STM32_STM32开发_08

编辑元件

使用 Proteus 仿真 STM32_STM32_09

Program File

这里是选择你要运行的程序的 HEX 文件。
使用 Proteus 仿真 STM32_STM32_10在 KEIL中选择创建HEX文件

Crystal Frequency

这里很重要,很多人运行不成功都是因为没有在这里设定晶振频率。必须要设定!!!

配置供电网

要想仿真使用STM32,就需要把相关未连接电网添加进把VCC和GND中。
使用 Proteus 仿真 STM32_STM32开发_11
使用 Proteus 仿真 STM32_STM32开发_12
使用 Proteus 仿真 STM32_STM32开发_13

后续

要想了解更多项目实战和仿真技巧可以订阅项目实战专栏。

使用 Proteus 仿真 STM32_STM32_14
关注公众号,了解更多。