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

New Tiny Arcade - Assembly Instructions (With Rev5 Boards)
New Tiny Arcade - Assembly Instructions (With Rev5 Boards)

by TinyCircuits Staff January 15, 2019

We are super excited to release our latest version of the beloved Tiny Arcade kit! This assembly tutorial features our...

View full article →

Command Servo Motors from your Phone using Bluetooth
Command Servo Motors from your Phone using Bluetooth

by TinyCircuits Staff December 27, 2018

Using a TinyZero, Bluetooth TinyShield, Servo TinyShield, and a servo along with a handy dandy iOS or Android app, you...

View full article →

Tiny Screen Video(TSV) Converter Install for macOS
Tiny Screen Video(TSV) Converter Install for macOS

by Laverena Wienclaw December 19, 2018

In this tutorial we'll talk about how you can get a Windows application running on your Mac (for free) using Wine...

View full article →