• Stars
    star
    108
  • Rank 321,259 (Top 7 %)
  • Language
    JavaScript
  • Created almost 10 years ago
  • Updated over 1 year ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

BluetoothLE Examples of various platfoms

BluetoothLE-Examples

This repository contains examples for Bluetooth LE in a variety of platforms. They were written for classes at ITP by Tom Igoe, Maria Paula Saba, with contributions by Don Coleman, Sandeep Mistry, Shawn Van Every, Jingwen Zhu and Yining Shi. They span a few technologies, some no longer available.

The examples are divided into the following categories:

ArduinoBLE Library

These examples work with the Arduino MKR1010, Nano 33 IoT and Nano 33 BLE boards, and presumably other boards using the same radios as those boards, using the ArduinoBLE Library. You'll need Arduino 1.8.13 or later. These all should pair well with Yining Shi and Jingwen Zhu's p5ble library for Web Bluetooth.

ArduinoBLEPeripheral Library

These examples work with the Nordic NRF8001 and NRF51822 radios, using Sandeep's Arduino BLE Peripheral library. These examples were written using RedBear Labs' BLE Nano boards and RFDuino's boards. There are also some examples for Punchthrough's LightBlue Bean modules. These may be deprecated, as they have not tested in a few years.

Web Bluetooth Examples

These examples were written the Web Bluetooth framework and p5.js. They're useful for seeing the core Web Bluetooth API, but the p5ble library makes it simpler to do. It can be used without the p5.js framework as well.

Node.js, Noble, Bleno

Written for node.js, using Sandeep Mistry's Bluetooth LE libraries for node.js, specifically noble, bleno, and various libraries he's made deriving from those. For Windows users, Don Coleman's done a nice video explaining how to set up Windows for Bluetooth LE and Node Development using noble.

Cordova

Cordova 4.0 or later. These were written using Don Coleman's BLE Central plugin for Cordova. We've tested the Cordova examples on iOS and Android, though they may be out of date since Cordova.

Bluetooth References

  • Make: Bluetooth (book) by Alasdair Allan, Don Coleman, and Sandeep Mistry
  • BLEDocs, a repository introducing Bluetooth LE
  • LightBlue, a Bluetooth LE diagnostic app for MacOS by Punchthrough Design

More Repositories

1

BLEDocs

This repository contains notes and code samples from a Bluetooth LE doc-a-thon held at ITP in June 2014
Objective-C
180
star
2

hue-control

Instructions on controlling the Philips Hue Hub
JavaScript
158
star
3

MakingThingsTalk2

Code samples for Making Things Talk version 2.0 & 3.0
JavaScript
100
star
4

NetworkExamples

Network scripts and tasks
JavaScript
69
star
5

BeginningNFC

A repo for code samples in the book "Beginning NFC"
JavaScript
63
star
6

SoundExamples

A collection of sound examples for Arduino
C++
51
star
7

DMX-Examples

A collection of DMX512 examples
JavaScript
42
star
8

mqtt-examples

A collection of MQTT examples
JavaScript
41
star
9

NeoPixel_examples

C++
37
star
10

websocket-examples

Examples for websocket clients and servers
JavaScript
35
star
11

NodeExamples

a bunch of node.js examples
JavaScript
31
star
12

LightProjects

A collection of lighting projects
C++
31
star
13

Button

A fork of Alexander Brevig's Button library for Arduino
C++
30
star
14

x10

x10 Library for Arduino
C++
27
star
15

DataloggingExamples

Examples of Datalogging on Arduino
C++
25
star
16

SensorExamples

A collection of examples on how to interface sensors to Arduino microcontrollers
C++
21
star
17

Wifi_Examples

Examples for Arduino WiFi-enabled boards: MKR1000, MKR1010, Nano 33 IoT, Nano ESP, Uno Rev 4 WiFi, and others
C++
19
star
18

html-for-conndev

Just enough HTML, CSS, and JS to start building browser-based interfaces for connected devices
JavaScript
18
star
19

web-bluetooth-example

a minimal web bluetooth example
JavaScript
17
star
20

ArduinoLifx

An Arduino library to send LIFX LAN messages over UDP
C++
16
star
21

sACNSource

A library for sending DMX-512 messages in an sACN packet over UDP
C++
16
star
22

hid-examples

Examples for programming an Arduino to be a mouse, keyboard, or other Human Interface Device
C++
12
star
23

display-examples

A collection of examples for driving displays from microcontrollers
C++
11
star
24

BridgeExamples

Arduino
11
star
25

WeMoExamples

Control of WeMo devices with Arduino
C++
11
star
26

ArduinoGeneralExamples

General examples for Arduino
C++
10
star
27

TS04-Bluetooth-Meter

Web Bluetooth interface for the General Tools TS04 multimeter
JavaScript
9
star
28

timepieces

A collection of stuff that keeps time
PostScript
7
star
29

Interval

C++
7
star
30

ESP8266Examples

A collection of Arduino examples for the ESP8266
Arduino
6
star
31

GraphingSketches

JavaScript
6
star
32

geo-bluetooth

A Geolocation app using BlueoothSerial
Objective-C
5
star
33

PiRecipes

A collection of ways to do things on a Raspberry Pi
JavaScript
5
star
34

SonMicroReader-for-Arduino

A reader for the SonMicro SM13x RFID readers, compatible with Arduino 1.0 beta 1 and forward
C++
3
star
35

UnoR4Examples

C++
3
star
36

SonMicroReader-for-Processing

A Processing (and therefore Java) library for controlling SonMicro SM130 RFID readers via a serial connection
Java
3
star
37

ColorConverter

An Arduino library to convert RGB colors to HSI colors and vice versa
C++
3
star
38

CandleProject

JavaScript
2
star
39

p5js_examples

a repository for examples made in p5.js
JavaScript
2
star
40

ProcessingExamples

Random Processing Examples
Processing
2
star
41

BallDropGame

GitHub Pages Site
Processing
2
star
42

tigoe.github.io

My GitHub Site
HTML
2
star
43

GettingStartedWithRFID

Processing and Arduino sketches to accompany the book "Getting Started with RFID"
Arduino
2
star
44

PachubeTweet

Tweeting from Arduino via pachube.com
Arduino
2
star
45

Mooshimeter-Web-Bluetooth

JavaScript
1
star
46

understanding-networks

Assets for understanding networks class
1
star
47

espruino-tests

A repository of sample programs written to test the Espruino board
JavaScript
1
star
48

ethoinformatics

JavaScript
1
star
49

BeaconGame

JavaScript
1
star
50

PhoneGapExamples

A repository of examples for PhoneGap
JavaScript
1
star
51

ElevatorProject

Arduino
1
star