background image

 2016

 Microchip Technology Inc.

D

S

5

0002547A-p

age 49

B.4

RN4871 PICtail SCHEMATIC

Figure B-2

 shows the schematic for the RN4871 PICtail™/PICtail Plus Daughter board.

FIGURE B-2:

RN4871 PICtail SCHEMATIC

P12

P13

RTS

CTS

TX

RX

GP0

GP1

GP2

GP3

GP4

GP5

GP6

GP7

D-

D+

CTS

RTS

GP0

GP1

GP2

GP7

GP6

GP5

GP4

GP3

D+

D-

RX

TX

nRST

nRST

HCI_RXD

HCI_TXD

P00

P36

P00

P36

HCI_RXD

HCI_TXD

RST_N

PushLow

PushHigh

PushLow

PushHigh

P20

RST_N

P02

P16

P13

P12

P17

P27

P02

P20

RST

_

N

P0

0

P3

6

HCI

_

RXD

HCI

_

T

X

D

P1

6

P13

P12

P17

P27

P20

HCI_TXD

HCI_RXD

P12

P13

P17

P16

P36

P20

P27

P02

RST_N

P00

P17

P12

P13

P16

P36

RST_N

HCI_TXD

HCI_RXD

P20

P27

P02

P00

GP0

GP2

GP6

GP7

P16

P17

P12

P13

0.1uF

16V

0603

C20

RS-282G05A-SM_RT

SW5

330R

0402

1%

R28

RS-282G05A-SM_RT

SW2

2k

0805

1%

R13

1

1

2

3

4

5

6

7

8

HDR-2.54 Male 2x4

J2

11
2

HDR-2.54 Male 1x2

JP8

2
3

1

4
5
6

TACT DPST

SW6

RS-282G05A-SM_RT

SW4

YELLOW

LED5

RB2/SS1/AN2

1

RF2/U1RX_E

2

RF6/SCK1

3

RF3/U1TX_E

4

RF7/SDI1_E

5

RG2/SCL1

6

RD0/RF8/SDO1_E

7

RG3/SDA1

8

GND

9

GND

10

RB0/AN0

11

RB1/AN1

12

RB3/AN3

13

RB4/AN4

14

GND

15

GND

16

RE9/INT2

17

RE8/INT1

18

RD14/U1CTS_E

19

RD15/U1RTS_E

20

3.3V

21

3.3V

22

5V

23

5V

24

9V

25

9V

26

RG0

27

RF0

28

RG1

29

RF1

30

GF1

1

2
3

4

5

6

7

8

HDR-2.54 Male 1x8

JP10

1234

HDR-2.54 Male 1x4

JP5

1uF

10V

0402

C31

300R

FB2

0.1uF

16V

0603

C24

1

1

2

3

4

5

6

7

8

HDR-2.54 Male 2x4

J3

330R

0402

1%

R27

1

2

3

4

5

6

7

8

9

10

HDR-2.54 Female 2x5

CN4

4.7k

0603

1%

R25

47uF

16V

TANT-C

C12

YELLOW

LED4

4.7k

0603

1%

R8

1uF

10V

0402

C32

1

1 2

HDR-2.54 Male 1x2

JP12

2.2k

0402

1%

R10

RS-282G05A-SM_RT

SW1

1

2

DIP 1 SPST

SW7

RS-282G05A-SM_RT

SW8

RS-282G05A-SM_RT

SW3

1

1

2

3

4

5

6

HDR-2.54 Male 2x3

J1

330R

0402

1%

R26

1

2

3

4

5

6

7

8

9

10

11

12

13

14

15

16

17

18

19

20

21

22

23

24

25

26

27

28

HDR-2.54 Male 2x14

JP14

BLUE

LED1

P0_0

11

RST

10

P2_7

15

GND

13

GND

2

P1_2

3

UART_TX

8

P1_6

6

P2_0

16

UART_RX

7

P1_7

5

P1_3

4

P3_6

9

BT_RF

1

VBAT

14

P0_2

12

51

FP1

YELLOW

LED3

11

2

HDR-2.54 Male 1x2

JP6

300R

FB1

GND

1

VIN

3

VOUT

2

MCP1700/3.3V

U2

1

1 2

HDR-2.54 Male 1x2

JP13

ID

4

VBUS

1

GND

5

D-

2

D+

3

0

USB2.0 MICRO-B FEMALE

