background image

4 System overview

Doc. ID 4414_003 v1.2

Page 19

4.1 Remote control

The flexibility of the remote control allows you to experiment with your own firmware and functionality. After

pairing, the trackpad, accelerometer, and free-space navigation can be enabled and calibrated.

Important: 

 Gyroscope calibration is performed automatically the first time the firmware is run on the

hardware.

4.1.1 Pairing

When the remote control is turned on, it will attempt to connect to a bonded 

Bluetooth

®

 low energy

compatible master if bonds are available. Otherwise it will be in pairing mode and will wait for connection

from host.
The Smart Remote 3 features the HID-over-GATT profile and can connect to any 

Bluetooth

®

 low energy host

system supporting this profile. The HID-over-GATT profile is a direct mapping from the USB HID standard. In

addition to controlling how the HID data is transferred through the wireless link, the profile requires the use

of 

Bluetooth

®

 device security. Security and data encryption are handled by the 

Bluetooth

®

 Security Manager,

which is a 

Bluetooth

®

 protocol layer handled by nRF51822. On the master side of the 

Bluetooth

®

 link, the

Security Manager is handled in the 

Bluetooth

®

 driver stack.

If no bonds are stored in flash, the remote control will start to advertise to Smart Ready devices for pairing

when it is turned on. When Smart Remote 3 is in this advertising state, the 

Bluetooth

®

 host platform should

be instructed to start scanning for and then to connect to it. During this initial connection an encrypted link is

configured by nRF51822 and the host transmits HID commands to the Smart Remote 3 according to the HID-

over-GATT profile.
The remote control will stay in bond mode for 180 seconds waiting for a 

Bluetooth

®

 connection. If no

connection is established, the remote control will enter deep sleep. Bonding mode will be resumed upon user

activity.
Although the specifics of the pairing process may differ between platforms, the main steps remain the same.

1.

Scan for Smart Remote 3.

2.

Connect to Smart Remote 3.

3.

Bond/pair with Smart Remote 3.

Read more about 

Bluetooth

®

 low energy and HID- over-GATT at 

developer.bluetooth.org

.

4.1.2 Trackpad

The trackpad has five-point multi-touch functionality and advanced gesture recognition, making it a versatile

interface device for the remote control.
The trackpad is a 

Synaptics

®

 ClickPad. It is identified as a standard mouse by your computer and does not

require any special software application to work.

Basic use

To use the trackpad, place one of your fingers on the surface of the pad as shown in 

Figure 3: One-finger

movement

 on page 20. As you move your finger along the trackpad surface, you should see the mouse

cursor on your computer screen moving according to the movement of your finger.

Содержание nRF6932

Страница 1: ...Doc ID 4414_003 v1 2 2017 07 04 nRFready Smart Remote 3 for nRF51 User Guide v1 2...

Страница 2: ...e recognition 16 3 7 2 Listening to audio quality 17 Chapter 4 System overview 18 4 1 Remote control 19 4 1 1 Pairing 19 4 1 2 Trackpad 19 4 1 3 Accelerometer 21 4 1 4 Free space navigation 22 4 1 5 I...

Страница 3: ...6 3 3 Low power accelerometer circuit 47 6 3 4 Motion tracking device 48 6 3 5 Power supply 49 6 3 6 Codec 50 6 3 7 Programming interface 51 6 3 8 Matching network 52 6 3 9 Antenna 52 6 3 10 Schemati...

Страница 4: ...14_003 v1 2 Page 4 Revision history Date Version Description July 2017 1 2 Updated Chapter Hardware description Smart Remote 3 DK add on on page 27 December 2016 1 1 Created PDF December 2015 1 0 Firs...

Страница 5: ...wer and low cost applications and leverages both Bluetooth low energy and 2 4 GHz proprietary protocols Important The Smart Remote 3 DK add on nRF6932 v1 2 and later is compatible with both nRF51 and...

Страница 6: ...w power accelerometer 3D motion tracking using gyroscope and InvenSense motion library Voice input using an analog electrostatic microphone Optimized power management for low power consumption Powered...

Страница 7: ...s of hardware and access to software components reference design files and documentation 2 1 Hardware content nRFready Smart Remote 3 reference design hardware consists of the DK add on product exampl...

