Description: 实验器材:
战舰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 Platform: |
Size: 2964480 |
Author:吴宇轩 |
Hits:
Description: 实验目的:
学习STM32模拟IIC的使用,驱动24C02实现EEPROM数据读写.
硬件资源:
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,24C02(IIC连接在PB6/PB7上面)
实验现象:
本实验通过KEY1按键来控制24C02的写入,通过另外一个按键KEY0来控制24C02的读取。并在LCD模块上面显示
相关信息。同时,我们可以通过USMART控制在24C02的任意地址写入和读取数据。
注意事项: 1,4.3寸和7寸屏需要比较大电流,USB供电可能不足,请用外部电源适配器(推荐外接12V 1A电源).
2,本例程在LCD_Init函数里面(在ILI93xx.c),用到了printf,如果不初始化串口1,将导致液晶无法显示!!
-Experimental equipment: Battleship STM32F103 Development Board V3 version Purpose: Learning STM32 use of simulation IIC, drive 24C02 EEPROM data read and write hardware resources to achieve:. 1, DS0 (connected to PB5) 2, 1 serial port (baud rate: 115200, 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 FSMC drive, FSMC_NE4 connected LCD chip select/A10 connection RS) 4, button KEY0 (PE4)/KEY1 (PE3) 5,24C02 (IIC connection PB6/PB7 above) experimental phenomena: In this study, KEY1 keys to control the write 24C02 by another KEY0 buttons to control the read 24C02. And displays information on the LCD module above. At the same time, we can control by USMART 24C02 any address in writing and reading data. Note: 1,4.3 inch and 7-inch screen requires a relatively large current, USB supply may be insufficient, please use an external power adapter (12V 1A external power supply recommended) 2, this routine LCD_Init function inside Platform: |
Size: 372736 |
Author:吴宇轩 |
Hits:
Description: 野火开发板stm32f103串口打印程序例子-Wildfire Development Board stm32f103 serial printing program example Platform: |
Size: 309248 |
Author:menglingyu |
Hits:
Description: 基于stm32zet6的printf重定向,能在串口上用printf语句显示需要显示的内容(Printf redirection based on stm32zet6 can display the content that needs to be displayed with printf statement on the serial port.) Platform: |
Size: 1931264 |
Author:番茄大人 |
Hits:
Description: 基于stm32红外传感器的试验程序,可以检测红外收发器的实验程序(Based on the STM32 infrared sensor test program, it can detect the infrared transceiver's experimental program.) Platform: |
Size: 7951360 |
Author:炎神 |
Hits: