GPS speedometer and clock
A bike or car speedometer that needs no wheel sensor: satellites do the measuring.
Shop by category
Shop all componentsThe ESP-12F is the small metal-shielded ESP8266 module found on NodeMCU boards. On its own it has no USB or regulator, so this project uses an adapter plate that adds a 3.3 V regulator and the pull-up and pull-down resistors it needs, then flashes it through a USB-TTL adapter. Holding GPIO0 low at reset puts it into flashing mode. After that it runs a small web page showing a waterproof DS18B20 probe's temperature.
Tick anything you already have and the total updates.
ESP-12F/E adapter plate with 5 V regulator
DS18B20 waterproof probe
Follow the colours: red is power, dark grey is ground, blue is a signal.
5 V from the USB-TTL adapter while flashing; any 5 V supply afterwards.
esp12_thermo.inoVerify & upload in Electrolark#include <ESP8266WiFi.h>
#include <ESP8266WebServer.h>
#include <OneWire.h>
#include <DallasTemperature.h>
OneWire ow(4);
DallasTemperature probe(&ow);
ESP8266WebServer web(80);
void page() {
probe.requestTemperatures();
float t = probe.getTempCByIndex(0);
web.send(200, "text/html", "<meta http-equiv=refresh content=10><h1>" + String(t, 1) + " C</h1>");
}
void setup() {
Serial.begin(115200);
probe.begin();
WiFi.begin("YOUR_WIFI", "YOUR_PASSWORD");
while (WiFi.status() != WL_CONNECTED) delay(300);
Serial.println(WiFi.localIP());
web.on("/", page); web.begin();
}
void loop() { web.handleClient(); }
GPIO0 was not held low at power-up, or TX and RX are not crossed.
The supply is weak; the ESP8266 draws 300 mA peaks.
The probe's pull-up is missing or the data wire is loose.
You can; this shows how to use the bare module when you design your own board.
Mostly the antenna layout; the pins and code are the same.
Yes with deep sleep; connect GPIO16 to RST so it can wake itself.
8 parts: ESP-12F ESP8266 Wi-Fi Module w/ PCB Antenna, ESP-12F/ESP-12E Serial WiFi Adapter Module 5V, Moresense USB to TTL UART Tool MS58-2020D13M4, DS18B20 Waterproof Temperature Probe – 1m Cable, Stainless Steel, Resistor Assortment Kit (30 Values), Tactile Push Button Switch, Solderless Breadboard and Dupont Jumper Wires (40 pcs). Tools: Solder Wire 60/40 Rosin Core. On this page you can tick the parts you already have and add only the rest to your cart.
It is a intermediate project and takes about 2-3 hours. The build on this page has 6 steps.
No. This page has the complete, tested code (esp12_thermo.ino).
About ₹436 for the parts at the prices on this page, plus tools if you do not have them. Quantity price breaks lower the cost when you build several.
ESP8266 boot modes; Flashing through a USB-TTL adapter; Reading a one-wire temperature probe.
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.