Monthly Archives: August 2013

BLE DEV.N (Bluetooth Low Energy Board) Digital Thermometer, Part 1

I was wondering what kind of sample to create in order to show how easy is to debug and connect BLE DEV.N board to an iOS application. Decision is made, let’s be a Digital Thermometer. Project is still in development. Final goal is board to talk with iOS BLE enabled application.
Here is hardware layout, BLE DEV.N board + DHT22 + one resistor of 10k ohm.

Digital Thermometer Setup

Digital Thermometer Setup

Digital thermometer printf output

Digital thermometer printf output

Code can be found here: Github.

Next steps are, implementation of the BLE layer and iOS application which can read the temperature and humidity from the setup.

Raspberry Pi and BLE DEV.N

It was interesting to see if we can use Raspberry Pi to connect to the BLE DEV.N board. Here is initial hardware setup BLE DEV.N board  + Raspberry Pi + CSR 4.0 dongle:

Raspberry Pi with BLE DEV.N

Raspberry Pi with BLE DEV.N

Bluetooth stack is updated to the latest 5.7.

Raspberry Pi with latest Bluez 5.7 stack

Raspberry Pi with latest Bluez 5.7 stack

Scanning returns the board name (LED). Currently dev board is flashed with the LED example.

Finding the LED BLE DEV.N board

Finding the LED BLE DEV.N board

Connecting to discovered tag LED. Here is interesting to mention that I needed to use –random option, because of random generated addresses (no need if you are connecting to the TI SensorTag).

Connecting to discovered tag LED

Connecting to discovered tag LED

Discovering of the characteristics

Discovering LED board characteristics

Discovering LED board characteristics

It is a Happy day of coding!