|
TEA5767 FM立體聲收音機(jī),C51單片機(jī)通用的源碼。
模塊某寶上也就2元以內(nèi)。
推薦使用 Keil uVision5 編譯,我是用這個(gè)版本編譯通過的。
電路原理圖如下:
模塊電路圖.jpg (67.04 KB, 下載次數(shù): 31)
下載附件
2018-6-24 17:56 上傳
0.png (38.86 KB, 下載次數(shù): 47)
下載附件
2018-6-24 19:36 上傳
單片機(jī)源程序如下:
- #include <REG52.H>
- #include "Radio.H"
- #include "Key_Handle.H"
- #include "Volume_Handle.H"
- extern void Delay_ms(unsigned int i);
- /********** System inition *************/
- void System_Init(void)
- {
- Key_Input=0xFF;
- BEEP_DRV=1; // 關(guān)閉蜂鳴器
- }
- /********** Main Function *************/
- void main(void)
- {
- BEEP_DRV=0; //關(guān)閉蜂鳴器
- System_Init(); //初始化MCU
- TEA5767_Init(); //初始化TEA5767,寫入預(yù)置參數(shù)
- Volume_Init(); //初始化聲音
- while(1)
- {
- Delay_ms(10);
- Key_Handle();
- }
- }
復(fù)制代碼
所有資料51hei提供下載:
FM_C51源碼和資料.zip
(478.77 KB, 下載次數(shù): 196)
2018-6-24 17:56 上傳
點(diǎn)擊文件名下載附件
下載積分: 黑幣 -5
|
評(píng)分
-
查看全部評(píng)分
|