Page 1 of 2
BT Audio click
From MikroElektonika Documentation
BT Audio click features Microchip’s RN52 Bluetooth audio module capable of
streaming high quality audio. The module combines class 2 Bluetooth radio and an
embedded DSP processor, controlled and configured by simple ASCII commands
and GPIO. The board has two audio jacks, input (microphone) and line out (for
connecting speakers).
BT Audio click
Contents
◾ 1 Features and usage notes
◾ 1.1 1. BT Audio click can stream audio files
◾ 1.2 2. Quality of sound over Bluetooth
◾ 1.3 3. Connectivity to Apple devices
◾ 1.4 4. Bluetooth range
◾ 2 Key features
◾ 3 Pinout diagram
◾ 4 Resources
Features and usage notes
1. BT Audio click can stream audio files
DSP, or digital signal processor, is what makes this module special, because the
module can actually stream audio – it converts and compresses the radio waves
sent from your phone or computer into digital data, and then sends it to your
speakers or headphones.
2. Quality of sound over Bluetooth
BT Audio click
IC/Module RN52
(http://ww1.microchip.com/downloads/en/DeviceDoc/70005120A.pdf)
Interface
UART
Power
3.3V
supply
Product
www.mikroe.com/click/bt-audio (http://www.mikroe.com/click/bt-
page
audio)
Schematic BT Audio click schematic (http://cdndocs.mikroe.com/images/b/b0/BT-Audio-click-schematic_v100.pdf)
You can be glad to know that the module supports aptX, audio codec for high
quality stereo audio streaming over a Bluetooth connection. So the quality of the
sound is not something you will have to compromise on, as aptX encodes a CD-quality (16-bit / 44.1kHz) audio stream.
3. Connectivity to Apple devices
The module also supports iAP profile discovery for connecting BT Audio click to Apple devices like iPods, iPhones or MAC computers.
◾ The RN52 supports HSP/HFP, A2DP, AVRCP and SPP, as well as digital I/O, stereo speaker output, stereo microphone input,up to 11 General Purpose
I/O’s, and 2 LED status outputs.
◾ The HSP/HFP stands for Hands-Free Profile and Headset Profile for an audio connection between Bluetooth on your phone and the headset.
4. Bluetooth range
The BT Audio click has a 10m range in open space, but it might be less indoors, because of all the walls and other kinds of barriers. But it is enough range to
cover your house or apartment, so you can move your phone to the kitchen without losing the connection to the speakers.
BT Audio click communicates with the target board MCU through MikroBUS UART. A green LED indicates that power is on.
The BT Audio click runs on 3.3V power supply only.
Key features
The demo is a GUI application made for the mikromedia+ for STM32F7 with a shield. The Application uses BT Audio library to interface between the touch
screen and click board to play music and make phone calls.
1 void play_btnOnClick()
2 {
3
connection_status_t connection;
4
5
bt_audio_query_connection_status( &connection );
6
if( !connection.A2DP_connection )
7
return;
8
if( music_state_t == PAUSED )
Page 2 of 2
9
10
11
12
13
14
15
16
17
18 }
{
}
bt_audio_pause_play_track();
music_state_t = PLAYING;
if( first_song )
{
get_track_data();
first_song = false;
}
The complete project is available on Libstock (http://libstock.mikroe.com/projects/view/1947/bt-audio-click).
Pinout diagram
This table shows how the pinout on BT Audio click corresponds to the pinout on the mikroBUS™ socket.
Notes
Pin
Pin
Notes
mikroBUStm
Defines baud rate of module
Powers up the module
BAUD
1 AN
PWM 16 CMD
2 RST
INT
POWER_EN 3 CS
4 SCK
5 MISO
X
Puts module in command/data operation
15 FIRST Factory reset
TX
14 RX
RX
13 TX
SCL
12
6 MOSI
SDA 11
+3.3V power input
+3.3V
7 +3.3V
+5V
Ground
GND
8 GND
GND 9 GND
10 NC
This click supports 3.3V only
Ground
Resources
◾
◾
◾
◾
Data sheet (http://ww1.microchip.com/downloads/en/DeviceDoc/70005120A.pdf)
BT Audio URL Demo code / Library (http://libstock.mikroe.com/projects/view/1947/bt-audio-click)
Learn link Multimedia Station Tutorial (http://learn.mikroe.com/rn52-media-station)
mikroBUS™ standard specifications (http://www.mikroe.com/mikrobus/)
Retrieved from "http://docs.mikroe.com/index.php?title=BT_Audio_click&oldid=1972"
Category: Home page
◾ This page was last modified on 10 November 2016, at 17:45.
◾ Content is available under Creative Commons Attribution unless otherwise noted.
http://docs.mikroe.com/index.php?title=BT_Audio_click&printable=yes
12/13/2016
很抱歉,暂时无法提供与“MIKROE-2399”相匹配的价格&库存,您可以联系我们找货
免费人工找货