Data Gathering Fun with Tom
This session will be all about gathering data from the physical world and storing it on the internet so that you can use it. Whether it's about the health of your plants, or the movements of your cat, or the quality of light at sunrise and sunset, there's plenty of fun to be had with a few sensors, an Arduino and a network. Whee!
I'll introduce the tools I most frequently use for this in my own work: the Arduino Nano 33 IoT and its WiFi capabilities. By the end of the session, you'll be make HTTP requests from your Nano to a remote server on Glitch.com, and you'll know a little bit about writing a server using node.js on Glitch.
Here's the session tutorial
To make this work, you'll need:
- To be comfortable programming Arduinos
- A WiFi-connected Arduino like the Nano 33 IoT, MKR 1010, or MKR1000.
- A simple input sensor (pushbutton or knob is fine)
- a free Glitch.com account
Background material you might want to review beforehand:
- Read A Gentle Introduction to HTTP by Maria del pilar Gomez ruiz to get an idea of how web clients and servers talk to each other.
You'll probably want to have a Nano 33 IoT of your own to follow along as well.
All the code I'll run in this session will run on the boards above. It may run on other Arduino-compatible models, but I can only guarantee the ones I'll have tested on.