Difference between revisions of "Open Source WiFi Weather Station System"
From Microduino Wiki
(→Get and Configure Blynk) |
(→Programming and Uploading) |
||
(21 intermediate revisions by 3 users not shown) | |||
Line 6: | Line 6: | ||
*Objective: To get temperature, humidity, light intensity and even PM2.5 data around you. | *Objective: To get temperature, humidity, light intensity and even PM2.5 data around you. | ||
*Difficulty: Medium | *Difficulty: Medium | ||
− | *Time | + | *Project Time: 2 Hours |
− | * | + | *Creator: Ray |
− | + | Introduction: | |
− | * | + | *The station monitors temperature, humidity, light intensity and even PM2.5 (particulate matter) data around you. |
− | * | + | *Display the sensor data on the OLED screen. |
− | * | + | *The station can be synced with Blynk to upload sensor data. |
− | * | + | *Access the data anytime using the Blynk app. |
==Bill of Material== | ==Bill of Material== | ||
Line 65: | Line 65: | ||
==Principle of the Experiment== | ==Principle of the Experiment== | ||
− | This Weather Station | + | This Weather Station collects the following: |
− | *Temperature and humidity | + | *Temperature and humidity with a [[Microduino-Temp&Hum]] |
− | *Light intensity | + | *Light intensity with a [[Microduino-Light]] |
− | *Air quality | + | *Air quality with a [[Microduino-Air Quality]] |
− | *PM2.5 | + | *PM2.5 with a GP2Y1010AU0F module. |
− | * | + | *Uses a [[Microduino-Core+]] to analyze and process sensor data. |
− | *Display on [[Microduino-OLED]] | + | *Display data on a [[Microduino-OLED]] |
− | *Connect the Weather Station with Blynk via [[Microduino-WIFI(ESP)]] | + | *Connect the Weather Station with Blynk via a [[Microduino-WIFI(ESP)]] |
− | *Each sensor connects with [[Microduino-Sensorhub]] | + | *Each sensor connects with the [[Microduino-Sensorhub]] |
[[File:Wifistationtheory.jpg||600px|center]] | [[File:Wifistationtheory.jpg||600px|center]] | ||
Line 82: | Line 82: | ||
===Get Blynk Phone Client=== | ===Get Blynk Phone Client=== | ||
− | *Please | + | *Please follow the getting started with Blynk guide: https://www.blynk.cc/getting-started/ |
===Add Configuration Items === | ===Add Configuration Items === | ||
Line 89: | Line 89: | ||
|- | |- | ||
|width="50%" valign="top" align="left"| | |width="50%" valign="top" align="left"| | ||
− | * | + | *Scan the two-dimension code below to get Weather Station APP onto Blynk. |
|width="50%" valign="top" align="left"| | |width="50%" valign="top" align="left"| | ||
[[File:BlynkWeatherStationLink.png||300px|center]] | [[File:BlynkWeatherStationLink.png||300px|center]] | ||
Line 280: | Line 280: | ||
|} | |} | ||
− | == | + | ==Programming and Uploading== |
+ | *Stack the '''[[Microduino-Core+]]''' and the '''[[Microduino-USBTTL]]''' together. | ||
+ | **Connect the '''[[Microduino-USBTTL]]''' to your computer with the included MicroUSB cable. | ||
+ | **<span style="color:red">Attention: Please upload program before stacking all modules together. As having the WiFi module connected will cause programming issues.<span> | ||
− | |||
− | + | *Follow the software setup guide for your OS at: http://wiki.microduinoinc.com/Software_Setup:_Arduino | |
− | * | + | *Once your software is successfully installed, open the software. |
− | + | *Configure the software to program the Core+ module: | |
− | ** | + | ** Select '''Tools > Board > Microduino/mCookie-device''' (for Windows) or '''Tools > Board > Microduino/mCookie-Core+ (644pa)''' (for Mac OS). |
− | + | ** Select '''Tools > Processor > Microduino/mCookie Core+ (644pa)@16M,5V''' (for Windows) or '''Tools > Board > Atmega644pa@16M,5V''' (for Mac OS). | |
− | + | ** Select '''Tools > Port''' (Usually what is selectable, if using Mac, it is not the Bluetooth one). | |
− | * | + | |
− | * | + | |
+ | *Download the code for Weather Station here: [[File:ESP8266BlynkWeatherStationV2.zip]] | ||
+ | *Unzip the file. Under the software (Arduino IDE), go to '''File > Open...''' and navigate to the unzipped folder and open the '''ESP8266BlynkWeatherStation.ino''' file. | ||
+ | *Click on the '''upload button''' (right arrow icon on the top left) to upload the program. | ||
+ | *The program will compile and upload. Once completed a upload successful message will appear on the bottom left. | ||
==Hardware Buildup== | ==Hardware Buildup== |
Revision as of 19:16, 17 April 2018
ContentsOutline
Introduction:
Bill of MaterialMicroduino Equipment
Other Equipment
Principle of the ExperimentThis Weather Station collects the following:
Get and Configure BlynkNext, we'll learn how Microduino interacts with Blynk through the configuration process of the Weather Station. Get Blynk Phone Client
Add Configuration Items
Programming and Uploading
Hardware Buildup
Notes
|