Simblee LilyPad Hookup Guide

This Tutorial is Retired!

This tutorial covers concepts or technologies that are no longer current. It's still here for you to read and enjoy, but may not be as useful as our newest tutorials.

Pages
Contributors: SFUptownMaker
Favorited Favorite 6

Introduction

The Simblee LilyPad Board is a programmable board that allows you to add mobile app functionality via Bluetooth Low Energy (BLE, or Bluetooth 4.0) to your e-textile projects. Unlike other BLE solutions, the Simblee requires no specialized app development skills to realize the phone-side interface: all the necessary coding is done in the Arduino environment and then uploaded to a browser app on the phone.

LilyPad Simblee BLE Board - RFD77101

DEV-13633
2 Retired

If you want to skip directly to writing code, we have another tutorial covering coding concepts that are common to all Simblee products. If you're looking for a non-sewable option, checkout the SparkFun Simblee Breakout Board.

Suggested Reading

The Simblee LilyPad board is not a board for beginners. We suggest that you be comfortable with the topics covered in these tutorials before trying to use the Simblee LilyPad in a project:

Simblee LilyPad Hardware Overview

Let's take a quick tour of the Simblee LilyPad hardware:

Labeled hardware diagram

  • Programming Header -- This is the place to connect the programming board. We recommend using the either the LilyPad FTDI Basic or the 5V FTDI Basic for programming the Simblee LilyPad. Do not use the 3.3V FTDI Basic. This header can also be used to power the board during development.
  • Charge Status LED -- If a battery is connected and charging, this LED will be lit. Otherwise, it will be off.
  • Charge/Power Switch -- This switch controls the power to the board. When set to "CHG", the on-board charge circuit will charge the battery (if power is connected via the Programming Header) at 100mA, but power to the rest of the board (and anything powered from the "+" sewtap) will be disconnected. When set to "ON", the board and any attached circuitry will be powered, and charging will continue if the board is plugged in.
  • Reset Button -- Normally this shouldn't be required, but it may on occasion be useful to start your code from scratch, without reprogramming or pulling the power.
  • User LED -- This LED is connected to pin 13 and can be used in your code for a "free" indicator LED.
  • LiPo Battery Connector -- This connector mates with the 2mm JST connector on our polymer lithium ion batteries. The charge current is set to 100mA, which is a safe current for any battery with a capacity of 100mAh or higher.

USB-to-Serial Programmer

We recommend using the either the LilyPad FTDI Basic or the 5V FTDI Basic for programming the Simblee LilyPad. There is a 3.3V voltage regulator after VIN and a protection resistor on it so a 5V input on the RX line won’t damage the module

Do not use the 3.3V FTDI Basic, as it may not be able to source enough current from the 3.3V rail.
SparkFun FTDI Basic Breakout - 5V

SparkFun FTDI Basic Breakout - 5V

DEV-09716
$16.50
125

LilyPad FTDI Basic Breakout - 5V

DEV-10275
10 Retired

Output Control w/ Transistors

Warning: If you've used Arduino boards before, you're probably used to connecting LEDs to the pins as output signals. A normal Arduino can light up many LEDs at once, and several per pin; for the Simblee, you shouldn't try more than ONE per pin, with an additional recommendation of don't try to turn on more than three at a time across all pins. The processor inside the Simblee module cannot drive enough current to light up more LEDs than this (pg 9 of the Datasheet).

If you decide to drive multiple LEDs, try using a transistor as a switch.
SparkFun MOSFET Power Controller

SparkFun MOSFET Power Controller

PRT-11214
$10.50

Project Examples

That concludes the Hardware overview for the Simblee LilyPad. For more information on using the Simblee to create your own applications for embedded project, visit our Simblee Concepts tutorial.

Need some inspiration for your next project? Check out the project below from our creative technologist with a Simblee, pulse sensor, vibe motors, accelerometer, and 3D printed wrist bracer.

The documentation of the project can be found in the GitHub Repository below.

Resources and Going Further

For more info on the Simblee module itself, please have a look at the **Simblee User's Manual **.

Here are a few more resources for the Simblee:

For more Bluetooth fun, check out these other SparkFun tutorials.

Getting Started with the micro:bit

The BBC micro:bit is a compact, powerful programming tool that requires no software installation. Read on to learn how to use it YOUR way!

SparkFun Edge Hookup Guide

Get to know your Edge board, including both the hardware features for you to utilize as well as how to get talking to it.

Getting Started with the 8BitDo Bluetooth GamePads

Getting up and running with the sweet new 8BitDo game controllers!

Displaying Sensor Data with Bluetooth

In our previous Bluetooth tutorial called Sending Sensor Data Via Bluetooth, we showed how to display data from a triple axis accelerometer over the Arduino IDE’s serial monitor. Continuing off of the first tutorial, we are going to expand this project to include more capabilities for visualizing and interacting with your accelerometer data.