![sparkfun RN-52 Скачать руководство пользователя страница 8](http://html1.mh-extra.com/html/sparkfun/rn-52/rn-52_user-manual_1339608008.webp)
In this example, we’ll be using an Breadboard Power Supply to provide
3.3V to the breakout. If you would like to power the breakout with a battery,
make sure the battery can provide the correct amount of voltage. We
recommend using a LiPo Battery in conjunction with the LiPower board set
for 3.3V.
As usual, connect the GND pin to GND, and connect the 3.3V pin to the
Vcc pin on the supply. That just leaves the power enable pin (PWR_EN).
This can be hooked up one of two ways. The first method is to simply
jumper the PWR_EN pin to 3.3V. This will cause the module to start up
immediately once it is powered.
Make this connection on the breadboard, or solder a small jumper wire.
The PWR_EN pin can also be attached to a button to allow the user to
power up the module when it is desired, 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 momentary push button, and, after about 1 second, the RN-
52 will power up. Then release the push button.
GPIO9
GPIO9 is used to tell the module to enter command mode. If GPIO9 is
HIGH or left floating, the module will remain in its default data mode,
streaming audio or data. In order to enter command mode,
GPIO9 must be
pulled LOW
. This can be accomplished by simply connecting GPIO9 to
GND with a jumper wire. In this example, a switch is used to easily enter
and exit command mode.
UART
You will need a way to communicate to the module and send commands.
This will be accomplished with a 3.3V FTDI Basic. Connect GND to GND,
TXO to UART_RX, and RXI to UART_TX. Those are the only connections
needed to talk to the module.
With that, you should have something that looks like this:
Page 8 of 14