sparkfun RN-52 User Manual Download Page 3

iAP

- This is the iPod Accessory Protocol, and it allows you to 

connect the module to any Apple devices such as iPhones, iPods, 
and Mac laptops and computers.

*Note:

Multiple profiles can be implemented at once. The default settings 

are set to have all profiles discoverable.

Range

The RN-52 is a Class 2 Bluetooth device, meaning that the range of the on 
board antenna is about 

10m

. Thus, you should be able to stream audio to 

the module from about 32 ft in open air. If you are streaming through walls 
or windows, that range will diminish.

Wireless Audio

The RN-52 is different than other Bluetooth modules in that it can stream 
audio. It does this via an on-board Digital Signal Processing (DSP) chip. 
When streaming audio 

to

the RN-52, the DSP converts the radio waves 

sent from the transmitter device (phone, computer, etc.) into electrical 
signals that can then be sent to the amplifier and then to your audio output 
(speakers/headphones). When streaming audio 

from

the module, it 

converts the electrical signals from the audio input device (mic/line-in) to 
radio waves for the receiver device (stereo, computer, phone).

Many people ask why it isn’t possible to send audio over just any old 
Bluetooth connection. The lack of an on-board DSP is the main reason 
most “regular” modules cannot support audio streaming.

Communication

Aside from a wireless Bluetooth connection, the RN-52 has four paths on 
which it can communicate to outside devices: UART, USB, SPI, and PCM. 
We’ll discuss these in more depth in the next section.

The RN-52 Breakout

There is a lot going on with the RN-52 breakout board. Let’s break it up into 
sections to find out what pins are needed for what purposes.

Page 3 of 14

Summary of Contents for RN-52

Page 1: ...ss signals into audio and vice versa The module is easy to configure with both ASCII commands and GPIO It can function as a stand alone module or it can be incorporated with a microprocessor to create...

Page 2: ...ou to configure the device over a UART serial connection This can also be used to send commands to the module from a microcontroller HFP HSP Support of both Hands Free Profile and Headset Profile mean...

Page 3: ...converts the radio waves sent from the transmitter device phone computer etc into electrical signals that can then be sent to the amplifier and then to your audio output speakers headphones When stre...

Page 4: ...oltage should be in the 3 0 3 6V range 2 GPIO Pins The RN 52 has eleven general purpose input output pins GPIO Many of these pins are reserved for special functions when the module is booted up and wh...

Page 5: ...lso be used to connect the module to an external microcontroller that issues commands and handles status updates 4 USB The USB lines are strictly used for device firmware update DFU mode Used in conju...

Page 6: ...e SPI lines 8 PCM Another option for communicating with the module is the Pulse Code Modulation PCM pins PCM is a way to digitally represent sampled analog signals This is done over an I S connection...

Page 7: ...kout Another option and the one that will be used in all the demos in this tutorial is to solder straight male headers to the breakout so that it can be used in a breadboard Note The RN 52 breakout is...

Page 8: ...red even if power is already supplied This is useful in headset hands free applications where a battery is attached to the module but the module doesn t need to be on all the time Hold down the moment...

Page 9: ...begin flashing alternately 4 Your device is now ready to make a connection Rather than connect over Bluetooth the connection will be made over the serial UART 5 Open a terminal window on the port you...

Page 10: ...lt name is RN52 xxxx where the last four numbers are the same last for numbers of the RN 52 s address If you only have one RN 52 you can change the name to whatever you d like If you have multiple RN...

Page 11: ...e RN 52 all terminate with a carriage return r not with a carriage return line feed If you keep seeing after every command you enter there should be a setting in your serial terminal to turn on just c...

Page 12: ...th the AVRCP buttons disabled Future versions of the firmware may differ Looking in the Command Specifications document we find this table EK is the Evaluation Kit Roving Networks sells and comes with...

Page 13: ...volume needs to be cranked up to achieve normal indoor volume If you re not satisfied with the volume an external amp can be connected to the speaker pins We recommend using the Audio Amplifier Kit Re...

Page 14: ...ll the hardware files and info This site is a handy Bluetooth Class of Device CoD generator For more tutorial action check out these related tutorials BC127 Audio Bluetooth Hookup Guide Interactive Ha...

Reviews: