In this tutorial, you’ll make a simple Wi-Fi thermometer using the Particle Argon and the Grove Starter Kit for Particle Mesh. The goal is to measure the current temperature, display that value on a display, and use an RGB LED to give a visual warning if the temperature crosses a predefined threshold.
Thanks to the ease of use of the Grove system, this should be an accessible project even if you’re just starting out.
Required hardware
In order to follow along with this guide, you’ll need the following items.
- (1) Particle Argon — this project assumes you've set up your Argon. If you've not done that yet, follow the instructions here before you begin this project.
- (1) Grove Starter Kit for Particle Mesh — the kit comes with a number of different sensors. This project will use the follow parts from the kit:
- (1) Grove FeatherWing adapter
- (1) Temperature and humidity sensor
- (1) Chainable RGB LED
- (1) 4-digit display
- (3) Grove wires
Step 1: Build the hardware
Attach your Particle Argon to the Grove FeatherWing adapter. Then wire the Grove modules to the FeatherWing as listed in the table.
Grove FeatherWing port | Sensor |
---|---|
D2 | 4-digit display |
A2 | Temperature & Humidity sensor |
UART | RGB LED |
Step 2: Deploy the software
Click this link to open the Particle Web IDE and the code for this project. To import the code, click the COPY THIS APP button on the left of the screen.
Connect your Argon to your laptop using a micro USB cable and click the lightning bolt icon in the top left. This will compile the project source code and send the binary files to your Argon. That's it.
Assuming you've wired your project according to the table above, your 4-digit display should be showing the current ambient temperature.
Step 3: Customize the project
Congratulations! You built a Wi-Fi connected thermometer. To learn more about how the project code works and how you can customize the project, browse on over to the longer version of the project on the Particle blog.