Author: Kim Lương
- 1 x NodeMCU 8266
- 1 x BMP388
I2C used to read in data.
BMMP288 | NodeMCU |
---|---|
Vin | 3.3V |
GND | GND |
SCK | D1 |
SDI | D2 |
-
Download or clone the github repo to your computer.
-
Follow these instructions to get Blynk setup. If you already have BLYNK setup, create a new template on the web dashboard and add the NodeMCU as a new device. MAKE SURE THAT YOU REPLACE LINES 21, 22, 23 WITH YOUR TEMPLATE INFORMATION
-
In the Arduino IDE, install the following libraries:
-
Flash the code in this repo onto the NodeMCU. You can do this by opening up ese_lab6_7.ino in the ese218_lab6_7 folder.
-
6 Datastreams will need to be created on the web dashboard. Refer to the Blynk installation document.
-
On the web dashboard, create the following widgets. Assign the datastreams accordingly.
-
On the mobile dashboard/app, create the following widgets. Assign the datastreams accordingly.
- 1 x SuperChart (Datastream V0) To configure the SuperChart, after dragging it to your template. Double tap on it to modify the settings. Click on the circled button in the image below to select Datastream V0.
- 1 x Gauge (Datastream V1)
- 3 x Label Value (Datastreams V0, V2, V3)
- 2 x Button (Datastreams V4, V5)
-
Press start on the mobile app to start the timer.