查看“MCookie-Audio”的源代码
←
MCookie-Audio
跳转至:
导航
、
搜索
因为以下原因,您没有权限编辑本页:
您所请求的操作仅限于该用户组的用户使用:
用户
您可以查看与复制此页面的源代码。
{{Language|mCookie-Audio}} {| style="width: 800px;" |- | [[File: mCookie-Audio-rect.jpg|400px|thumb|right|mCookie-Audio]] mCookie-Audio is an audio play module with serial communication. It uses memory card to save songs to Audio Shield and amplifies sound together with [[mCookie-Amplifier]]. Audio and Audio shield stacked can be stacked to computer and serves as a card reader, which can be used for file transmission. ==Features== *Adopt serial port control with default serial (D2,D3). Serial port can be selected by jumpers: Serial (D0, D1), soft serial port(D4, D5). *Allow external memory card connection and play as well as disk display while connecting with a computer and content update. ==Specification== * MP3 format: *Support asynchronous serial communication mode and receive commands sent from the upper computer by serial port: **Communication standard: 9600 bps 、 **Data bit:1 **Check bit: none **Flow control: none *Support FAT16 and FAT32 system as well as 32G memory card to the maximum *With broadcast language insertion function, you can pause the playing background music. *Audio data is sorted by folders with 100 folders at the most supportable. Each folder can be sorted with 1000 pieces of music. *30-level volume adjustable (0x00-0x1E) * * Support Play, Pause, Last one, Next one and Play certain audio ==Document== JQ6500 audio chip description: [[File:JQ6500.pdf]] <br /> [[File:MCookie-Audio-pin.jpg|center|600px]] ==Development== ===Copy music to Audio shield === *Insert memory card into Audio shield [[file:mCookie-Audio-shield sd.JPG|thumb|400px|center]] *Stack Audio shield and Audio and connect them to your computer via a USB cable. And you'll see a disk on the computer. [[file:mCookie-Audio-shield cd.JPG|thumb|400px|center]] *Copy songs to the disk. ===Dial Wheel Button Control=== *Hardware needed: [[mCookie-CoreUSB]], [[mCookie-OLED]], [[mCookie-Amplifier]], mCookie-Audio, Audio shield, [[mCookie-BM]], [[mCookie-BM shield]], two loudspeakers and two cells of battery; *Code example download: [[File:Music Text.zip|Music Text]] *Connect CoreUSB to your computer, start Arduino IDE and open example program. *Click and upload program. When you see "Uploaded", it means the program has been uploaded to CoreUSB successfully. Program description: " arduino.h " is audio file control, responsible for sending control instruction to Audio module. 1. Under default serial port, you can select communication serial port from " arduino.h " based on the core modules you use. <source lang="cpp"> //#define AUDIO_PORT Serial1 #define AUDIO_PORT mySerial </source> 2. Initialize Audio module and select play mode. <source lang="cpp"> #define MODE_loopAll 0 //Loop all the time #define MODE_loopOne 1 //Loop once #define MODE_One_STOP 2 //Single cycle #define MODE_One_END 4 //Play once </source> *Insert TF card to Audio Sheild slot. [[file:mCookie-Audio-shield sd.JPG|thumb|400px|center]] *Stack AudioSheild and Audio, connect the Audio to your computer, and then you can save songs to TF card. Here we can save nine songs. *Connect loudspeaker to the interface of Amplifier. [[file:mCookie-Audio-speck.JPG|thumb|400px|center]] *Stack Amplifier, Audio and AudioSheild. (Only these three modules need to be connected together. Not for the other modules.) [[file:mCookie-Audio-steup1.JPG|thumb|400px|center]] *Connect the battery pack to the BM module. [[file:mCookie-Audio-speck.JPG|thumb|400px|center]] *Stack the other modules and connect them to BM shield. Then you can system power supply. **'''Audio must be powered through BM and it cannot powered by computer via CoreUSB, otherwise, it may cause system breakdown. [[file:mCookie-Audio-steup2.JPG|thumb|400px|center]] *Operation Description: [[file:mCookie-Audio-steup3.JPG|thumb|400px|center]] ==Projects== It can be widely used in all kinds of voice broadcast: *Car navigation voice broadcast *Road transport inspection and toll station voice prompt; *Railway station and bus station security inspection voice prompt; *Electricity, communication and financial business office voice prompt; *Vehicle entry and exit channel verification voice prompt; *Public security frontier inspection channel voice prompt; *Multi-channel voice alarm or device operation guide voice; *Electric sight-seeing car safe driving voice prompt; ==Purchase== ==History== ==Pictures== [[file:mCookie-Audio-KEY-SD1.JPG|thumb|600px|center|Audio&&shield-SD]] [[file:mCookie-Audio-KEY-SD2.JPG|thumb|600px|center|Audio&&shield-SD]] [[file:mCookie-Audio-KEY-SD3.JPG|thumb|600px|center|Audio&&shield-SD]] [[file:mCookie-Audio-F.JPG|thumb|600px|center|Microduino-Audio Front]] [[file:mCookie-Audio-b.JPG|thumb|600px|center|Microduino-Audio Back]] ==Video== |}
该页面使用的模板:
模板:Language
(
查看源代码
)
模板:Nmbox
(
查看源代码
)
返回至
MCookie-Audio
。
导航菜单
个人工具
创建账户
登录
名字空间
页面
讨论
变种
视图
阅读
查看源代码
查看历史
更多
搜索
Welcome
首页
创客大赛
大赛详情
3D打印
安装月球车
图形化编程
操控月球车
升级月球车
编程工具下载
软件下载
Arduino
Processing
Mixly
Scratch
模块套件
Microduino 102
mCookie 102
mCookie 202
mCookie 302
IBC
其他
应用套件
四轴飞行器
平衡车
小车CUBE
音乐播放器
刷卡音乐播放器
wifi气象站
彩虹音乐触摸灯
分贝检测仪
迎门汇报
LED点阵时钟
LED点阵屏幕
硬件
mCookie
Sensor
Microduino
MicroWrt
MicroNux
MicroRobot-Core
MicroRobot-CoreESP
ideaBoard
ideaBox
MicroMV
MicroAI
帮助
常见问题
帮助
工具
链入页面
相关更改
特殊页面
页面信息