Arduino and iOS over Bluetooth LE with the nRF8001

Arduino and iOS over Bluetooth LE with the nRF8001 — photograph from the project archive.

An Arduino, an Adafruit nRF8001 breakout and an iOS application form this Bluetooth Low Energy experiment. The folder contains the radio driver, BLE Firmata code and the Bluefruit LE Connect iOS source, making it possible to follow the connection from the embedded device to the phone.

How the project works

The nRF8001 driver exposes a UART-style BLE service. Its README describes sending small packets between the mobile application and Arduino, displaying received data in the Serial Monitor and echoing it back. The bundled example limits each transfer to 20 bytes.

The Firmata library offers a second layer: structured messages for interacting with microcontroller pins. Treat the UART example and Firmata as distinct starting points. A phone connecting to the BLE service does not, by itself, establish that a particular Firmata sketch is running.

Hardware and configuration

ItemIn the supplied code
SPI on UnoSCK D13, MISO D12, MOSI D11
Request / readyREQ D10, RDY D2
ResetRST D9
Mobile sourceBluefruit LE Connect iOS, archived version 1.3

Working with the supplied code

Begin with the UART example and confirm that the phone can connect and exchange a short message. RDY requires an interrupt-capable connection; the supplied Uno mapping uses D2. Follow the breakout’s power-pin labeling rather than connecting directly to the bare radio chip.

The iOS project and Arduino libraries are historical snapshots. Review their dependencies and deployment settings when opening them in a newer toolchain. The source is valuable for understanding the protocol even if the archived app needs changes to build today.

Video demonstration

Arduino nRF8001 BLE iOS — Ovidiu Carstea on YouTube

Source code and project files

Browse this project on GitHub. The files below are useful starting points for the sketches and references discussed in this post.

Download the used libraries (ZIP, 14.7 MB).

Radio, Firmata integration and mobile examples include work from Adafruit and the Firmata project; see their bundled licenses.

These notes describe the archived source and project media. The sketches have not been rebuilt or tested on hardware for this article.

Scroll to Top