Nordic Semiconductor Thingy:52 Manuel utilisateur

Doc. ID 4433-018 v1.0 2017-06-02
Nordic Thingy:52
User Guide
v1.0

Contents
Doc. ID 4433-018 v1.0 Page 2
Contents
Revision history.................................................................................................................... 4
Chapter1:Introduction...................................................................................5
Chapter2:Key features...................................................................................6
2.1 Power switch...............................................................................................................................................................6
2.2 Button............................................................................................................................................................................ 7
2.3 USB port........................................................................................................................................................................7
Chapter3:Kit content..................................................................................... 9
3.1 Hardware content.....................................................................................................................................................9
3.2 Downloadable content........................................................................................................................................... 9
Chapter4:iOS app.........................................................................................11
4.1 Connecting Thingy.................................................................................................................................................11
4.2 Services....................................................................................................................................................................... 12
4.2.1 Environment............................................................................................................................................ 13
4.2.2 User interface..........................................................................................................................................16
4.2.3 Motion........................................................................................................................................................17
4.2.4 Sound......................................................................................................................................................... 19
4.2.5 Cloud.......................................................................................................................................................... 22
4.3 Thingy Configuration............................................................................................................................................ 23
4.4 Managing Thingy devices................................................................................................................................... 24
4.4.1 Add or remove a Thingy.....................................................................................................................24
4.4.2 Connect or disconnect a Thingy......................................................................................................25
4.5 Over-the-air device firmware update (OTA-DFU).......................................................................................26
Chapter5:Android app.................................................................................29
5.1 Connecting Thingy.................................................................................................................................................29
5.2 Services....................................................................................................................................................................... 31
5.2.1 Environment............................................................................................................................................ 31
5.2.2 User interface..........................................................................................................................................33
5.2.3 Motion........................................................................................................................................................35
5.2.4 Sound......................................................................................................................................................... 37
5.2.5 Cloud.......................................................................................................................................................... 38
5.3 Thingy Configuration............................................................................................................................................ 39
5.4 Managing Thingy devices................................................................................................................................... 40
5.4.1 Add or remove a Thingy.....................................................................................................................40
5.4.2 Connect or disconnect a Thingy......................................................................................................42
5.5 Over-the-air device firmware update (OTA-DFU).......................................................................................42
Chapter6:Web app....................................................................................... 44
6.1 Connecting Thingy.................................................................................................................................................44
6.2 Services....................................................................................................................................................................... 45

Contents
Doc. ID 4433-018 v1.0 Page 3
6.2.1 Environment............................................................................................................................................ 45
6.2.2 Motion........................................................................................................................................................46
6.2.3 User interface..........................................................................................................................................47
6.2.4 Sound......................................................................................................................................................... 48
6.3 Thingy Configuration............................................................................................................................................ 49
6.4 IFTTT.............................................................................................................................................................................50
Chapter7:Hardware description................................................................. 51
7.1 Hardware figures.....................................................................................................................................................51
7.2 Block diagram.......................................................................................................................................................... 52
7.3 MCU..............................................................................................................................................................................53
7.4 I/O expander.............................................................................................................................................................53
7.5 Pin maps.....................................................................................................................................................................54
7.6 Motion sensors........................................................................................................................................................ 56
7.7 Environment sensors.............................................................................................................................................58
7.8 Sound.......................................................................................................................................................................... 60
7.9 LEDs and button..................................................................................................................................................... 61
7.10 Power supply......................................................................................................................................................... 62
7.11 Interface................................................................................................................................................................... 66
Legal notices.......................................................................................................................70

Doc. ID 4433-018 v1.0 Page 4
Revision history
Date Version Description
June 2017 1.0 First release

