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

Tiny Arcade Assembly Instructions
Tiny Arcade Assembly Instructions

by TinyCircuits Staff September 18, 2016

Learn how to assemble your Tiny Arcade. You can read the step by step guide, or there's a video tutorial...

View full article →

Tiny Arcade Menu Update
Tiny Arcade Menu Update

by TinyCircuits Staff May 18, 2016

Update your Tiny Arcade software to the latest version from your computer.

View full article →

TinyScreen+ Windows 7/8 Driver Installation
TinyScreen+ Windows 7/8 Driver Installation

by TinyCircuits Staff May 18, 2016

Install the required drivers to use TinyScreen+ with Windows 7 and Windows 8.

View full article →