Connected your PyPortal to the internet, but do you want to do more with your data?
This guide will get your PyPortal communicating with our Internet of Things service - Adafruit IO using the easy-to-use Adafruit IO CircuitPython library.
Aside from being a fantastic internet-connected display, the PyPortal includes a light sensor and a temperature sensor. Using these two sensors, we can capture and send data to the best data service in the world - Adafruit IO - for real-time data visualization and logging.
We'll be using the Analog Devices ADT7410 built into the PyPortal to measure the ambient temperature over I2C
Adafruit IO is the easiest way to stream, log, and interact with your data. It's built from the ground up to be easy to use - we do the hard stuff so you can focus on the fun stuff.
Data such as temperature and light levels can be hard to visualize and quantify - Adafruit IO makes it simple. Send IO your data and it can store and display it using charts, graphs, gauges, and more!
Adafruit's CircuitPython is great for building Internet-of-Things projects. Using the Adafruit IO CircuitPython module, you can easily send data to Adafruit IO, receive data from Adafruit IO, and easily manipulate data with the powerful Adafruit IO API.
You can rapidly update your code without having to compile and store WiFi and API secret keys on the device. This means that there's no editing code and re-uploading whenever you move the PyPortal to another network - just update a file and you're set.
If you're new to Adafruit IO or CircuitPython, take a moment to walk through the following guides to get you started and up-to-speed:
You only need a PyPortal for this guide - you'll be using the temperature and light sensors included with the PyPortal. No other sensors or external circuitry required!
You'll need some extra supplies to finish this project. If you do not have them already, pick some up from Adafruit: