After the Workshop

Change the WiFi SSID and password for your environment

During the workshop, your ESP8266 board has been connected to a temporary WiFi we've setup with SSID = "workshop."
When you install your Air Quality sensor in your own environment, you'll need to connect it to your WiFi.

You'll need to know the SSID and password for your 2.4Ghz WiFi network. (see note below about 2.4Ghz).

Revisit the Program the ESP8266 step.

In the Arduino IDE, use File ... Open to edit the Arduino sketch you saved. (Or, perhaps it's still open on your desktop.)

Locate this section of the sketch:

// SSID and Password for your router:

#define SECRET_SSID "workshop"

#define SECRET_PASS "arduino1"

Replace workshop with the SSID for your router.
Replace arduino1 with the password for your router.
Leave the quotation mar
ks (") in place.

Follow the instructions in Program the ESP8266 to save, compile, and check your sensor.

Follow the instructions in Testing and, hopefully, see your environment's air quality data on the map!

Important note - 2.4GHz WiFI only

The ESP8266 is only able to connect to 2.4Ghz WiFi. It does not operate with 5Ghz WiFi.
Therefore, be sure your WiFi router is configured to provide a 2.4Ghz channel.

Network security

The Arduino sketch we are using for this workshop only uses an outbound connection to the Internet to send the air quality data to ThingSpeak. No inbound or local network connections are used or needed.

You can choose to connect your Air Quality Sensor to your "guest" WiFi network if you have one configured. Typically, a "guest" network is limited to outbound connections to the Internet, but cannot connect to other devices on your local network.

Reassemble the case

Put the IKEA case back together, being careful to not pinch any of the wires.

No need to tighten the screws yet, as you'll need to connect the micro USB cable to the ESP8266 board one more time to update with the final sketch.

Tighten the screws on the IKEA case

Now that you are done with hardware assembly and programming, you can tighten the 4 screws that hold the IKEA case together.

USB power supply

Up to this point, you have been powering your air quality sensor via the micro USB connection on the ESP8266 board.

Once you have put the IKEA case back together, you can use the IKEA's USB C jack to power the sensor.

Use the Micro USB to USB C Adapter to connect the Micro USB cable to the IKEA sensor's USB C jack.
(see diagram).