文件名称:STM32-DAC

  • 所属分类:
  • 其他小程序
  • 资源属性:
  • [C/C++] [源码]
  • 上传时间:
  • 2016-08-08
  • 文件大小:
  • 3.77mb
  • 下载次数:
  • 0次
  • 提 供 者:
  • din***
  • 相关连接:
  • 下载说明:
  • 别用迅雷下载,失败请重下,重下不扣分!

介绍说明--下载内容均来自于网络,请自行研究使用

使用软件:

  keil5

  

硬件资源:

  1,DS0(连接在PA8)

  2,串口1(波特率:9600,PA9/PA10连接在板载USB转串口芯片CH340上面)

  3,ALIENTEK 2.8/3.5/4.3/7寸TFTLCD模块(通过GPIO驱动,连接关系见lcd.h)

  4,按键KEY0(PC5)/KEY_UP(PA0,也称之为WK_UP)

  5,DAC(STM32内部DAC通道1,通过PA4输出)

  6,ADC(STM32内部ADC1_CH1,连接在PA1).

  

实验现象:

  本实验利用按键(KEY0/KEY_UP两个按键,或USMART)控制STM32F1内部DAC模块的通道1来输出电压,通过ADC1的

  通道1采集DAC的输出电压,在LCD模块上面显示ADC获取到的电压值以及DAC的设定输出电压值等信息。同时可以通过usmart调用Dac1_Set_Vol函数,来直接设置DAC输出电压。-

Purpose:

STM32 learning to use internal DAC

Hardware resources:

1, DS0 (connected PA8)

2, 1 serial port (baud rate: 9600, PA9/PA10 connected to the onboard USB to serial chip CH340 above)

3, ALIENTEK 2.8/3.5/4.3/7 inch TFTLCD module (via the GPIO driver, see the connection between lcd.h)

4, button KEY0 (PC5)/KEY_UP (PA0, also known WK_UP)

5, DAC (STM32 internal DAC channels 1 through PA4 output)

6, ADC (STM32 internal ADC1_CH1, connected PA1).

Experimental phenomena:

In this study, the key (KEY0/KEY_UP two buttons, or USMART) control channel STM32F1 internal DAC module 1 to the output voltage by the ADC1

Channel 1 of the DAC output voltage acquisition, display ADC acquired voltage value and the set value of the DAC output voltage is above the LCD module and other information. And can pass

Over usmart call Dac1_Set_Vol function to directly set the DAC output voltage.
(系统自动生成,下载前可以参看下载内容)

下载文件列表





STM32 DAC实验\CORE

.............\....\core_cm3.c

.............\....\core_cm3.h

.............\....\startup_stm32f10x_hd.s

.............\....\startup_stm32f10x_md.s

.............\HARDWARE

.............\........\ADC

.............\........\...\adc.c

.............\........\...\adc.h

.............\........\DAC

.............\........\...\dac.c

.............\........\...\dac.h

.............\........\KEY

.............\........\...\key.c

.............\........\...\key.h

.............\........\...\led.c

.............\........\...\led.h

.............\........\LCD

.............\........\...\FONT.H

.............\........\...\lcd.c

.............\........\...\lcd.h

.............\........\LED

.............\........\...\led.c

.............\........\...\led.h

.............\keilkilll.bat

.............\OBJ

.............\...\adc.crf

.............\...\adc.d

.............\...\adc.o

.............\...\core_cm3.crf

.............\...\core_cm3.d

.............\...\core_cm3.o

.............\...\DAC.axf

.............\...\DAC.build_log.htm

.............\...\dac.crf

.............\...\dac.d

.............\...\DAC.hex

.............\...\DAC.htm

.............\...\DAC.lnp

.............\...\dac.o

.............\...\DAC.sct

.............\...\DAC_Target 1.dep

.............\...\delay.crf

.............\...\delay.d

.............\...\delay.o

.............\...\key.crf

.............\...\key.d

.............\...\key.o

.............\...\lcd.crf

.............\...\lcd.d

.............\...\lcd.o

.............\...\led.crf

.............\...\led.d

.............\...\led.o

.............\...\main.crf

.............\...\main.d

.............\...\main.o

.............\...\misc.crf

.............\...\misc.d

.............\...\misc.o

.............\...\startup_stm32f10x_hd.d

.............\...\startup_stm32f10x_hd.o

.............\...\stm32f10x_adc.crf

.............\...\stm32f10x_adc.d

.............\...\stm32f10x_adc.o

.............\...\stm32f10x_dac.crf

.............\...\stm32f10x_dac.d

.............\...\stm32f10x_dac.o

.............\...\stm32f10x_gpio.crf

.............\...\stm32f10x_gpio.d

.............\...\stm32f10x_gpio.o

.............\...\stm32f10x_it.crf

.............\...\stm32f10x_it.d

.............\...\stm32f10x_it.o

.............\...\stm32f10x_rcc.crf

.............\...\stm32f10x_rcc.d

.............\...\stm32f10x_rcc.o

.............\...\stm32f10x_usart.crf

.............\...\stm32f10x_usart.d

.............\...\stm32f10x_usart.o

.............\...\sys.crf

.............\...\sys.d

.............\...\sys.o

.............\...\system_stm32f10x.crf

.............\...\system_stm32f10x.d

.............\...\system_stm32f10x.o

.............\...\usart.crf

.............\...\usart.d

.............\...\usart.o

.............\README.TXT

.............\STM32F10x_FWLib

.............\...............\inc

.............\...............\...\misc.h

.............\...............\...\stm32f10x_adc.h

.............\...............\...\stm32f10x_bkp.h

.............\...............\...\stm32f10x_can.h

.............\...............\...\stm32f10x_cec.h

.............\...............\...\stm32f10x_crc.h

.............\...............\...\stm32f10x_dac.h

.............\...............\...\stm32f10x_dbgmcu.h

相关说明

  • 本站资源为会员上传分享交流与学习,如有侵犯您的权益,请联系我们删除.
  • 本站是交换下载平台,提供交流渠道,下载内容来自于网络,除下载问题外,其它问题请自行百度更多...
  • 请直接用浏览器下载本站内容,不要使用迅雷之类的下载软件,用WinRAR最新版进行解压.
  • 如果您发现内容无法下载,请稍后再次尝试;或者到消费记录里找到下载记录反馈给我们.
  • 下载后发现下载的内容跟说明不相乎,请到消费记录里找到下载记录反馈给我们,经确认后退回积分.
  • 如下载前有疑问,可以通过点击"提供者"的名字,查看对方的联系方式,联系对方咨询.

相关评论

暂无评论内容.

发表评论

*主  题:
*内  容:
*验 证 码:

源码中国 www.ymcn.org