Doc. ID 4433-018 v1.0 Page 5
Chapter 1
Introduction
The Nordic Thingy:52™ (nRF6936) is a compact, power-optimized, multi-sensor device designed for collecting
environmental data of various types. It is also an easy-to-use development platform, designed to help you
build IoT prototypes and demos, without the need to build hardware or write firmware from scratch.
Thingy is built around the nRF52832 Bluetooth® 5 SoC from Nordic Semiconductor. It connects to Bluetooth-
enabled mobile phones, laptops, tablets, Raspberry Pis and similar devices, and sends data to/from its sensors
and actuators to an app and to the cloud.
Thingy can sense movement, orientation, temperature, humidity, air pressure, light, color, and air quality. It
can also play sound via its speaker and stream sound to the host from its microphone.
The functionality of Thingy can be configured over-the-air via a Bluetooth API. That makes it possible to create
demos and prototypes without actually programming the Nordic Thingy:52 itself, and do all development on
the app or cloud solution. As new versions of the firmware are released, Thingy can be updated over-the-air
using the provided apps. Advanced users can use Thingy as a development kit by building their own firmware
and uploading it onto the board.
This device features a Lithium-Ion battery with a capacity of 1440 mAh.
The battery in this product cannot be easily replaced by users themselves. Batteries should only be removed
by qualified professionals as appropriate due to safety concerns.

Doc. ID 4433-018 v1.0 Page 6
Chapter 2
Key features
The following are the key features of Nordic Thingy:52.
• Highly configurable IoT sensor kit
• All sensors and Bluetooth® low energy (BLE) parameters are configurable through a BLE interface.
• nRF52832 System on Chip (SoC) solution
• Configurable RGB LED and button
• Cloud connectivity
• Example apps for Android and iOS, as well as a web application that uses Web Bluetooth API.
• Environmental sensors
• Temperature
• Humidity
• Air pressure
• Air quality (CO2 and TVOC)
• Color and light intensity
• 9-axis motion sensing
• Tap detection
• Orientation
• Step counter
• Quaternions
• Euler angles
• Rotation matrix
• Gravity vector
• Compass heading
• Raw accelerometer, gyroscope, and compass data
• Sound
• Speaker for playing prestored samples, tones, or sound streamed over BLE (8-bit 8 kHz LoFi)
• Microphone streaming (ADPCM compressed 16-bit 16 kHz)
• Secure Over-the-Air Device Firmware Upgrade (DFU)
• Low power consumption
• All software source code available and documented
2.1 Power switch
To locate the power switch, you must lift the top rubber case of Thingy.

2 Key features
Doc. ID 4433-018 v1.0 Page 7
Figure 1: Power switch
2.2 Button
The Thingy button is located right under the Nordic Semiconductor logo. Press it through the top rubber case.
Figure 2: Button
2.3 USB port
The micro USB port is located on the front side of the device, under a rubber cover. Use it to charge your
Thingy.
Thingy offers no USB connectivity. The micro USB port is only used for charging the device.
Important: The power switch must be on for the battery to charge.

2 Key features
Doc. ID 4433-018 v1.0 Page 8
Figure 3: USB port

Doc. ID 4433-018 v1.0 Page 9
Chapter 3
Kit content
The Nordic Thingy:52 IoT Sensor Kit consists of hardware and access to software components, reference
design files, mobile applications, and documentation.
3.1 Hardware content
Nordic Thingy:52 reference design hardware.
Figure 4: Nordic Thingy:52 hardware content
3.2 Downloadable content
The Nordic Thingy:52 reference design includes firmware source code, documentation, hardware schematics,
and layout files.
To obtain the firmware package, go to the Thingy product page.
Firmware package
• Application firmware for Nordic Thingy:52
• Precompiled HEX files
• Source code
• nRF5 SDK v12.1.0
• S132 SoftDevice
• Firmware documentation

3 Kit content
Doc. ID 4433-018 v1.0 Page 10
Mobile apps
Search for Nordic Thingy in App Store or Google Play, depending on the mobile platform that you want to
use. The web app is available through the Eddystone beacon that is advertised by the Thingy, unless you have
changed the default Eddystone beacon configuration.
Schematics, Bill of Materials, PCB layout files, and production files
The ZIP file and its subdirectories contain the hardware design files for the Nordic Thingy:52 reference design.
The hardware files for the circuit board are located in the following folder in the hardware files ZIP package:
\Thingy52 - Hardware files x_x_x\PCA20020-Thingy52 Board x_x_x.
In this folder, you can find the following hardware design files:
• Altium Designer files
• Schematics and PCB layout files in PDF format
• Bill of Materials
• Production files:
• Drill files
• Assembly drawings
• Gerber files
• Pick and Place files
Other relevant nRF52832 documentation
•nRF52832 Product Specification
•S132 SoftDevice Specification
•nRF52832 Errata
•nRF5 SDK
Table des matières

















