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 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.
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
Bluetooth stack is updated to the latest 5.7.
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
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
Discovering of the characteristics
Discovering LED board characteristics
It is a Happy day of coding!