0% found this document useful (0 votes)
71 views

DIY Wi Fi Sensor No Programming No Soldering Requi

This document describes how to create a WiFi temperature sensor using an ESP32, DS18B20 temperature sensor, and OLED display without requiring any programming or soldering. The sensor can be configured using no-code platforms like Tasmota or ESPHome to read and display temperature data. Components are assembled using a modular open source prototyping system called Misistemita that utilizes screw terminals and does not require soldering.

Uploaded by

Franco Palumbo
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
71 views

DIY Wi Fi Sensor No Programming No Soldering Requi

This document describes how to create a WiFi temperature sensor using an ESP32, DS18B20 temperature sensor, and OLED display without requiring any programming or soldering. The sensor can be configured using no-code platforms like Tasmota or ESPHome to read and display temperature data. Components are assembled using a modular open source prototyping system called Misistemita that utilizes screw terminals and does not require soldering.

Uploaded by

Franco Palumbo
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 11

instructables

DIY Wi-Fi Sensor, No Programming, No Soldering Required*

by Galopago

Software no-code/low-code platforms made it possible to create applications, writing only a few lines of code, and in
some cases, ¡no code at all!. This reduces development e ort and deployment time.
This project combines two ideas: no-code/low-code software platform and a quick, robust prototyping system that
requires no soldering. In this spirit, it is possible to move from an idea, to a materialised device working in a real
environment in a few hours.

DIY Wi-Fi Sensor, No Programming, No Soldering Required*: Page 1


Step 1: DIY Wi-Fi Sensor, No Programming, No Soldering Required*

Software no-code/low-code platforms made it possible to create applications, writing only a few lines of code, and in
some cases, ¡no code at all!. This reduces development e ort and deployment time.
This project combines two ideas: no-code/low-code software platform and a quick, robust prototyping system that
requires no soldering. In this spirit, it is possible to move from an idea, to a materialised device working in a real
environment in a few hours.
Key component: ESP 32 D1 MINI

Step 2: Quick, Robust Hardware-software Prototyping

The following application will be built as an example: a WiFi thermometer based on ESP32, DS18B20 temperature sensor,
and local I2C indicator. All this enclosed in a waterproof, wall-mountable box and powered by 5V. This will be
accomplished using the following projects:
HARDWARE: Quick, Open Source, robust prototyping system: MISISTEMITA
SOFTWARE: Tested TASMOTA and also ESPHome.

DIY Wi-Fi Sensor, No Programming, No Soldering Required*: Page 2


Step 3: Bill of Materials

Discrete parts needed.

Component Datasheet - Buy link.


ESP32 D1 MINI - buy it
OLED 0.96 I2C Display - buy it
DS18B20 waterproof temperature sensor - buy it
1/4W 1% TH Resistor - buy it
Generic waterproof “Sono ” enclosure 100x68x50mm - buy it

Components needed to build the required misistemita modules.

Component Datasheet - Buy link.


Reverse locking nylon spacer - buy it
M2.6 B-type self-tapping screw - buy it
3.5mm kf350 screw terminal (2,3 pins) for PCB - buy it
2.54mm female header connector - buy it

Printed circuit boards needed to build the required misistemita modules

PRINTED CIRCUIT BOARD SOURCE FILES REPOSITORY - BUY LINK


A06 - Backplate for generic waterproof 100 x 68 x 52 mm enclosure - buy it
B02 - 3.5mm screw terminal 2x7 connection board - buy it
C12 - 3.5mm screw terminal breakout for ESP32 D1 MINI - buy it
C10 - 3.5mm screw terminal breakout for I2C display - buy it

SOFTWARE REPOSITORY - DOWNLOAD LINK


ESPHome - download
TASMOTA - download

DIY Wi-Fi Sensor, No Programming, No Soldering Required*: Page 3


Step 4: Hardware Assembly

Soldering will not be required* if the modules to be used have been built or acquired beforehand. The rst step is to
locate the boards in the backplate, as good practice, the screw terminal wire connection boards should be placed
somewhere on the edge of the backplate and as close as possible to the cable entry point.
The second step is to wire the di erent modules depending on the originally proposed project. Both solid copper cable
and multi-stranded copper cable can be used. Downloading a minimum test rmware is recommended to test the
connectivity of the components.
The third step is to remove the external connections, locating the backplate in the enclosure and securing it with self-
tapping screws. Pass the power cables through the cable glands and reconnect them to the board.
The nal step consists of closing the cover, adjusting the cable glands, and installing on the wall.

DIY Wi-Fi Sensor, No Programming, No Soldering Required*: Page 4


DIY Wi-Fi Sensor, No Programming, No Soldering Required*: Page 5
DIY Wi-Fi Sensor, No Programming, No Soldering Required*: Page 6
DIY Wi-Fi Sensor, No Programming, No Soldering Required*: Page 7
Step 5: Firmware Setup

The following points are not intended to be a comprehensive installation or con guration guide. For more information,
refer to the documentation of each platform used, (Tasmota and ESPHome). Brie y, some hints about how the sensor
was created on each of them will be presented.

Step 6: Tasmota

The philosophy of Tasmota consists of a basic pre-compiled rmware that is downloaded to the device and once
downloaded it is customized using templates. The Tasmota installer is based on a web browser, so no additional software
is required. The following parameters were used:
Base Firmware: Display
Template setup: I2C port pins, DS18B20 sensor pin
Display mode: 0
Display type: SSD1306
DIY Wi-Fi Sensor, No Programming, No Soldering Required*: Page 8
Temperature visualization rule: rule 1 ON DS18B20#Temperature DO Displaytext[zs2y20] %value% C
ENDON

Step 7: ESPHome

The philosophy of ESPHome consists of compiling a custom rmware using a YAML con guration le. This means that
Home Assistant needs to be installed, and once it’s up and running, ESPHome should be installed as an add-on. After
these two steps, it’s already possible to create sensors. A part of the con guration le is shown here in the most
signi cant sections.

DIY Wi-Fi Sensor, No Programming, No Soldering Required*: Page 9


# GPIO setup
dallas:
- pin: 26
i2c:
sda: 21
scl: 22

# Sensor setup
sensor:
- platform: dallas
address: 0x8c01131b44162184
id: outside_temperature
name: "External temperature"
font:
# gfonts://family[@weight]
- file: "gfonts://Roboto"
id: roboto
size: 20
display:
- platform: ssd1306_i2c
model: "SSD1306 128x64"
address: 0x3c
lambda: |-
it.printf(90, 35, id(roboto), TextAlign::BASELINE_RIGHT , "%.1f °C", id(outside_temperature).state);

DIY Wi-Fi Sensor, No Programming, No Soldering Required*: Page 10


Step 8: End Result

hardware:

The assembly of the hardware, starting from pre-built modules, took approximately one hour.
rmware:

Sensor rmware setup, using Tasmota, took approximately 10 minutes. Making a change to con guration like an I/O pin
or visualization rule takes approximately 1 minute.
The same task, using ESPHome, took approximately 2 hours the rst time, because Home Assistant needs to be installed
(On a Raspberry Pi or other computer). Once ESPHome is installed Making a change in con guration takes around 5 to 10
minutes depending of the speed of the Rpi for code compilation.
On both platforms, the rst setup is wired (ESP32 connected to a PC). After that all updates are done wirelessly (OTA).
The only “code” that was typed on both platforms was the minimum necessary to visualize temperature on the I2C
display. Each platform has its own way to do that. In both cases, has been just a single line.

DIY Wi-Fi Sensor, No Programming, No Soldering Required*: Page 11

You might also like