当前位置:网站首页>[diy] how to make a personalized radio

[diy] how to make a personalized radio

2022-07-06 20:27:00 weixin_ forty-three million seven hundred and seventy-one thous

Radio has been developed for many years , It's not new , It has nothing to do with high technology , Not many people listen to the radio now , But the use of radio cannot be denied , You only need electricity to have a world , Listen to the real-time dynamics of the city , Let your eyes rest for a moment , Why not hurry? ;
The code download :
link :https://pan.baidu.com/s/1zT8KMMTANlNrInpAZjjlgA
Extraction code :8888

How to make a radio by yourself , In the past, many children in the craft class should also have done radio assembly , A board , Several originals , resistance , Put the capacitor on the corresponding position and weld it OK 了 , Two batteries a pack , done , But I don't think it's cool enough .
Want to make the volume smaller , Be able to support headphones , It can be put out , Even interface display . The chip of digital radio integrates complex circuits , Reduced volume . Then program yourself to improve the function of the radio , It's also a very interesting thing .

List the functions :

1、 It has the function of radio , You can find at least 15 A table ;

2、 It has the function of headphones and external speakers ;

3、 Screen display , Time can be displayed 、 The volume 、 Radio frequency 、 Electric quantity ;

4、 It can automatically search stations , Save the radio information to flash in .

5、 Press the key to increase or decrease the volume , Press the key to switch stations ;

6、 Press the key to enter the power saving mode , Turn off the screen , Any key lights up the screen ;

7、 Lithium battery powered , Charge and discharge management ;

8、 Low battery automatically enters sleep mode ;

Want to make the above functions , With the help of external forces , Is to use the ready-made things , Don't make wheels , There is no time to spend , Focus on your own design , Thought of using module combination .

There is a radio module that can meet the requirements :
 Insert picture description here

1、 Global band compatibility FM 76-108MHz( Including Japan 76-91MHz And Europe and America 87-108MHz).

2、 I2C Serial data bus interface communication .

3、 built-in LDO adjustment 、 low power consumption 、 Ultra wide voltage range (2.7-3.6VDC).

4、 Built in noise cancellation 、 Soft mute 、 Bass enhancement circuit design .

5、 The power amplifier adopts D Level audio amplification , It can be done by SHND Pin control mute .

6、 Support headphone access , Support 4Ω or 8Ω Horn access , Two channels 3W Power amplifier .

7、 The software sets the volume 0~15 level

8、 The software automatically searches stations , Provide reference code , No technical support .

Use scenarios
 Insert picture description here
 Insert picture description here
 Insert picture description here
 Insert picture description here
Speakers are the same series of laptop speakers , Sound quality is clear ;

 picture
Interface image use PS Prune , The pixel is 320x240
 Insert picture description here
Total number of radio stations reserved , Volume position , The position displayed by the real-time clock ;
And the current radio frequency display position , As background picture .
 Insert picture description here
Electricity display , I found a picture on the Internet that is very consistent , Need to repair the following figure ;
 Insert picture description here
 Insert picture description here
 Insert picture description here
 Insert picture description here
MCU:STM32F405RGT6
LCD:ILI9341 2.4 " 320x240

Operation instructions
1、 Up and down keys , Sound addition and subtraction ,1~15
2、 Left right key , Switch channels , Switch circularly according to the channel of automatic search , Maximum 50 individual ;
3、BtnA + BtnB, Automatic search , The interface shows that the channel will automatically change synchronously , The search is completed and automatically saved internally Flash;
4、BtnA + Down key , Turn off the screen , Enter power saving mode ; Press any key to restore the screen .
5、 After power on, from Flash Read channel information in , Convenient switching fluency .
6、 Electricity display , The total number of channels searched is displayed , volume display , Clock display , The current channel displays ;
7、 The charge is less than 3.55V, Automatically enter sleep mode ; The battery needs to be charged .

The code download :
link :https://pan.baidu.com/s/1zT8KMMTANlNrInpAZjjlgA
Extraction code :8888

Recommended reading :

Interpretation of chip manual | Linux Bottom | Career roast | C Language video

Pay attention to WeChat public number ,

Pay attention to WeChat public number , reply “ Radio module ”, Download the data book and reference program .
 Insert picture description here

原网站

版权声明
本文为[weixin_ forty-three million seven hundred and seventy-one thous]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/187/202207061224577807.html