GPS speedometer and clock
A bike or car speedometer that needs no wheel sensor: satellites do the measuring.
Shop by category
Shop all componentsThe ESP32 D1 R32 has the Uno's board shape and header layout but an ESP32 chip, so it fits Uno shields while adding Wi-Fi. The catch: its pins are 3.3 V, and some shield signals are 5 V. A plain proto shield is safe, and a DHT22 works at 3.3 V. The ESP32 serves a simple web page with the temperature and humidity that refreshes itself.
Never connect 5 V signals to the D1 R32's GPIO pins.
Tick anything you already have and the total updates.
Follow the colours: red is power, dark grey is ground, blue is a signal.
USB charger.
web_thermo.inoVerify & upload in Electrolark#include <WiFi.h>
#include <WebServer.h>
#include <DHT.h>
DHT dht(26, DHT22); // GPIO26 is the pin labelled D2 on most D1 R32 boards
WebServer server(80);
const char* SSID = "your-wifi";
const char* PASS = "your-password";
void page() {
float t = dht.readTemperature(), h = dht.readHumidity();
String s = "<meta http-equiv='refresh' content='10'><meta name='viewport' content='width=device-width'>"
"<h1 style='font-family:sans-serif'>Room</h1><p style='font-size:2em;font-family:sans-serif'>"
+ String(t, 1) + " °C<br>" + String(h, 0) + " %RH</p>";
server.send(200, "text/html", s);
}
void setup() {
Serial.begin(115200);
dht.begin();
WiFi.begin(SSID, PASS);
while (WiFi.status() != WL_CONNECTED) delay(300);
Serial.println(WiFi.localIP());
server.on("/", page);
server.begin();
}
void loop() { server.handleClient(); }
Wrong pin: use the GPIO number printed next to the header, not the Uno D label.
Weak USB cable or port; use a short cable and a good charger.
Many Uno shields expect 5 V logic or A0-A5 on fixed pins; check each shield before use.
No, only shields that work at 3.3 V logic; never feed 5 V into the ESP32 pins.
The positions match but the ESP32 ADC is 12-bit and 3.3 V; some pins cannot be used with Wi-Fi on.
Yes, there is plenty of room on the proto shield.
3 parts: ESP32 UNO D1 R3 R32 WiFi Bluetooth Development Board, UNO Proto Shield with SYB-170 Mini Breadboard and DHT22 AM2302 Digital Temperature & Humidity Sensor. On this page you can tick the parts you already have and add only the rest to your cart.
It is a beginner project and takes about 1 hour. The build on this page has 5 steps.
No. This page has the complete, tested code (web_thermo.ino).
About ₹665 for the parts at the prices on this page. Quantity price breaks lower the cost when you build several.
Uno-shaped ESP32 boards and their 3.3 V limits; Mapping Uno pin labels to ESP32 GPIO numbers; A tiny web server.
Never connect 5 V signals to the D1 R32's GPIO pins.
A bike or car speedometer that needs no wheel sensor: satellites do the measuring.
Records where you went every five seconds, ready to open on a map.
Two boards, two radios: press the button at the gate and it rings indoors.
Check temperature, humidity and pressure from any phone on your Wi-Fi.
Lessons are free to read. Maker (₹499/month) and Pro add quizzes, worked problems and certificates, paid with your Geekobot account. See plans
Learning project. Check every circuit and the datasheet of each part before you power it up.