Страница 8: ...es for Keil ARM IAR and ARM GCC S110 SoftDevice Nordic Voice System NVS package version 4 4 requires Ubuntu 14 04 LTS Firmware documentation will be available in a folder on your computer after you ha...

Страница 9: ...g is needed to set up a computer as the Bluetooth low energy host Basic use Windows 8 Windows RT or Windows 10 for HID over GATT standard functions Linux with Bluetooth 4 0 support for example BlueZ 5...

Страница 10: ...d with the firmware The product example is preprogrammed and does not need any programming to get started 1 Connect the nRF51 DK with DK add on attached to a computer with a USB cable Important When p...

Страница 11: ...witch on the DK to ON position DK add on only 3 Pairing mode is automatically selected if Smart Remote 3 was not bound to a previous host To delete existing bonds and to enter into pairing mode power...

Страница 12: ...st of Bluetooth devices 3 5 Ubuntu setup Ubuntu LTS has no native support for HID over GATT and therefore you have to first install the Nordic Voice System NVS package to support the HID over GATT pro...

Страница 13: ...you start 1 If your computer is not Bluetooth 4 0 enabled insert the Bluetooth dongle supplied into your computer and wait until the dongle is recognized and the drivers installed properly 2 Power up...

Страница 14: ...h for a new device click the button in the Bluetooth window 6 When discovered you will see Smart Remote 3 in the Device list Select it and click Continue to begin pairing 7 After successfully pairing...

Страница 15: ...ured before voice recognition will work Before you start make sure that you have set up Ubuntu as described in Ubuntu setup on page 12 1 Under All Settings select Sound and then select the Input tab 2...

Страница 16: ...e and type Google Chrome Click the Google Chrome icon that is displayed 2 Go to google com If you are redirected to a local Google version click Google com in the lower right corner of the webpage 3 C...

Страница 17: ...ck Some machines do not accept the command and may return error codes In that case just invoke module loopback without specifying latency 3 If successful this command returns a handle number Invoking...

Страница 18: ...ication in the system is digital and packet based which means that data between the remote control and the host is exchanged as discrete packets of information The nRF device checks the status of the...

Страница 19: ...Smart Ready devices for pairing when it is turned on When Smart Remote 3 is in this advertising state the Bluetooth host platform should be instructed to start scanning for and then to connect to it...

Страница 20: ...ur mouse you can either press down the left side of the trackpad until you feel a button like click or tap the surface of the trackpad anywhere with your finger Common gestures Figure 4 Two finger hor...

Страница 21: ...Figure 4 Two finger horizontal scroll Figure 5 Two finger vertical scroll 4 1 3 Accelerometer When the remote control is in low power sleep mode any user interaction will be detected by the accelerome...

Страница 22: ...ng functionality is only provided as precompiled HEX files To use the SmartMotion library in your design please contact InvenSense or visit the InvenSense Developers Corner sign up required Basic use...

Страница 23: ...ce free space navigation mode is enabled the trackpad functionality changes Moving a finger on the trackpad does not cause the cursor to move but results in a scroll motion similar to the scroll wheel...

Страница 24: ...ee space navigation enabled After a few seconds the cursor will stop moving and you can pick up the Smart Remote and start using the free space navigation feature 4 1 5 Intelligent power saving To sav...

Страница 25: ...acy electronic devices that are only fitted with infrared IR remote control receivers the DK add on is fitted with an IR LED The IR LED and IR protocols are handled by the MCU Important There is no IR...

Страница 26: ...ure 11 Location of the infrared LED on SR 3 product example 4 2 Firmware upgrading The Smart Remote 3 firmware can be freely modified and upgraded See Firmware update of Smart Remote 3 on page 54 for...

Страница 27: ...n contains all the hardware necessary for user interaction including batteries Important The Smart Remote 3 DK add on rev 1 2 and beyond is compatible with both nRF51 and nRF52 DKs For using this add...

Страница 28: ...ion Smart Remote 3 DK add on Doc ID 4414_003 v1 2 Page 28 5 1 Hardware figures Smart Remote 3 DK add on The hardware drawings show both sides of the DK add on board PCA63519 Figure 13 DK add on board...

