All Projects → krvarma → Blemini_sparkcore

krvarma / Blemini_sparkcore

Spark Core and BLE Mini in Central Role

Labels

Projects that are alternatives of or similar to Blemini sparkcore

Deej
Set app volumes with real sliders! deej is an Arduino & Go project to let you build your own hardware mixer for Windows and Linux
Stars: ✭ 730 (+14500%)
Mutual labels:  arduino
Tembooforesp8266
Arduino Library of Temboo modified for ESP8266
Stars: ✭ 5 (+0%)
Mutual labels:  arduino
Unplug
Stars: ✭ 5 (+0%)
Mutual labels:  arduino
Adafruit sensor
Common sensor library
Stars: ✭ 757 (+15040%)
Mutual labels:  arduino
Aaduino
An AA sized ISM radio Arduino clone
Stars: ✭ 816 (+16220%)
Mutual labels:  arduino
Stewart Platform Code
Basic functionality for stewart platform with servos
Stars: ✭ 5 (+0%)
Mutual labels:  arduino
Sonoff Homekit
Make your Sonoff Switch compatible with Apple Homekit! 🎉
Stars: ✭ 722 (+14340%)
Mutual labels:  arduino
Lbscratch
This repository is for anybody who wants to use Scratch with the littleBits system, or help us develop code to do so.
Stars: ✭ 5 (+0%)
Mutual labels:  arduino
Frequency Analyzer Arduino
Spectrum Analyzer using Goertzel Algorithm in Arduino (2016)
Stars: ✭ 5 (+0%)
Mutual labels:  arduino
Arduino Esp8266 Pir
Use Arduino with ESP8266 WiFi module and a PIR sensor
Stars: ✭ 5 (+0%)
Mutual labels:  arduino
Arduinothread
⏳ A simple way to run Threads on Arduino
Stars: ✭ 760 (+15100%)
Mutual labels:  arduino
Arduino Esp32
Arduino core for the ESP32
Stars: ✭ 7,741 (+154720%)
Mutual labels:  arduino
Dolly Slider Bt
Dolly Slider Arduino app
Stars: ✭ 5 (+0%)
Mutual labels:  arduino
Webduino
Arduino WebServer library
Stars: ✭ 740 (+14700%)
Mutual labels:  arduino
Rallyduino
Automatically exported from code.google.com/p/rallyduino
Stars: ✭ 5 (+0%)
Mutual labels:  arduino
Wifiduck
Wireless keystroke injection attack platform
Stars: ✭ 723 (+14360%)
Mutual labels:  arduino
Open Home Automation
Open Home Automation with Home Assistant, ESP8266/ESP32 and MQTT
Stars: ✭ 820 (+16300%)
Mutual labels:  arduino
Proximity Mp3
Bare Conductive MPR121 Proximity-to-MP3 Example Code
Stars: ✭ 5 (+0%)
Mutual labels:  arduino
Esp8266 As Arduino Shield Sketches
Sketches for the Arduino (UNO, unless otherwise specified) that interface with the ESP8266 WiFi card to do neat things.
Stars: ✭ 5 (+0%)
Mutual labels:  arduino
Esp8266 Weather Station
ESP8266 Weather Station library supporting OpenWeatherMap, Aeris and other sources
Stars: ✭ 822 (+16340%)
Mutual labels:  arduino

Spark Core, BLE Mini and SensorTag demo

This is a sample application Spark Core and BLE Mini in BLE Central role. In BLE there are two mode peripheral and central mode. A peripheral device has data that can be used by other devices. A central uses this data and and perform various tasks. The BLE Mini from RedBearLab can act as peripheral and central. To act as central we need to update the BLE Mini a special firmware provided by RedBearLab. For this demo application I am using HCI_UART_57600bps_20130502 firmware. RedBearLab provides detailed instructions to update the firmware, you can find the information here (see the how to upgrade section.

This sample is heavily based on the python sample SensorTag_Central_HCI.py. For this I updated the firmware with the above mentioned file, taken the python sample as the reference and ported to Spark Core.

The purpose of this sample is just to demonstrate how to use the BLE Mini in Central mode and start device discovery and then connect and wait for the device events. This sample uses HCI commands to achieve these. Basically this application connect to SensorTag and subscribe for button press notification. Following are the steps to start BLE Mini in Central mode and connect to the sensor.

  1. Initialize the HCI
  2. Once it is initialized, start device discovery
  3. If a device is found, establish connection
  4. Once the connection is established, enable the button press notification and wait for the events

Screenshots enter image description here

enter image description here

enter image description here

Demo Video

https://www.youtube.com/watch?v=p51XCAk1nNU

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].