這是基於野火指南者103開發板的一個開源項目,目的增加對Cortex-m3和STM32CubeX工具的學習了解
並增加編程能力。
需要開發上位機服務器,及多個終端app
需求:
實現上位機控制及監控板子狀態
- 全彩RGB LED燈
- 蜂鳴器
- 串口通信
- WIFI接入網絡
- ISP一鍵下載
- Flash
- EEPROM
- 支持32G TF卡(需外接)
- 攝像頭OV7725(需外接)
- NRF24L01(需外接)
- 可以做USB從機
描述 |
協議 |
協議頭 |
0x55 |
協議頭 |
0xaa |
長度(包括校驗位) |
len |
數據 |
xx |
... |
xx |
校驗位 |
check |
整體數據幀 |
0x55+0xaa+len+data+...+check |
功能 |
描述 |
協議 |
Red ON |
紅燈亮 |
0x55 0xaa 0x03 0xB1 0x01 check |
Red OFF |
紅燈滅 |
0x55 0xaa 0x03 0xB1 0x00 check |
Green ON |
綠燈亮 |
0x55 0xaa 0x03 0xB2 0x01 check |
Green OFF |
綠燈滅 |
0x55 0xaa 0x03 0xB2 0x00 check |
Blue ON |
紅燈亮 |
0x55 0xaa 0x03 0xB3 0x01 check |
Blue OFF |
紅燈滅 |
0x55 0xaa 0x03 0xB3 0x00 check |
Red PWM |
紅燈PWM值(0-1024) |
0x55 0xaa 0x04 0xB4 0x00 0x00 check |
Green PWM |
綠燈PWM值(0-1024) |
0x55 0xaa 0x04 0xB5 0x00 0x00 check |
blue PWM |
藍燈PWM值(0-1024) |
0x55 0xaa 0x04 0xB6 0x00 0x00 check |
LED flash frq |
LED閃爍頻率(0-255) |
0x55 0xaa 0x04 0xB7 0x00 0x00 0x00 check |
功能 |
描述 |
協議 |
Status Red ON |
紅燈狀態亮 |
0x55 0xaa 0x03 0xC1 0x01 check |
Status Red OFF |
紅燈狀態滅 |
0x55 0xaa 0x03 0xC1 0x00 check |
Status Green ON |
綠燈狀態亮 |
0x55 0xaa 0x03 0xC2 0x01 check |
Status Green OFF |
綠燈狀態滅 |
0x55 0xaa 0x03 0xC2 0x00 check |
Status Blue ON |
紅燈狀態亮 |
0x55 0xaa 0xC3 0x03 0x01 check |
Status Blue OFF |
紅燈狀態滅 |
0x55 0xaa 0xC3 0x03 0x00 check |
Status Red PWM |
紅燈PWM值(0-1024) |
0x55 0xaa 0x04 0xC4 0x00 0x00 check |
Status Green PWM |
綠燈PWM值(0-1024) |
0x55 0xaa 0x04 0xC5 0x00 0x00 check |
Status blue PWM |
藍燈PWM值(0-1024) |
0x55 0xaa 0x04 0xC6 0x00 0x00 check |
Status LED flash frq |
LED閃爍頻率(0-255) |
0x55 0xaa 0x04 0xC7 0x00 0x00 0x00 check |
- stm32F10x-reference manual
- Cortex-M3 權威指南