Страница 29: ...e description Smart Remote 3 DK add on Doc ID 4414_003 v1 2 Page 29 Figure 14 DK add on board PCA63519 back side 5 2 Block diagram The block diagram illustrates Smart Remote 3 DK add on functional arc...

Страница 30: ...iagram 5 3 Design description The design description provides detailed descriptions of Smart Remote 3 DK add on hardware blocks 5 3 1 Trackpad The trackpad is mounted onto the PCA63519 board and conne...

Страница 31: ...3V3 I2C_CLK I2C_CLK_TP I2C_DATA_TP WU_IRQ_TP WU_IRQ 3V3 R32 N C C50 100nF C51 100nF R35 N C 3V3 N C Q4 BC847C R33 N C N C Q5 BC847C R34 N C 3V3 VCCA 1 GND 4 A0 2 A1 3 OE 5 B1 6 B0 7 VCCB 8 U8 FXMA2102...

Страница 32: ...K27 Back K38 TBD K46 Power K8 5 K16 Blue K28 C_Up K47 TBD KEYOUT_1 KEYOUT_2 KEYOUT_3 KEYOUT_4 KEYOUT_5 KEYOUT_6 KEYOUT_7 K19 K20 K29 K30 K31 K39 KEYIN_5 SW1 MB Left SW2 MB Right Figure 18 Keypad matri...

Страница 33: ...O 7 8 U7A SX1509BIULTRT 13 14 15 16 19 20 21 22 GND 17 VCC2 18 U7B SX1509BIULTRT VDDM 12 GND 29 SDA 24 SCL 25 INT 9 RESET 23 ADDR0 26 ADDR1 10 OSCIO 11 U7C SX1509BIULTRT R26 100k VCC VIO SB29 SB30 SB3...

Страница 34: ...ty is configurable to 2 g 4 g 8 g 16 g 5 3 4 Motion tracking device For advanced features the remote control has a three axis gyro integrated with a three axis accelerometer U2 C30 100nF C31 2 2 F C32...

Страница 35: ...Bat1 Bat2 Figure 22 Battery schematic Smart Remote 3 has a switch for turning the power on or off for most of the circuits One transistor is used for this which is controlled by the nRF chip on the n...

Страница 36: ...circuit The infrared LED is driven by a transistor Q3 to offer higher current than the MCU I O can offer Q3 FDV303N R23 2R2 IR_LED SB28 R1 1M0 VIO LD1 IR333C H2 C37 100 F Figure 25 Infrared LED and d...

Страница 37: ...urtenant components 5 3 8 Digital microphones only for use with nRF52 DK The Smart Remote 3 DK add on is equipped with two digital output PDM microphones The microphones are configured so that they ca...

Страница 38: ...t connected P3_6 I2S DOUT ADC audio data P4_1 I2S SCLK Audio data bit clock SB33 P4_2 I2S SCLK Audio data bit clock SB3 P4_3 D2 Connected to D3 P4_4 D3 Connected to D2 P4_5 POWER ON OFF Control signal...

Страница 39: ...s P1 P3 P4 P6 P7 and P8 are used to connect the DK add on to the nRF52 DK Through these connectors all the functionality of the DK add on can be accessed by the nRF52 DK See Table 3 nRF52 DK interface...

Страница 40: ...6_2 ICM 20608 INT Motion tracking device interrupt SB9 P6_3 NC Connected to test point 2 P6_4 IR LED Infrared LED control signal input P6_5 WU IRQ TP interrupt or I O expander interrupt SB11 P6_6 LIS3...

Страница 41: ...meter or an oscilloscope With ampere meter Remove R3 and or R5 Connect an ampere meter between the pins of connector P2 and or P9 This will monitor the current directly With oscilloscope On R3 use the...

Страница 42: ..._DATA I2 C 1 data 5 3 13 Schematics bill of materials PCB layout files production files All hardware files for the Smart Remote 3 DK add on are available in a zip package The hardware files for the Sm...

Страница 43: ...tion including batteries It has a regular remote control keypad matrix as the main input device It features a low power accelerometer and a motion tracking device for implementing customized features...

