Using the BlueTooth Low Energy TinyShield Tutorial

by TinyCircuits Staff February 24, 2016

Using the BlueTooth Low Energy TinyShield Tutorial

The TinyShield Bluetooth Low Energy Board lets you add Bluetooth Low Energy (also known as Bluetooth Smart) communications to your TinyDuino. This TinyShield is based around the advanced Bluegiga BLE112 Bluetooth Low Energy Module.


Bluetooth LE TinyShield Signals

TinyShield Signal Function Description
3 (or 0) RX This signal is the serial RX input into the TinyDuino and out of the BLE module. By default this is connected to pin 3 of the TinyDuino, it can instead be connected to pin 0 if the R6 jumper is cut and a 0 ohm resistor is added to R4
4 (or 1) TX This signal is the serial TX output from the TinyDuino and into the BLE module. By default this is connected to pin 4 of the TinyDuino, it can instead be connected to pin 1 if the R7 jumper is cut and a 0 ohm resistor is added to R5
RESET (optional) RESET By default RESET is not connected. This can be connected to the system reset by adding a 0 ohm resistor to R1.

Powering the System

The Bluegiga BLE112 module that is on this board is a very low power radio and a coin cell battery is sufficient to run this board.

The Bluetooth Low Energy Shield includes a local voltage regulator and level shifters, so your TinyDuinosystem can operate from 3 - 5 Volts safely.


Using the Bluetooth Low Energy TinyShield

We've worked with Jeff Rowberg on this board who created the BGLib API for Arduino, so the examples he shows here are also valid for helping getting up to speed on this board (with one difference, see below)

http://www.inmojo.com/store/jeff-rowberg/item/ble112-bluetooth-low-energy-breakout/

The one main difference is that the TinyShield does not use the hardware sleep control pin. To work with the standard BGLib that Jeff provides,. remove the calls to onBeforeTXCommand/onTXCommandComplete which will cause the processor to hang indefinitely.

We also have a modified version of the BGLib and examples that will work directly with the TinyDuino and Bluegiga Bluetooth LE TinyShield, you can download it here



TinyCircuits Staff
TinyCircuits Staff

Author



Also in Learn

TinyDuino GPS Tracker + Data Logger Tutorial
TinyDuino GPS Tracker + Data Logger Tutorial

by Lilith Freed February 08, 2017

Follow this simple tutorial to build your own portable GPS device!

View full article →

Wifi TinyShield Tutorial (with Cayenne IoT)
Wifi TinyShield Tutorial (with Cayenne IoT)

by TinyCircuits Staff February 01, 2017

Our newest version of the Wifi TinyShield provides users with the ability to easily connect their TinyDuino stack to the...

View full article →

Flash Memory TinyShield Tutorial
Flash Memory TinyShield Tutorial

by TinyCircuits Staff January 23, 2017

Learn how to utilize storage on the Flash Memory TinyShield with your TinyDuino or TinyScreen+!

View full article →