IMG_0797

BTstack LE Arduino Shield

Hello everyone

it is quite a bit time ago when the BTstack LE Arduino Shield was developed and finally available at Seeedstudio’s Bazaar for sale using the following link: http://www.seeedstudio.com/depot/BTstack-LE-Arduino-Shield-p-2464.html

In this blogpost I will quickly demonstrate how the BTstack LE Shield can be used with an Arduino/Genuino Zero to act as an iBeacon Scanner. As usual working with additional Arduino Libraries is very easy. Just follow the description provided by BlueKitchen at the following link: http://bluekitchen-gmbh.com/btstack-arduino/tutorial/. This tutorial already shows the use of the BTstack LE Shield on an Arduino Mega 2560 running the iBeacon Scanner sketch.

I will somehow duplicate and shorten the tutorial a bit on the Zero using the most recent Arduino IDE 1.6.6. The following illustration shows the BTstack LE Arduino Shield stacked on an Arduino Zero:

IMG_0797

Just follow the description of the BTstack Arduino Tutorial an install the btstack for arduino into your Arduino Library folder. Once the btstack is available inside the Arduino IDE select: File -> Examples -> btstack -> iBeaconScanner. You should see a sketch similar to the one shown in the following screenshot:

Screen Shot 2015-11-15 at 17.27.10

Select the Zero Programming port and upload the sketch to your Arduino and finally watch iBeacon advertisements as well as BLE device advertisements coming in as illustrated in the following screenshot:

 

Screen Shot 2015-11-15 at 17.27.26

 

The iBeaconScanner is only one of the example sketches which are included in the btstack library for Arduino. The following examples are available:

  • iBeacon: iBeacon Simulator.
  • iBeaconScanner: iBeacon Scanner.
  • ANCS: ANCS Client.
  • LECentral: LE Central.
  • LEPeripheral: LE Peripheral.

If you have any questions regarding btstack on Arduino feel free to ask Matthias Ringwald on the BTstack Google Group. The eagle design files are available from the following github repository: https://github.com/michaelkroll/Hardware/tree/master/BTstackLEArduinoShield

Thanks for reading and have fun playing around with the BTstack LE Arduino Shield,

Michael

3 Responses to BTstack LE Arduino Shield

  1. José Heriberto López Ruiz April 26, 2016 at 06:40 #

    Hi Michael!

    I’d like to know how are you doing with your other projects, like the MiKro 328 BLuE, BLE-Shield v3.0.0 LR (Long Range), or the other breakouts like the BGM111-A , or BT121,

    Also, if you’re planning a new batch for the BLEBee 2.0 or the BLE-Shield v3.0

    Thanks & Regards.

    José Heriberto López Ruiz.

    • Michael Kroll May 26, 2016 at 20:52 #

      Hi Jose,
      currently I’m working an app project which is not related to BLE at all.
      I postponed hardware projects at the moment for focus finishing the app project. I will catchup with
      BLE hardware after the summer. The BLEBee v2.0.0 will be restocked in the next couple of days. For the BLE-Shield v3.0.0 should be stock left at Seeed but I will check with them. Sorry for not replying earlier.

      Michael

      • José Heriberto López Ruiz June 9, 2016 at 19:47 #

        OK, thanks for your response! :)

        I’d appreciate a lot if you can make a post and a tweet once you have any BLE Long Range available for sale.

        And also, MiKro 328 BLuE, and others…

        I’m really interested in all your hardware projects!
        Great job!

        Thanks & Regards!

        José Heriberto López Ruiz.

Leave a Reply to Michael Kroll Click here to cancel reply.


*

Powered by WordPress. Designed by WooThemes