Страница 44: ...Hardware description Smart Remote 3 nRF51 product example Doc ID 4414_003 v1 2 Page 44 Figure 31 SR 3 product example board PCA20018 front side Figure 32 SR 3 product example board PCA20018 back side...

Страница 45: ...s details about the hardware blocks on the Smart Remote 3 for nRF51 product example 6 3 1 I O usage The nRF51822 QFAA has 31 generic I Os available All I Os are used in this design and are organized a...

Страница 46: ...ypad column 1 P0 21 KEYOUT_2 Output to keypad column 2 P0 22 KEYOUT_3 Output to keypad column 3 P0 23 KEYOUT_4 Output to keypad column 4 P0 24 KEYOUT_5 Output to keypad column 5 P0 25 KEYOUT_6 Output...

Страница 47: ...27 Back K38 TBD K46 Power K8 5 K16 Blue K28 C_Up K47 TBD K19 K20 K29 K30 K31 K39 P0 19 P0 20 P0 21 P0 22 P0 23 P0 24 P0 25 P0 28 P0 08 P0 09 P0 10 P0 11 P0 17 KEYOUT_0 KEYOUT_1 KEYOUT_2 KEYOUT_3 KEYOU...

Страница 48: ...DH C38 10 F C37 100nF C43 100nF I2C address 0x18 I2C_DATA_2 VDD VDD VDD P0 29 P0 05 P0 02 I2C_CLK_2 LIS3DH_INT1 R24 N C R23 0R Figure 35 Accelerometer circuit The accelerometer has I2 C outputs and ca...

Страница 49: ...nd I2 C there are four solder bridges that you need to change SB10 and SB11 have to be soldered and SB8 and SB9 have to be cut This circuit is a 250 per sec 500 per sec 1000 per sec 2000 per sec selec...

Страница 50: ...ge 50 The low power accelerometer is always powered VDD R21 10R VCC C35 100nF C32 100 F 1 2 P2 Pin List 1x2 GND C36 1 0 F C34 100nF C33 22 F Supply filter Current measurement R20 510k Q1A FDG6321C Q1B...

Страница 51: ...7 N C C18 N C SB1 SB2 R5 0R R8 4k3 R9 4k3 Figure 39 Codec and appurtenant components 6 3 7 Programming interface A connector for the ARM SWD interface is included on the product example for easy firmw...

Страница 52: ...on the chip antenna The antenna is tuned to be resonant at 2 44 GHz and the impedance is matched to the 50 output of the balun with the use of two series inductors L1 3 3 nH L2 1 5 nH and a shunt cap...

Страница 53: ...oduct example Doc ID 4414_003 v1 2 Page 53 In this folder you can find the bill of materials schematics and PCB layout files in PDF format Altium Designer files and production files assembly drawings...

Страница 54: ...sed through a 10 pin connector P1 on the product example To be able to program and debug the product example needs to be connected to a SEGGER J Link device In this user guide we will use the nRF51 De...

Страница 55: ...separate binary For more information see the S110 SoftDevice Specification In this chapter we describe how to program and erase the S110 SoftDevice or another application HEX file on the nRF51822 chip...

Страница 56: ...rmation When you select a board nRFgo Studio identifies the nRF chip and how its memory is organized Table 7 Chip and memory information displayed in nRFgo Studio Chip and memory information Descripti...

Страница 57: ...ication nRFgo Studio tries to identify the firmware located in the chip at Region 0 For the firmware that it recognizes it displays the ID in clear text for the unrecognized firmware it displays the F...

Страница 58: ...nRF5x 7 8 Programming application This function lets you program an application onto the chip Before you start perform the steps in Selecting a board to program on page 56 Before nRFgo Studio starts...

Страница 59: ...isable readback protection of the entire chip If you enable readback protection you will have to do an Erase all to reprogram the chip again A chip that is programmed with Lock entire chip from readba...

Страница 60: ...rdic Semiconductor products are not designed for use in life support appliances devices or systems where malfunction of these products can reasonably be expected to result in personal injury Nordic Se...

Страница 61: ...All rights reserved Reproduction in whole or in part is prohibited without the prior written permission of the copyright holder...

Отзывы: