Location:
Search - STM32 USB-RS-2
Search list
Description: STM32下做的usb转RS232程序,有兴趣的同志可以参考下,开发板为MCBSTM32-STM32 done under the usb to RS232 procedures comrades are interested can refer to, the development board for MCBSTM32
Platform: |
Size: 326656 |
Author: wang ping |
Hits:
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: 实验器材:
探索者STM32F4开发板
实验目的:
学习STM32内部ADC的使用
硬件资源:
1,DS0(连接在PF9)
2,串口1(波特率:115200,PA9/PA10连接在板载USB转串口芯片CH340上面)
3,ALIENTEK 2.8/3.5/4.3/7寸TFTLCD模块(通过FSMC驱动,FSMC_NE4接LCD片选/A6接RS)
4,ADC(STM32内部ADC1,通道5,即:ADC1_CH5)-experiment equipment:
Explorer STM32F4 development board
In this case,
Purpose:
Learn about the use of the STM32 internal ADC
In this case,
Hardware resources:
1, DS0 (connected to PF9)
2, serial port 1 (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 (through the FSMC driver, FSMC_NE4 then LCD chip election/A6 then RS)
4, ADC (STM32 internal ADC1, channel 5, namely: ADC1_CH5)
Platform: |
Size: 4402176 |
Author: 梧桐雨 |
Hits:
Description: 硬件资源:
1,DS0(连接在PF9)
2,串口1(波特率:115200,PA9/PA10连接在板载USB转串口芯片CH340上面)
3,ALIENTEK 2.8/3.5/4.3/7寸TFTLCD模块(通过FSMC驱动,FSMC_NE4接LCD片选/A6接RS)
实验现象:
本实验利用探索者STM32开发板连接ALIENTEK TFTLCD模块(除CPLD版本7寸屏模块外,其余所有ALIENTEK的
LCD模块都可以支持),实现TFTLCD模块的显示,下载成功后,通过把LCD模块插入TFTLCD模块接口(靠右
插),按下复位之后,就可以看到LCD模块不停的显示一些信息并不断切换底色。同时该实验会显示LCD驱
动器的ID,并且会在串口打印(按复位一次,打印一次)。(Hardware resources:
1, DS0 (connected to PF9)
2, serial port 1 (baud rate: 115200, PA9/PA10 connection on board USB to serial port chip CH340).
3 inch TFTLCD ALIENTEK, 2.8/3.5/4.3/7 module (via FSMC driver, FSMC_NE4 LCD chip select /A6 RS))
Platform: |
Size: 4073472 |
Author: ck_xiaofei |
Hits:
Description: 硬件资源:
1,DS0(连接在PF9)
2,串口1(波特率:460800,PA9/PA10连接在板载USB转串口芯片CH340上面)
3,ALIENTEK 2.8/3.5/4.3/7寸TFTLCD模块(通过FSMC驱动,FSMC_NE4接LCD片选/A6接RS)
4,按键KEY0(PE4)/KEY1(PE3)/KEY2(PE2)/KEY_UP(PA0,也称之为WK_UP)
实验现象:
本实验开机的时候先显示提示信息,然后等待串口输入接收APP程序(无校验,一次性接收),在串口接收
到APP程序之后,即可执行IAP。如果是SRAM APP,通过按下KEY0即可执行这个收到的SRAM APP程序。如果
是FLASH APP,则需要先按下KEY_UP按键,将串口接收到的APP程序存放到STM32的FLASH,之后再按KEY1即
可以执行这个FLASH APP程序。通过KEY2按键,可以手动清除串口接收到的APP程序。(Experimental equipment:
Explorer STM32F4 development board
Objective:
Learn the IAP function of STM32 and master the use of IAP.
Hardware resources:
1, DS0 (connected to PF9)
2, serial port 1 (baud rate: 460800, PA9/PA10 connection on board USB to serial port chip CH340).
3 inch TFTLCD ALIENTEK, 2.8/3.5/4.3/7 module (via FSMC driver, FSMC_NE4 LCD chip select /A6 RS)
4, the key is KEY0 (PE4) /KEY1 (PE3) /KEY2 (PE2) /KEY_UP (PA0, also known as WK_UP).)
Platform: |
Size: 6282240 |
Author: ck_xiaofei |
Hits: