Sparky's giveaways › 2026-12
ESP32-S3 DS18B20 Wi-Fi temperature sensor
Free PlatformIO project: an ESP32-S3-DevKitC-1-N16R8 reads a DS18B20 probe and graphs it on your free homeautomation.com dashboard.
Platform: ESP32-S3 / PlatformIO
Sparky's first real giveaway! A complete, ready-to-build PlatformIO project that reads a DS18B20 temperature probe on an ESP32-S3-DevKitC-1-N16R8 and graphs it on your free homeautomation.com device dashboard. No code edits needed: the board has its own Wi-Fi setup page - join the Sparky-Setup-XXXX network with your phone, pick your Wi-Fi, paste your device key, done.
What's in the zip
platformio.iniset up for the N16R8 (16 MB flash, 8 MB octal PSRAM,qio_opi), libraries pinnedsrc/main.cpp- phone-based Wi-Fi setup (captive portal), reads the sensor every 30 s, posts over verified HTTPS, read-only status page atsparky-XXXX.localweb/portal.html- the setup page source (about 15 KB, works with no internet) plus the generator and a desktop preview toolinclude/secrets.example.h- optional compile-time fallback (the phone setup is the default)WIRING.md+wiring.svg- pin table and diagramLICENSE(PolyForm Noncommercial 1.0.0) andNOTICE
Wiring in 10 seconds
| DS18B20 | ESP32-S3 |
|---|---|
| VDD (red) | 3V3 |
| GND (black) | GND |
| DATA (yellow) | GPIO4 + 4.7 kΩ pull-up to 3V3 |
Full parts list, wiring diagram, setup-page screenshots and LED colour codes: project page. Don't want to compile anything? You can also flash the prebuilt firmware from Chrome or Edge.
Never used PlatformIO?
Follow the PlatformIO getting-started guide - Windows, macOS and Linux, including which of the S3's two USB ports to use.
Then
- Create a free account and add a device to get its key (do this first - your phone has no internet while it is on the setup network).
- Build and upload (or flash from your browser), then join Sparky-Setup-XXXX with your phone and enter Wi-Fi + key.
- Watch your temperature graph update every 30 seconds. Hold the BOOT button for 5 seconds to run setup again.
License
Released under the PolyForm Noncommercial License 1.0.0: free for personal, hobby and educational use. Commercial use needs a license - get in touch. The full official text is in the zip (LICENSE) and at polyformproject.org.
Required Notice: Copyright (c) 2026 NetMedia, Inc. (homeautomation.com)

Get the free code
Enter your email and Sparky will unlock the download right here. 1 file(s) included.