speplinski / arduino-BLEPeripheral

An Arduino library for creating custom BLE peripherals with Nordic Semiconductor's nRF8001 or nR51822.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Arduino BLEPeripheral

An Arduino library for creating custom BLE peripherals with Nordic Semiconductor's nRF8001 or nR51822.

Enables you to create more customized BLE Peripheral's compared to the basic UART most other Arduino BLE libraries provide.

nRFgo Studio (and Windows) is not required when using the nRF8001.

Compatible Hardware

Note: Does not require use of nRFgo Studio! However, uses more code space.

Pinouts

Chip Shield/Board REQ Pin RDY Pin RST Pin
nRF8001
Bluefruit LE 10 2 9
BLE Shield 1.x 9 8 UNUSED
BLE Shield 2.x 9 8 UNUSED or 4/7 via jumper
Blend 9 8 UNUSED or 5/6 via jumper
Blend Micro 6 7 UNUSED or 4
IMUduino BTLE 10 7 9
nRF51822
RedBearLab nRF51822 UNUSED UNUSED UNUSED
BLE Nano UNUSED UNUSED UNUSED
RFduino UNUSED UNUSED UNUSED

Compatible IDE's and MCU's

Usage

Download Library

Arduino

cd ~/Documents/Arduino/libraries/
git clone https://github.com/sandeepmistry/arduino-BLEPeripheral BLEPeripheral

MPIDE

cd ~/Documents/mpide/libraries/
git clone https://github.com/sandeepmistry/arduino-BLEPeripheral BLEPeripheral

Starter sketch

Load starter.ino

API

See API.md.

Examples

See examples folder.

Useful Links

Analytics

About

An Arduino library for creating custom BLE peripherals with Nordic Semiconductor's nRF8001 or nR51822.

License:MIT License


Languages

Language:C 65.5%Language:C++ 17.6%Language:Objective-C 14.9%Language:Arduino 2.0%