P1

1

2

3

4

5

6

HDR-2.54 Male 1x6

J12

1k

0805

1%

R24

RST

4

GP7/TxLED

5

GP6/RxLED

6

GP5

7

GP4

8

GP3

9

GP2

14

GP1/USB-CFG

15

GP0/SSPND

16

CTS

13

RTS

11

RX

12

TX

10

VD

D

1

VSS

20

OSC1

2

OSC2

3

D+

19

D-

18

VUSB

17

RST

GP7/TxLED

GP6/RxLED

GP5

GP4

GP3

GP2

GP1/USB-CFG

GP0/SSPND

CTS

RTS

RX

TX

VD

D

VSS

OSC1

OSC2

D+

D-

VUSB

MCP2200

U10

1

2
3

4

HDR-2.54 Male 1x4

JP7

CR2032

1

2

HOLDER 1xCR2032

SK1

1

1

2

3

4

5

6

7

8

HDR-2.54 Male 2x4

J10

4.7k

0402

1%

R29

330R

0402

1%

R30

YELLOW

LED2

330R

0402

1%

R2

1uF

10V

0402

C27

GND

1

VIN

3

VOUT

2

MCP1700/3.3V

U11

RED

LED6

1

1

2

3

4

5

6

7

8

HDR-2.54 Male 2x4

J14

3V3_I2C

USB_5V

3V3_I2C

3V3_I2C

VBAT

VBAT

3V3_I2C

BAT

USB_5V

USB_3V3

VBAT

BAT

USB_3V3

PIC_3V3

VBAT

VBAT

VBAT

VBAT

VBAT

VBAT

PIC_3V3

PIC_3V3

VBAT

USB_5V

MCP_3V3

MCP_3V3

MCP_3V3

MCP_3V3

USB to UART

&RQYHUWHU

I2C Interface

Micro USB

USB
Reset

USB UART

USB GPIO

Module Test Interface

VBAT/Ground Test Connector

LED for I/O Test

I2C
Power

I/O for
I2C Reset

PIC

WDLO

 Interface

Coin Cell Battery CR2032

USB_3V3

Power Source Option

Coin Cell

USB_3V3

PIC_3V3

51

Power Switch Test Button

Connect to
I/O for
Switch Test

Configuration

Test Buttons

ON

OFF

ON

OFF

Reset Button

MODE

P20

Test Mode

APP Mode

UART_CTS

UART_RTS

UART_TXD

UART_RXD

APP Default

MCP2200_3V3

12pF

50V

0402

C21

12pF

50V

0402

C19

12MHz

X1

470R

R21

10k

R20

0.1uF

16V

C23

2.2k

0402

1%

R11

10uF 10V

0603

C30

1uF

16V

0603

C17

1uF

16V

0603

C28

1uF

16V

0603

C29

4.7uF

10V

0603

C8

4.7uF

10V

0603

C10

1

2
3

4

5

HDR-2.54 Male 1x5

J11

1234

5

HDR-2.54 Male 1x5

J13

JR1

JR2

JR3

JR4

Содержание RN4870

Страница 1: ...2016 Microchip Technology Inc DS50002547A RN4870 71 PICtail PICtail Plus Daughter Board User s Guide...

Страница 2: ...eceived ISO TS 16949 2009 certification for its worldwide headquarters design and wafer fabrication facilities in Chandler and Tempe Arizona Gresham Oregon and design centers in California and India T...

Страница 3: ...opment evaluation tool complies with EU RoHS2 Directive 2011 65 EU This development evaluation tool when incorporating wireless and radio telecom functionality is in compliance with the essential requ...

Страница 4: ...RN4870 71 PICtail PICtail Plus Daughter Board User s Guide DS50002547A page 4 2016 Microchip Technology Inc NOTES...

Страница 5: ...g ASCII Commands 21 3 4 Connecting to the RN4870 71 Using SmartDiscover App 22 3 5 Creating Custom GATT Services 24 3 6 Accessing GATT Service Using UART Commands and SmartDiscover App 25 3 7 Reading...

Страница 6: ...il Schematic 49 B 5 RN4871 PICtail BOM 50 B 6 RN4870 Sensor Board Schematic 52 B 7 RN4870 Sensor Board BOM 52 Appendix C Bluetooth Low Energy Primer C 1 GAP Roles Peripheral and Central 53 C 2 GATT Se...

