Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revision | |||
| pmod:pmodbt2:reference-manual [2022/09/13 17:19] – changed forum.digilentinc.com to forum.digilent.com jeff.greenberg_ni.com | pmod:pmodbt2:reference-manual [2022/10/04 11:38] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| + | ====== Pmod BT2 Reference Manual ====== | ||
| + | The Digilent Pmod BT2 (Revision A) is a powerful peripheral module employing the Roving Networks RN-42 to create a fully integrated Bluetooth interface. | ||
| + | {{Digilent Image Gallery | ||
| + | | image = {{: | ||
| + | | image = {{: | ||
| + | | image = {{: | ||
| + | | image = {{: | ||
| + | }} | ||
| + | |||
| + | == Download This Reference Manual == | ||
| + | * {{: | ||
| + | |||
| + | ---- | ||
| + | |||
| + | ===== Features ===== | ||
| + | * Bluetooth 2.1/ | ||
| + | * Add wireless capability with this low power, Class 2 Bluetooth radio | ||
| + | * Supports SPP profile for emulating a point to point wired " | ||
| + | * Secure communications, | ||
| + | * 12-pin Pmod port with UART interface | ||
| + | |||
| + | ---- | ||
| + | |||
| + | =====Functional Description ===== | ||
| + | The %%Pmod BT2%% uses a 12-pin Pmod port and communicates via UART. There is a secondary SPI header on the board for updating the RN-42 firmware if needed, however this port is not used under normal operation. | ||
| + | |||
| + | The typical application for the Pmod BT2 is to replace a wired UART connection between two Bluetooth capable devices. When paired with an Android, Linux, Mac OS X, or Windows computer, the Pmod BT2 looks like a serial COM port similar to how a USB-UART bridge or RS-232 serial port behaves. The Pmod BT2 can be easily configured from the Bluetooth connected computer by entering a " | ||
| + | |||
| + | When used with another Pmod BT2, a wireless UART bridge can be achieved with no need for software configuration of the Bluetooth link. This is accomplished by using the on-board jumper settings to control an automated discovery process of the two Pmod BT2's. In this way you can communicate wirelessly between two embedded devices without complicated software like is required with WiFi or 802.15.4 solutions. Communicate wirelessly with simple serial prints and reads! | ||
| + | |||
| + | Note that due to security restrictions built into iOS, the Pmod BT2 cannot be used with the iPhone, iPad, or other iOS devices. | ||
| + | |||
| + | ---- | ||
| + | ===== Interfacing with the Pmod===== | ||
| + | ===UART/ | ||
| + | The %%Pmod BT2%% communicates with the host board via the [[pmod: | ||
| + | |||
| + | The reset pin (RST) on J1 is active low. If the RST pin is toggled, the device will undergo a hard reset. This hard reset performs similarly to a power cycling of the device. The second interface besides the standard UART signals is the STATUS pin also on J1. The STATUS pin directly reflects the connection status of the device. STATUS is driven high by the device when connected and is driven low otherwise. | ||
| + | |||
| + | ===Jumpers=== | ||
| + | The %%Pmod BT2%% has several settings that are configurable via jumper blocks JP1 through JP4. These jumpers are all sampled in the first 500 ms of operation and configure the RN-42 module' | ||
| + | |||
| + | JP1 restores the device to factory default settings after three transitions of the jumper setting (short-to-open or open-to-short). This only works if JP1 was initially shorted before the Pmod BT2 was powered on. Also, each transition must be separated by a 1 second pause. If done correctly, the LED on the Pmod BT2 will blink rapidly. | ||
| + | |||
| + | JP2 enables pairing with a special device class defined by the user in software. This may be used so that the Pmod BT2 operates as a substitute for an RS232 cable. JP3 enables auto connect to a stored address defined by the user. Finally, JP4 chooses whether to operate at the stored baud rate (115.2kbps default) or a baud rate of 9600 regardless of the software selected rate when shorted. | ||
| + | |||
| + | {{ : | ||
| + | ==== Pinout Description Table ==== | ||
| + | ^ J1 Header Connections | ||
| + | ^ Pin ^ Signal | ||
| + | | 1 | RTS | ||
| + | | 2 | RXD | ||
| + | | 3 | TXD | ||
| + | | 4 | CTS | ||
| + | | 5 | GND | ||
| + | | 6 | VCC | ||
| + | | 7 | STATUS | ||
| + | | 8 | RST | Reset | | ||
| + | | 9 | (NC) | Not Connected | ||
| + | | 10 | (NC) | Not Connected | ||
| + | | 11 | GND | Power Supply Ground | ||
| + | | 12 | VCC | Power Supply (3.3V/ | ||
| + | |||
| + | |||
| + | The %%Pmod BT2%% can be left in the default 'data mode' where the Pmod simply acts as a data pipeline. The on-board RN-42 module will strip out the Bluetooth headers and footers as data is given to the user through the UART header. It will automatically construct the Bluetooth packet when the user provides data to it from the UART port. | ||
| + | |||
| + | Alternatively, | ||
| + | |||
| + | The various modes of operation are accessed by using the “SM,< | ||
| + | |||
| + | Any external power applied to the %%Pmod BT2%% must be within 3.0V and 3.6V; however, it is recommended that Pmod is operated at 3.3V. | ||
| + | ---- | ||
| + | ===== Physical Dimensions ===== | ||
| + | The pins on the pin header are spaced 100 mil apart. The PCB is 1.5 inches (3.81 cm) long on the sides parallel to the pins on the pin header and 0.8 inches (2.032 cm) long on the sides perpendicular to the pin header. The PCB on the RN-42 module extends the length of the PCB from 1.5 inches to 1.75 inches (4.445 cm). | ||
| + | ---- | ||
| + | ===== Additional Information ===== | ||
| + | The schematics of the %%Pmod BT2%% are available {{reference: | ||
| + | |||
| + | If you have any questions or comments about the %%Pmod BT2%%, feel free to post them under the appropriate section (" | ||

