文件名称:wiless
- 所属分类:
- 单片机(51,AVR,MSP430等)
- 资源属性:
- [C/C++] [源码]
- 上传时间:
- 2015-09-24
- 文件大小:
- 2.83mb
- 下载次数:
- 0次
- 提 供 者:
- 吴**
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
实验器材:
战舰STM32F103开发板V3版本
实验目的:
学习NRF24L01 2.4G无线模块的使用.
硬件资源:
1,DS0(连接在PB5)
2,串口1(波特率:115200,PA9/PA10连接在板载USB转串口芯片CH340上面)
3,ALIENTEK 2.8/3.5/4.3/7寸TFTLCD模块(通过FSMC驱动,FSMC_NE4接LCD片选/A10接RS)
4,KEY0按键(连接在PE4)/KEY1按键(连接在PE3)
5,NRF24L01模块(SPI2(PB13/PB14/PB15)/IRQ(PG6)/CS(PG7)/CE(PG8)).
实验现象:
本实验开机后,先检测NRF24L01模块是否存在,在检测到NRF24L01模块之后,根据KEY0和KEY1的设置来决定
模块的工作模式,在设定好工作模式之后,就会不停的发送/接收数据,同样用DS0来指示程序正在运行。
注意事项:
1,4.3寸和7寸屏需要比较大电流,USB供电可能不足,请用外部电源适配器(推荐外接12V 1A电源).
2,本例程在LCD_Init函数里面(在ILI93xx.c),用到了printf,如果不初始化串口1,将导致液晶无法显示!!
3,需自备NRF24L01模块2个,战舰STM32开发板2块
4,NRF24L01模块插在开发板U4位置(朝外插).
5,本实验需要2套ALIENTEK开发板才可以正常测试!!!!!!一块做发送,一块做接收.-Experimental equipment: Battleship STM32F103 Development Board V3 version experiment: learning to use NRF24L01 2.4G wireless module hardware resources:. 1, DS0 (connected to PB5) 2, 1 serial port (baud rate: 115200, PA9/PA10 connections onboard USB to serial chip CH340 above) 3, ALIENTEK 2.8/3.5/4.3/7 inch TFTLCD module (via FSMC drive, FSMC_NE4 connected LCD chip select/A10 connection RS) 4, KEY0 button (connected to PE4)/KEY1 button (connected to . PE3) 5, NRF24L01 module (SPI2 (PB13/PB14/PB15)/IRQ (PG6)/CS (PG7)/CE (PG8)) experimental phenomena: the boot after this experiment, the first detection of the presence or absence NRF24L01 module, detects After NRF24L01 module, according to KEY0 and KEY1 settings to determine the operating mode module after setting the operating mode, it will stop sending/receiving data, the same DS0 to indicate the program is running. Note: 1,4.3 inch and 7-inch screen requires a relatively large current, USB supply may be insufficient, please use an exter
战舰STM32F103开发板V3版本
实验目的:
学习NRF24L01 2.4G无线模块的使用.
硬件资源:
1,DS0(连接在PB5)
2,串口1(波特率:115200,PA9/PA10连接在板载USB转串口芯片CH340上面)
3,ALIENTEK 2.8/3.5/4.3/7寸TFTLCD模块(通过FSMC驱动,FSMC_NE4接LCD片选/A10接RS)
4,KEY0按键(连接在PE4)/KEY1按键(连接在PE3)
5,NRF24L01模块(SPI2(PB13/PB14/PB15)/IRQ(PG6)/CS(PG7)/CE(PG8)).
实验现象:
本实验开机后,先检测NRF24L01模块是否存在,在检测到NRF24L01模块之后,根据KEY0和KEY1的设置来决定
模块的工作模式,在设定好工作模式之后,就会不停的发送/接收数据,同样用DS0来指示程序正在运行。
注意事项:
1,4.3寸和7寸屏需要比较大电流,USB供电可能不足,请用外部电源适配器(推荐外接12V 1A电源).
2,本例程在LCD_Init函数里面(在ILI93xx.c),用到了printf,如果不初始化串口1,将导致液晶无法显示!!
3,需自备NRF24L01模块2个,战舰STM32开发板2块
4,NRF24L01模块插在开发板U4位置(朝外插).
5,本实验需要2套ALIENTEK开发板才可以正常测试!!!!!!一块做发送,一块做接收.-Experimental equipment: Battleship STM32F103 Development Board V3 version experiment: learning to use NRF24L01 2.4G wireless module hardware resources:. 1, DS0 (connected to PB5) 2, 1 serial port (baud rate: 115200, PA9/PA10 connections onboard USB to serial chip CH340 above) 3, ALIENTEK 2.8/3.5/4.3/7 inch TFTLCD module (via FSMC drive, FSMC_NE4 connected LCD chip select/A10 connection RS) 4, KEY0 button (connected to PE4)/KEY1 button (connected to . PE3) 5, NRF24L01 module (SPI2 (PB13/PB14/PB15)/IRQ (PG6)/CS (PG7)/CE (PG8)) experimental phenomena: the boot after this experiment, the first detection of the presence or absence NRF24L01 module, detects After NRF24L01 module, according to KEY0 and KEY1 settings to determine the operating mode module after setting the operating mode, it will stop sending/receiving data, the same DS0 to indicate the program is running. Note: 1,4.3 inch and 7-inch screen requires a relatively large current, USB supply may be insufficient, please use an exter
(系统自动生成,下载前可以参看下载内容)
下载文件列表
实验33 无线通信实验\CORE\core_cm3.c
...................\....\core_cm3.h
...................\....\startup_stm32f10x_hd.s
...................\....\startup_stm32f10x_md.s
...................\HARDWARE\KEY\key.c
...................\........\...\key.h
...................\........\LCD\font.h
...................\........\...\lcd.c
...................\........\...\lcd.h
...................\........\.ED\led.c
...................\........\...\led.h
...................\........\NRF24L01\24l01.c
...................\........\........\24l01.h
...................\........\SPI\spi.c
...................\........\...\spi.h
...................\keilkilll.bat
...................\OBJ\24l01.crf
...................\...\24l01.d
...................\...\24l01.o
...................\...\core_cm3.crf
...................\...\core_cm3.d
...................\...\core_cm3.o
...................\...\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
...................\...\NRF24L01.axf
...................\...\NRF24L01.build_log.htm
...................\...\NRF24L01.hex
...................\...\NRF24L01.htm
...................\...\NRF24L01.lnp
...................\...\NRF24L01.sct
...................\...\NRF24L01_NRF24L01.dep
...................\...\spi.crf
...................\...\spi.d
...................\...\spi.o
...................\...\startup_stm32f10x_hd.d
...................\...\startup_stm32f10x_hd.o
...................\...\stm32f10x_fsmc.crf
...................\...\stm32f10x_fsmc.d
...................\...\stm32f10x_fsmc.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_spi.crf
...................\...\stm32f10x_spi.d
...................\...\stm32f10x_spi.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
...................\...............\...\stm32f10x_dma.h
...................\...............\...\stm32f10x_exti.h
...................\...............\...\stm32f10x_flash.h
...................\...............\...\stm32f10x_fsmc.h
...................\...............\...\stm32f10x_gpio.h
...................\...............\...\stm32f10x_i2c.h
...................\...............\...\stm32f10x_iwdg.h
...................\...............\...\stm32f10x_pwr.h
...................\...............\...\stm32f10x_rcc.h
...................\...............\...\stm32f10x_rtc.h
...................\...............\...\stm32f10x_sdio.h
...................\...............\...\stm32f10x_spi.h