[vc_row][vc_column][vc_column_text]Have you ever worry about your loved baby is covered well at night?
Now, we don’t need to worry about it anymore as we can DIY a temperature monitor and alert gadget by using Bluetooth 4.0 BLE sensors tag with bed programming.
The BLE sensor tag has built-in temperature sensor, and we can place inside the comforter. When baby kicks off the comforter, the temperature inside the comforter will decease.
The smartphone that lodes the APP shown below acts as the bluetooth gateway. It will check the temperature reported by the BLE sensor tag, and if it fails below a preset threshold, it will alert the watch worn on the parent by turning on the vibrator inside the watch.
[/vc_column_text][/vc_column][/vc_row][vc_row][vc_column][vc_tour][vc_tab title=”Hardware List” tab_id=”1461307323-1-44″][vc_column_text]
- 1 x Bluetooth 4.0 BLE sensors tag with mbed programming
- 1 x Guodoo Smart watch
- 1 x Android smart phone
[/vc_column_text][/vc_tab][vc_tab title=”Programming” tab_id=”1461307323-2-76″][vc_column_text]We use mbed online compiler as our development tool and the website address is : https://developer.mbed.org/compiler
You need to register an account for free, then go to compiler. You will get a website like the followings:
Click No device selected button to add a new platform.
Click Add Platform.
Select Nordic Semiconductor ASA on the left side bar. On the right side, you will get Nordic nRF51822 platform and click it.
Click Add to your mbed Compiler. This will add Nordic nRF51822 platform to your mbed compiler.
Connected the BLE Sensor tag to PC via USB, open the link
Choose “import this program”
Click Compile button and you will get the hex file downloaded from this website, the name is LinkNode_ TemperatureAdvertising_ NRF51822.hex
Compile and run
- Connect the BLE sensor TAG to PC with Micro-USB cable, the PC will recognized a new disk whose nane is jlink.
- Copy or move your downloaded hex file to this disk.
- After several seconds, programming BLE sensor TAG will be finished.
- Open Bluetooth.
- Install and open the APP.
- Set the temperature and then click “Set”–>”Start”
When the temperature under the set temperature, the watch will shake.
Click “CANCEL REMINDER” to stop.[/vc_column_text][/vc_tab][/vc_tour][/vc_column][/vc_row]