Coding Camp – Part 9: Make A Portable Handheld Weather Station

Let us learn how to access various weather data and share it with your mobile devices via WiFi connectivity. Note that the Weather Board 2 is additionally required (

Before we begin, this Coding Camp will use a web browser to show weather information. To make things go smoothly, make sure you have the following two bullet points meet. Make sure that you’ve followed the Arduino setup guide.

Figure 1 - You can have a portable Weather station in your hand
Figure 1 – You can have a portable Weather station in your hand


Make sure that you have these products:

Setup the development environment for Arduino on your system. Before proceeding with this guide, attach Weather board 2 to ODROID-GO and connect it to the PC via micro USB cable.


SPIFFS stands for SPI Flash File System. You can visit to see full documentation about SPIFFS. ODROID-GO has a small (but enough to use) flash memory which you can upload data by using this tool. Download a compressed file from this link (ESP32FS-v0.1), then extract the ESP32FS directory to one of the following directories, depending on your operating system:

  • Windows: %USERPROFILE%\Documents\Arduino\tools
  • Linux: ~/Arduino/tools

Figure 2 - Arduino Tools directory
Figure 2 – Arduino Tools directory

(Figure 2 – Arduino Tools directory)

Create the tools directory before extracting if it doesn’t exist. Open Arduino IDE, and you can see the Tools → ESP32 Sketch Data Upload menu.

Figure 3 - upload the sketch
Figure 3 – upload the sketch

(Figure 3 – upload the sketch)

Import the sample to the IDE

Click the Files → Examples → ODROID-GO → Applications → Weather_Station menu to import the Weather station example.

Figure 4 - Arduino Application Selection
Figure 4 – Arduino Application Selection

Then, you will see a new window with the example code appear.

Figure 5 - Weather Code
Figure 5 – Weather Code

Compile and upload the binary

This guide assume that the port number is COM3. It might be different from yours. Verify and compile the sketch by clicking Sketch → Verify/Compile menu, or by pressing the CTRL-R shortcut.

Figure 6 - Compiling Sketch
Figure 6 – Compiling Sketch

If the compiling completes without any issue, upload the compiled binary by clicking Sketch → Upload or by pressing the CTRL-U shortcut.

Figure 7 - Uploading the Sketch
Figure 7 – Uploading the Sketch

You can omit the compile process since its done automatically when you just upload without doing a compile before. You will know the uploading is complete when the message: “Hard resetting via RTS pin…” appears.

Upload the data

This example has a web server program to serve measurements via a web page. To see that page, you have to upload the web page data to the ODROID-GO’s flash memory. SPIFFS lets you do that. If you click the Tools → ESP8266 Sketch Data Upload menu, SPIFFS utility will find the data directory in the current library and send it.

Figure 8 - data folder
Figure 8 – data folder

Click the menu to upload.

Figure 9 - Uploading SPIFFS image
Figure 9 – Uploading SPIFFS image

The uploading is completed when the message “Hard resetting via RTS pin…“ is displayed.


After the upload completes, the ODROID-GO reboots automatically. The screen showing each data measurement appears on the ODROID-GO, and after few seconds, the blue LED in the middle of the board turns on.

Visit with your device – PC / mobile

The blue LED indicates that the web server on the board is ready so that you can connect to it and read the data from the ODROID-GO’s access point. Find the Wifi AP named ODROID_GO_**** and connect to it (the default password is 12345678). Open a web browser and navigate to This IP address is set by default. You will see the web GUI showing each measurement, and the blue LED now keeps blinking after the socket communication starts. Using the Network Settings web page, you can set the Wifi configurations such as SSID, IP address, and password.

Figure 10 - Weather Station Webpage
Figure 10 – Weather Station Webpage

Figure 11 - Network Settings Webpage
Figure 11 – Network Settings Webpage

Be the first to comment

Leave a Reply