Страница 7: ...the Sensor board Chapter 3 Quick Start Guide This chapter describes how to connect the RN4870 71 PICtail PICtail Plus Daughter board to the Host PC via USB and connecting and communicating with a sma...

Страница 8: ...T Appendix A Updating PICtail Firmware This appendix shows the steps to update the firmware on the RN4870 71PICtail PICtail Plus Daughter board Appendix B Schematics and BOM This appendix shows the sc...

Страница 9: ...dialog button Click OK A tab Click the Power tab N Rnnnn A number in verilog format where N is the total number of digits R is the radix and n is a digit 4 b0010 2 hF1 Text in angle brackets A key on...

Страница 10: ...releases and archived software General Technical Support Frequently Asked Questions FAQs technical support requests online discussion groups Microchip consultant program member listing Business of Mi...

Страница 11: ...ical Support Customers should contact their distributor representative or field application engineer FAE for support Local sales offices are also available to help customers A listing of sales offices...

Страница 12: ...RN4870 71 PICtail PICtail Plus Daughter Board User s Guide DS50002547A page 12 2016 Microchip Technology Inc NOTES...

Страница 13: ...are available on Apple AppStore and Google Play Store and include SmartDiscover SmartData BLESensorApp For more information on the RN487x commands and specifications refer to the Blue tooth 4 2 Low E...

Страница 14: ...tail Plus Daughter board has the following features Fully certified Bluetooth Low Energy 4 2 RF module 2 dBm maximum TX power On Board Dual In Line Package DIP switch block to set operating modes PICt...

Страница 15: ...il PICtail Plus Daughter Board RN4871 PICtail PICtail Plus Daughter Board Sensor Board 2 2 RN4870 PICtail PICtail PLUS DAUGHTER BOARD Figure 2 1 shows the interfaces of the RN4870 PICtail PICtail Plus...

Страница 16: ...USB host LED6 14 SPI Serial Flash Interface J4 15 UART connections J3 RTS CTS jumpers must be closed when hardware flow control is enabled on module 16 Status indicator LED LED1 for blink rate descri...

Страница 17: ...than the full size RN4870 module For the specific pinouts of the RN4870 and the RN4871 modules refer to the Bluetooth 4 2 Low Energy Module Data Sheet DS50002489 Although the module sizes are differen...

Страница 18: ...r the RN4870 PICtail PICtail Plus Daughter board to demonstrate digital and analog IO capabilities over Bluetooth Low Energy connections In order to use the Sensor board with the RN4870 it must be con...

Страница 19: ...ng the Sensor board The files can be downloaded from the www microchip com RN4870 product page 3 2 CONNECTING THE RN4870 71 PICtail PICtail PLUS DAUGHTER BOARD TO A HOST PC To connect the RN4870 71 PI...

Страница 20: ...ATOR 4 Enter Command mode by sending the command escape sequence Press ing the dollar sign three times puts the RN4870 71 into Command mode and CMD prompt is displayed When interacting directly with t...

Страница 21: ...ing Bluetooth SmartDiscover App The SmartDiscover App is available for iOS devices on Apple AppStore Check the Google Play Store for Android version To enable built in services and connect to the RN48...

Страница 22: ...this example the Bluetooth is set to BLE C071 e Verify that the services field is set to C0 refer to Figure 3 5 FIGURE 3 5 CONFIRM NEW SETTINGS IN COMMAND MODE 3 4 CONNECTING TO THE RN4870 71 USING S...

Страница 23: ...evice name is BLE C071 as shown in Figure 3 7 5 Click the RN4870 71 device from the list to initiate a connection 6 Ensure that the connection is established The GATT service view is illustrated in Fi...

Страница 24: ...he product web page at www microchip com RN4870 1 Connect the RN4870 PICtail to the host PC USB port a Using Terminal Emulator open the COM port to the RN4870 71 module b Type to enter Command mode c...

Страница 25: ...F636869702D524E34383730 with three characteristics identified by low order bytes C501 C502 and C503 from the 128 bit UUID A 16 bit handle is assigned to each characteristic Handles are used to referen...

Страница 26: ...RN4870 71 PICtail PICtail Plus Daughter board configured with the private GATT as shown in Section 3 5 Creating Custom GATT Services In this example the device BLE C071 is used Follow the steps in Fi...

