element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet & Tria Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • About Us
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      • Japan
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Vietnam
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
Bluetooth Unleashed Design Challenge
  • Challenges & Projects
  • Design Challenges
  • Bluetooth Unleashed Design Challenge
  • More
  • Cancel
Bluetooth Unleashed Design Challenge
Blog [Bluetooth Unleashed] Felo'melorn #3: Hello World
  • Blog
  • Forum
  • Documents
  • Polls
  • Files
  • Events
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
  • Share
  • More
  • Cancel
Group Actions
  • Group RSS
  • More
  • Cancel
Engagement
  • Author Author: fvan
  • Date Created: 16 May 2018 5:50 PM Date Created
  • Views 1349 views
  • Likes 10 likes
  • Comments 6 comments
  • felomelorn
  • fvan
  • arduino_projects
  • ardexpert
  • bluetooth unleashed
  • world of warcraft
  • redbear
Related
Recommended

[Bluetooth Unleashed] Felo'melorn #3: Hello World

fvan
fvan
16 May 2018

Time to get started with this Redbear and have it do something!

 

Because I discovered the Redbear Blend is a retired product in my last post, I'm attempting to get it working the generic route, as an Arduino Leonardo and nRF8001 module, without using any Redbear specific resources/boards definitions/libraries/... because I'm assuming those won't be maintained or supported anymore.

 

  • Redbear Specific
  • Arduino IDE
    • Plugin
    • Board
  • Hello World
    • Sketch
    • Bluefruit LE Connect
  • Felo'fact

 

Redbear Specific

 

Should you have a Redbear Blend and wish to use their resources anyway, have a look at these procedures:

  • install Redbear Blend boards support
  • install nRF8001 libraries

 

They explain how to add the Redbear Blend to the Arduino IDE using their board definitions, with the necessary BLE libraries.

 

There is even a Redbear BLE app for iOS: BLE Controller.

 

I won't be using those though, and will proceed with a more generic approach ...

 

Arduino IDE

 

Plugin

 

Wanting to download the latest version of the Arduino IDE, I was surprised to find they now also have an online IDE. All you need is a browser plugin to be installed. Intrigued, I gave it a try.

 

Here's an overview of the steps I had to go through.

 

{gallery} Arduino IDE

image

image

image

image

image

image

image

image

image

image

image

image

image

image

image

image
image
image

 

The plugin was easily installed and the IDE up and running.

 

Board

 

From the device dropdown menu, I added a new board. There is a list of supported boards, from which I picked the Arduino Leonardo.

image

 

I connected the board to my computer, and verified it was detected. Success!

image

 

Hello World

With the board connected and detected, let's jump straight to business and perform a Bluetooth "Hello World".

 

Sketch

 

The simplest way I could think of, is to have some kind of serial interface over Bluetooth, to pass commands from my phone to the Arduino.

 

The BLE SDK for Arduino library contains such an example: ble_uart_project_template

image

 

I checked the pinout for the BLE module in the sketch and compared it with my Redbear Blend.

  • RESET -> D4
  • RDYN -> D8
  • REQN -> D9

image

 

Compiled and flashed the sketch on the Arduino.

 

I opened the serial monitor to verify the sketch was properly running. "Advertising started"!

image

 

But, how do I talk to the Arduino from my phone now?

 

Bluefruit LE Connect

 

Searching with keywords like "nRF8001", "BLE", "UART" and "iOS", I quickly came across an app by Adafruit: Bluefruit LE Connect.

 

Their app is compatible with a variety of Adafruit BLE (breakout) boards, and since the Redbear uses the same nRF8001, I thought it'd be worth a try.

 

I installed the app on my phone, and launched it. A BLE device with UART capabilities was quickly discovered ...

imageimage

 

Using the UART menu, I sent a message to the device, and it appeared in the serial monitor of the Arduino IDE! Hello World!

image

 

With this working, I can start implementing functions to be triggered by keywords received on the BLE UART interface for example.

 

Felo'fact

 

As usual, let's end this post with another fact about Felo'melorn:

 

Felo'melorn has multiple appearances, such as the "Phoenix's Rebirth" or the "Timebender's Blade".

 

{gallery} Felomelorn

image

Default

image

Pride of the Sunstriders

image

Phoenix's Rebirth

image

Lavaborn Edge

image

Timebender's Blade

image

The Star's Design

source: wowhead

  • Sign in to reply

Top Comments

  • jomoenginer
    jomoenginer over 7 years ago +4
    Nice overview of how to use the RedBear Labs Blend shield in a more generic way. Now that RedBear Labs is part of Particle it will be interesting to see what happens with the product line in the future…
  • fvan
    fvan over 7 years ago in reply to jomoenginer +4
    Using the expertise from both companies, I expect things like the Particle Photon and RedBear Duo to merge into new and improved products, with aligned programming approach etc ... Let's see, I'm curi…
  • genebren
    genebren over 7 years ago +3
    Nice update on your project. I seems like you have taken a reasonable approach around the future demise of your chosen hero by only using features supported by the generic model. Good job, keep up the…
  • fvan
    fvan over 7 years ago in reply to jomoenginer

    Using the expertise from both companies, I expect things like the Particle Photon and RedBear Duo to merge into new and improved products, with aligned programming approach etc ... Let's see, I'm curious image

    • Cancel
    • Vote Up +4 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • fvan
    fvan over 7 years ago in reply to DAB

    Thanks!

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • fvan
    fvan over 7 years ago in reply to genebren

    Thank you. I think that's the way to go. Besides the fact the the BLE module is onboard, the Redbear doesn't have anything too specific, apart maybe from the 3.3V/5V switch.

     

    The ultimate test will be to swap out the dead hero at the end of the project and see if everything keeps working.

    • Cancel
    • Vote Up +2 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • jomoenginer
    jomoenginer over 7 years ago

    Nice overview of how to use the RedBear Labs Blend shield in a more generic way.  Now that RedBear Labs is part of Particle it will be interesting to see what happens with the product line in the future. Perhaps they will just Blend in with the Particle products.

    • Cancel
    • Vote Up +4 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • DAB
    DAB over 7 years ago

    Nice update.

     

    DAB

    • Cancel
    • Vote Up +3 Vote Down
    • Sign in to reply
    • More
    • Cancel
>
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2025 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube