By Gary Sims
The Nordic Thingy:52 is a clever microcontroller development board that showcases what can be done using Nordic’s Bluetooth Low Energy chip, the nRF52832. It is a platform upon which hobbyists and professionals can learn, prototype and develop IoT solutions. So let’s take a look at what it’s capable of and what it can help you build.
The Thingy:52 comes with a whole array of different sensors including a temperature sensor, a humidity sensor, an air pressure sensor, and a 9 axis motion sensor. Nordic also gives away for free the source code needed to build an Android app to communicate with the Thingy:52. There is also the added bonus that it doesn’t come as a geeky looking circuit board, but rather in a very presentable 6×6 cm plastic and rubber case with built-in battery, meaning you can use it to try out IoT ideas without needing to design a consumer version first.
- Read more: Gary Explains
The possibilities for the hobbyist computer enthusiast have never been greater. Smartphones are ubiquitous and come with powerful quad-core or octa-core CPUs, fast GPUs, gigabytes of RAM and gigabytes of storage. With some programming knowledge you can develop games and apps for your smartphone using free tools downloaded from the Internet. But it doesn’t stop there. Single Board Computers (SBC) like the Raspberry Pi have opened up the fields of hardware and software development to a whole new generation, while microcontroller-based systems like the Micro:bit have demonstrated what can be achieved with even simpler CPUs.
It is the latter category of microcontroller-based development boards which is likely to see the greatest interest as the Internet of Things (IoT) continues to grow. One important aspect of IoT is the idea of a sensor node that sends data to a gateway device (like a smartphone or a SBC) which in turns sends the data into the cloud for processing. A simple example would be a temperature sensor that works in conjunction with services like IFTTT to send you a notification when a preset temperature is reached.
And this is where the Nordic Thingy:52 fits. Nordic Semiconductor makes efficient ultra low power (ULP) microcontrollers with built-in Bluetooth Low Energy (BLE) for devices that need to run a long time off a simple battery (like a CR2032). Since Nordic is in the business of selling those chips, it is also in the business of showing what those chips can do. And that is what the Thingy:52 is, a showcase of what can be achieved, as well as a development platform for IoT projects.
|SoC||nRF52832 SoC: 32-bit ARM® Cortex™-M4F CPU with 512kB + 64kB RAM|
|Connectivity||Bluetooth 5, NFC (for pairing)|
Humidity, Air pressure, Air quality (CO2 and TVOC), Color and light intensity
|9 axis motion detection||Tap detection, Orientation, Step counter, Quaternions, Euler angles, Rotation matrix, Gravity vector, Compass heading, Raw accelerometer, gyroscope, and compass data|
|Other ports, switches etc||Speaker, microphone, multi-color LED, power switch, button, micro USB port,|
Your first task is to switch on the Thingy:52. To do this, remove the rubber case and flip the power switch next to the micro USB port. Next, download the Nordic Thingy:52 Android app from the Play store.
Start the app and hit the ‘Scan’ button. When your Thingy:52 is found, connect to it. If there is new firmware available then the app will tell you and offer to upgrade your Thingy:52. This is a really neat feature and one that is essential for any company making IoT devices. The beauty of Nordic’s solution is that you get all this for free, source code and all!
You also have the option of naming your Thingy:52. This is especially handy if you have more than one. Once that is all done just play around in the app to explore all the capabilities of the device.
According to Nordic, the Thingy:52 is designed to function for extended periods of time without charging. When you do need to charge your Thingy:52, connect it to a computer or mobile charger via the micro-USB port. Note that the power switch must be on for the device to charge. But what kinds of things can you use the Thingy:52 for?
Audio over BLE
The Thingy:52 comes with a speaker and built-in microphone. This means you can send audio from your smartphone to the Thingy:52 for playing through the speaker or you can use the built-in microphone and get the audio sent back to an Android app.
Remember that the Thingy:52 is using Bluetooth Low Energy, not Bluetooth Classic, so this isn’t the same as streaming audio to your favorite Bluetooth speaker or headphones. For the demo Nordic is using 8-bit PCM with a sampling rate of 8 KHz (much lower than the 44.1 KHz used for CD). PCM isn’t compressed so the full audio is being sent back and forth, which might sound inefficient, but it saves the little microcontroller on the Thingy:52 from having to encode and decode of the audio.
The advantage of the speaker/microphone setup is that now you can build different types of home security or digital assistant devices. For example, you could monitor the sounds in a room (like a baby monitor) and get a notification (along with the sound) when it goes over a certain level. Or the Thingy:52 could act as the front-end to a digital assistant, maybe one built on the Raspberry Pi using Google’s Assistant API.
The easiest way to achieve more with the Thingy:52 is to connect it to the …read more
Source:: android authority