Страница 27: ...ess peripheral IO on the Sensor board connected to the RN4870 PICtail as illustrated in Figure 3 13 1 Connect the Sensor board to the RN4870 PICtail as shown in Figure 1 1 2 Set Factory Default to def...

Страница 28: ...2016 Microchip Technology Inc FIGURE 3 13 RN4870 PINS USED BY SENSOR BOARD INTERFACE 4 After the IO ports are configured and the module is rebooted perform the com mands shown in Figure 3 14 to read...

Страница 29: ...s The critical function of associating GATT characteristic with a peripheral is performed by the RN4870 scripting capability The RN4870 can be configured manually by following the instructions in Sect...

Страница 30: ...4 1 RN4870 MODULE SETTINGS CONFIGURATION 4 3 SENSOR BOARD GATT SERVICE The data from the RN4870 peripheral IO are stored in the characteristics of a custom GATT service accessed by the Sensor Board B...

Страница 31: ...SENSOR BOARD GATT SERVICE DECLARED IN RN4870 Figure 4 2 illustrates that a custom GATT service has been created in the RN4870 module A 16 bit handle is assigned to each characteristic where each char...

Страница 32: ...is displayed in Section D 1 3 Sensor Board Script It can be copied to the clipboard and pasted in UART using TeraTerm Similarly the PC Utility can load it into RN4870 To load the Sensor board script m...

Страница 33: ...URE 4 4 COMPLETED SENSOR BOARD SCRIPT f Enter command R 1 to reboot the RN4870 module After the reboot the Sensor board is ready to use The script event handlers can be seen on the TeraTerm display as...

Страница 34: ...igure 4 5 FIGURE 4 6 BLESENSORAPP ICON The BLESensorApp requires the Sensor board to be configured as described in Section 4 2 4 4 1 Ensure that the Sensor board is attached to the RN4870 PICtail as s...

Страница 35: ...e BLESensorApp where the App updates the Graphical User Interface GUI BLE data can also be transferred from the BLESensorApp to the RN4870 module and later processed by the script to write a received...

Страница 36: ...of the extracted folder include the RN4870 71 Provision Utility executable the RN4870 71 Provision Utility Help files and the example configuration XML files This utility requires the MCP2200 USB UAR...

Страница 37: ...ision options for the RN4870 module are provided Choose the RN4870_Sensors_Demo_1 xml XML file from the Provision File drop down menu as shown in Figure 4 10 FIGURE 4 10 CONFIGURATION UTILITY SELECT X...

Страница 38: ...G MODULE 10 After the provisioning process is completed an information dialog window pops up to inform about the successful provisioning of the RN4870 module Refer to Figure 4 12 FIGURE 4 12 CONFIGURA...

Страница 39: ...T The PICtail interface can also be used to access the UART and the GPIOs on the RN4870 71 module 5 2 USING BM7X CONFIGURATION LIBRARY WITH PICtail BOARD The RN4870 71 PICtail plugs into the Explorer...

Страница 40: ...put port available on the Explorer Development board FIGURE 5 1 EXPLORER 16 DEVELOPMENT BOARD WITH RN4870 PICtail PLUS FIGURE 5 2 EXPLORER 16 DEVELOPMENT BOARD WITH RN4870 PICtail PLUS Note On the Exp...

Страница 41: ...RN4870 71 configuration by inserting break points into the work space or by optionally using the debug UART port 2 Download and install the BtChat_V1 0 3 apk file on the Android device from the BM7x...

Страница 42: ...RN4870 71 PICtail PICtail Plus Daughter Board User s Guide DS50002547A page 42 2016 Microchip Technology Inc NOTES...

Страница 43: ...ing steps 1 Download the firmware zip file from the product web page and extract the con tents The zip file contains the isupdate exe utility and a folder including the firmware images 2 Connect the P...

Страница 44: ...ick the Disconnect button to close the COM port The port disconnect mes sage is displayed as indicated in Figure A 2 FIGURE A 2 DISCONNECT ISUPDATE COM FROM MODULE 9 Set SW7 to the 1 position for Appl...

Страница 45: ...Appendix B Schematics and BOM B 1 INTRODUCTION This appendix provides the schematics and the Bill of Materials BOM for the RN487x PICtail PICtail Plus Daughter board RN4870 PICtail Schematic RN4870 P...

