Hello, today I will show you how to make Arduino/Genuino 101 Bluetooth Low Energy thermometer with TMP102 and Blynk, let's begin.
Step 1: Parts and Apps
Step 2: Getting the Arduino IDE Ready for 101
If you already have the Arduino IDE then it's OK, otherwise download the Arduino IDE from here.
Download the 101's core package:
Now open the Arduino IDE and go to Tools =>Board => Boards Manger. Click on "Boards manager", then type "Genuino 101 " or "Arduino 101" or you can just type "101", in the search bar and you will get the package for Arduino/Genuino 101 board. Click on "install" button, wait for it to download and install and you are done with it.
Download the Blynk library:
Now go to Sketch => Include Library => Manage Libraries. Click on "Manage Libraries", then type Blynk in the search bar and you will get the library. Click on install and wait, once the library is installed you are ready to move on the next step.
Step 3: Setting the Blynk App
Open the Blynk app and tap on the QR scanner button, then scan the QR code from this step. The app will build itself, now you need to get the "Auth Token". Tap on the "Nut" icon then on the device and again on it, now you should see your "Auth Token" send it to your e-mail or rewrite it, cause you will need it in the next step !
Step 4: Building the Thermometer
First plug the sensor breakout to the breadboard. Then with the jumpers connect it to the Arduino: GND to GND, VCC to 3.3v, CLK to CLK and SDA to SDA.
Step 5: Edit and Upload the Sketch
Open the sketch or copy it from here, then add you "Auth Token". Upload the sketch.
Note: Stay tuned for updates over the sketch !
Step 6: Connect the App With the 101
Open the app and tap on the bluetooth button then on Connect BLE Device. Choose you 101 board and you can deploy the app. You are all done.