当前位置:网站首页>[DIY]如何制作一款个性的收音机
[DIY]如何制作一款个性的收音机
2022-07-06 12:25:00 【weixin_43771853】
收音机已经发展了很多年,并不是什么新鲜玩意,也和高科技不沾边了,包括现在听收音机的人群也不是很多,但是收音机的用途还是不能被否认的,只需要电就可以拥有一方天地,听着城市的实时动态,让眼睛得到片刻的休息,岂不快哉;
代码下载:
链接:https://pan.baidu.com/s/1zT8KMMTANlNrInpAZjjlgA
提取码:8888
如何自己打造一款收音机呢,以前手工课的时候很多小伙伴应该也都搞过收音机组装,一块板子,若干原件,电阻,电容放到对应的位置上面焊接好就OK了,两节电池一装,搞定了,但我觉得不够酷。
想把体积做的更小,要能够支持耳机,能够外放,甚至还要有界面显示。数字收音机的芯片把复杂的电路集成,缩小了体积。然后自己编程让收音机的功能完善起来,也是一件非常有趣的事情。
功能罗列一下:
1、具有收音机的功能,可以搜到至少15个台;
2、具有耳机和外放喇叭功能;
3、屏幕显示,可以显示时间、音量、电台频率、电量;
4、可以自动搜台,电台信息保存到flash中。
5、按键加减音量,按键切换电台;
6、按键进入省电模式,关闭屏幕,任意键点亮屏幕;
7、锂电池供电,充放电管理;
8、电量低自动进入休眠模式;
想做成以上功能,借助外力来完成,就是现成的东西拿来用,不要造轮子,没有时间耗不起,专注于自己的设计,想到了使用模块组合。
有一款收音机模块可以满足要求:
1、 全球频段兼容FM 76-108MHz(包括日本76-91MHz和欧美87-108MHz)。
2、 I2C串行数据总线接口通讯。
3、 内置LDO调整、低功耗、超宽电压使用范围(2.7-3.6VDC)。
4、 内置噪声消除、软静音、低音增强电路设计。
5、 功放采用D级音频放大,可通过SHND引脚控制静音。
6、 支持耳机接入,支持4Ω或8Ω喇叭接入,双通道3W功放。
7、 软件设置音量0~15级
8、 软件自动搜台,提供参考代码,不提供技术支持。
使用场景



喇叭为笔记本电脑音箱同一系列,音质清晰;

界面图片使用PS进行修剪,像素为320x240
预留出电台总数,音量位置,实时时钟显示的位置;
和当前电台频率显示位置,作为背景图片。
电量显示,网上找的一个图片觉得很符合,需要修一下图;



MCU:STM32F405RGT6
LCD:ILI9341 2.4寸 320x240
操作说明
1、上下键,声音加减,1~15
2、左右键,切换频道,根据自动搜索的频道循环切换,最大50个;
3、BtnA + BtnB,自动搜台,界面显示频道会自动同步变化,搜索完成自动保存内部Flash;
4、BtnA + 下键,熄灭屏幕,进入省电模式;按任意键恢复屏幕。
5、上电后从Flash中读取频道信息,方便切换流畅性。
6、电量显示,搜索到总频道数显示,音量显示,时钟显示,当前频道显示;
7、电量小于3.55V,自动进入休眠模式;需要对电池进行充电。
代码下载:
链接:https://pan.baidu.com/s/1zT8KMMTANlNrInpAZjjlgA
提取码:8888
推荐阅读:
芯片手册解读 | Linux底层 | 职场吐槽 | C语言视频
关注微信公众号,
关注微信公众号,回复“收音机模块”,下载数据手册及参考程序。
边栏推荐
- Anaconda安装后Jupyter launch 没反应&网页打开运行没执行
- Digital triangle model acwing 1018 Minimum toll
- Ideas and methods of system and application monitoring
- Use of OLED screen
- I've seen many tutorials, but I still can't write a program well. How can I break it?
- Rhcsa Road
- 【云原生与5G】微服务加持5G核心网
- Unity making plug-ins
- Web security - payload
- Period compression filter
猜你喜欢

Cesium Click to draw a circle (dynamically draw a circle)

Core principles of video games

OLED屏幕的使用

【计网】第三章 数据链路层(3)信道划分介质访问控制

Monthly report of speech synthesis (TTS) and speech recognition (ASR) papers in June 2022

【每周一坑】输出三角形

SQL injection 2

Special topic of rotor position estimation of permanent magnet synchronous motor -- fundamental wave model and rotor position angle
![[weekly pit] calculate the sum of primes within 100 + [answer] output triangle](/img/d8/a367c26b51d9dbaf53bf4fe2a13917.png)
[weekly pit] calculate the sum of primes within 100 + [answer] output triangle
![[weekly pit] positive integer factorization prime factor + [solution] calculate the sum of prime numbers within 100](/img/d8/a367c26b51d9dbaf53bf4fe2a13917.png)
[weekly pit] positive integer factorization prime factor + [solution] calculate the sum of prime numbers within 100
随机推荐
【每周一坑】计算100以内质数之和 +【解答】输出三角形
Special topic of rotor position estimation of permanent magnet synchronous motor -- fundamental wave model and rotor position angle
Tips for web development: skillfully use ThreadLocal to avoid layer by layer value transmission
Qinglong panel white screen one key repair
HMS Core 机器学习服务打造同传翻译新“声”态,AI让国际交流更顺畅
What happened to the kernel after malloc() was transferred? Attached malloc () and free () implementation source
"Penalty kick" games
解剖生理学复习题·VIII血液系统
【GET-4】
Poj3617 best cow line
Why do novices often fail to answer questions in the programming community, and even get ridiculed?
PowerPivot - DAX (first time)
Initial experience of addresssanitizer Technology
Wechat applet common collection
Unity load AB package
JS implementation force deduction 71 question simplified path
Tencent cloud database public cloud market ranks top 2!
[Yann Lecun likes the red stone neural network made by minecraft]
JS get browser system language
Groovy基础语法整理