Страница 46: ...P31 P32 P33 P34 P35 P02 RB2 SS1 AN2 1 RF2 U1RX_E 2 RF6 SCK1 3 RF3 U1TX_E 4 RF7 SDI1_E 5 RG2 SCL1 6 RD0 RF8 SDO1_E 7 RG3 SDA1 8 GND 9 GND 10 RB0 AN0 11 RB1 AN1 12 RB3 AN3 13 RB4 AN4 14 GND 15 GND 16 R...

Страница 47: ...103 08 L D 3 J2 J3 J10 CON HDR 2 54 Male 2x4 Gold 5 84MH TH VERT Samtec TSW 104 08 L D 1 J4 CON HDR 2 54 Male 1x6 Gold 5 84MH TH VERT FCI 68001 106HLF 1 J8 CON HDR 2 54 Male 2x14 Gold 5 84MH TH R A Su...

Страница 48: ...SW6 SWITCH TACTILE PUSH ON OFF 6 PIN ROKI ELECTRONICS CO LTD PS07 22L PF 1 SW7 SWITCH DIP 1 SPST 24V 25 mA 418117270901 SMD Wurth Electronics Inc 4 18117E 11 1 X1 CRYSTAL 12MHz 8 pF SMD NX3225SA NDK N...

Страница 49: ...16 17 18 19 20 21 22 23 24 25 26 27 28 HDR 2 54 Male 2x14 JP14 BLUE LED1 P0_0 11 RST 10 P2_7 15 GND 13 GND 2 P1_2 3 UART_TX 8 P1_6 6 P2_0 16 UART_RX 7 P1_7 5 P1_3 4 P3_6 9 BT_RF 1 VBAT 14 P0_2 12 51...

Страница 50: ...1R 10 1 J1 CON HDR 2 54 Male 2x3 Gold 5 84MH TH VERT Samtec TSW 103 08 L D 4 J2 J3 J10 J14 CON HDR 2 54 Male 2x4 Gold 5 84MH TH VERT Samtec TSW 104 08 L D 2 J11 J13 CON HDR 2 54 Male 1x5 Tin 5 84MH TH...

Страница 51: ...M RT C K Components RS 282G05A3 SM RT 1 SW6 SWITCH TACTILE PUSH ON OFF 6 PIN ROKI ELECTRONICS CO LTD PS07 22L PF 1 SW7 SWITCH DIP 1 SPST 24V 25 mA 418117270901 SMD Wurth Electronics Inc 418117270901 1...

Страница 52: ...3386P 1 203TLF 1 R2 RES TKF 12k 1 1 10W SMD 0603 Yageo RC0603FR 0712KL 1 R3 RES TKF 100R 1 1 10W SMD 0603 Panasonic ERJ 3EKF1000V 1 S1 SENSOR PHOTOCELL 27 60KOHM Advanced Photonix Inc PDV P8104 1 SW1...

Страница 53: ...service On the other hand devices that acquire data from their peer are called Client Each service and its characteristics can be identified by their Universally Unique Iden tifier UUID The UUID can b...

Страница 54: ...be performed using RN4870 CHR and CUR commands Notifications and Indications are unsolicited updates sent from the GATT server to the GATT client The GATT client must enable the Notification and Indic...

Страница 55: ...GATT service RN4870 Module Settings RN4870 Sensor Board GATT Service Sensor Board Script D 1 1 RN4870 Module Settings WP WC PZ S RN4870 SR 4040 SS 80 SW 01 00 SW 02 00 SW 03 00 SW 04 09 R 1 D 1 2 RN4...

Страница 56: ...SM 2 0000 SM 1 0002 0078 FUNC1 FUNC1 1 1 PM1 PM2 DISCON SM 1 0000 SM 2 0000 SM 3 0000 R 1 CONN SM 1 0000 SM 2 0000 SM 3 001A TMR1 IA Z IA FF CD00FE14AD11CF40063F11E5BE3E0002A5D5C51B000C000D SM 2 000F...

Страница 57: ...7 5980 5118 China Xian Tel 86 29 8833 7252 Fax 86 29 8833 7256 ASIA PACIFIC China Xiamen Tel 86 592 2388138 Fax 86 592 2388130 China Zhuhai Tel 86 756 3210040 Fax 86 756 3210049 India Bangalore Tel 91...

Страница 58: ...Mouser Electronics Authorized Distributor Click to View Pricing Inventory Delivery Lifecycle Information Microchip RN 4870 SNSR RN 4871 PICTAIL...

Отзывы: