Important changes to forums and questions
All forums and questions are now archived. To start a new conversation or read the latest updates go to forums.mbed.com.
9 years, 2 months ago.
BLE
Hey Guys,
I don't have a lot of time right now because I work 10 hours a day. However, I want to finish my project I started this summer. My setup has following components:
- 1x Arch BLE
- 1x Grove UV Sensor
- 1x Grove Dust Sensor
- 1x Grove HCHO Sensor (Gas-Sensor)
- 1x MQ9 Sensor (Gas-Sensor)
My plan is to build a Bluetooth device which sends the sensors data to my mobilephone. Due to my lack of time and the lack of german information about BLE on mbed (don't get me wrong here. I can understand english but there are too many technical terms in the texts about BLE so it's hard to understand for me) I need your help.
I have following questions:
- Is it possible to run the Arch BLE as a bluetooth beacon which sends the raw sensor data to an own application?
- If yes, how can I do it?
- If not, is there another possibility to send the data via bluetooth to my phone?
If you need more information on my project please text me!
I am very happy about every answer I will get :)
Greetings, johnny28816
Question relating to:
2 Answers
9 years, 2 months ago.
I don't have the board but the Seeed Arch BLE is based on the nRF51822. It works with the mbed bluetooth low energy library examples according to that team's page. /teams/Bluetooth Low Energy -> So you should be able to set it up as a beacon.
Sending data to a smart phone over the beacon data is possible but the amount of information in the advertising broadcast might be limiting for your application. I think this example might help get you started. /teams/Bluetooth-Low-Energy/code/BLE_GAP_Example
If you need to send more information you'll need to look at GATT protocols.
There's a good tutorial from Adafruit on the details GAP vs GATT. https://learn.adafruit.com/introduction-to-bluetooth-low-energy But I think you can find similar pages in German too.
Maybe one of the experts on Bluetooth will be able to help more?
9 years, 1 month ago.
Please take a look at https://developer.mbed.org/teams/Bluetooth-Low-Energy/code/BLE_TemperatureBeacon/ and the corresponding https://developer.mbed.org/teams/Bluetooth-Low-Energy/code/BLE_TemperatureObserver/.
regards,