Project Files of Classroom Noise Meter: ESP32, KY-038 and SHT31 Proteus Simulation
4988ecc9cfd34511bac93f350a86861e.zip

Classroom Noise Meter: ESP32, KY-038 and SHT31 Proteus Simulation V1.0
Classroom Noise Meter: ESP32, KY-038 and SHT31 Proteus Simulation V1.0 comes as a ZIP archive of 24 files (4.7 MB, 10.3 MB unpacked) holding Proteus library files, simulation model DLLs, a Proteus simulation, an Arduino sketch and compiled HEX firmware.
- LIBProteus library
- DLLProteus model
- DSNProteus simulation
- INOArduino sketch
- HEXHEX firmware
Description
Classroom-Noise-Meter-ESP32-KY-038-Proteus-Simulation-v1.0.zip: the complete Proteus simulation project (ESP32 DevKit V1, a KY-038 sound sensor, an SHT31, an SH1106 OLED, SMD LEDs and resistors, the Laptop and Mobile WiFi Monitors), the Arduino sketch and its HEX file, every LIB and DLL and a README.
File Structure
9.8 KB36.6 KB39.5 KB13.1 KB77.5 KB44.4 KB17.7 KB171.9 KB108.7 KB3.0 MB342.5 KB537 KB290.5 KB305.5 KB410.5 KB33.4 KB105 KB3.0 MB342.5 KB537 KB290.5 KB305.5 KB410.5 KB10.5 KBGallery12 images from the tutorialOpen the tutorial
The circuit, the board and the results as they appear in Classroom Noise Meter: ESP32, KY-038 and SHT31 Proteus Simulation. Open an image for its full size.












README
===============================================================================================================
Classroom Noise Meter: ESP32, KY-038 and SHT31 Proteus Simulation - Project V1.0
The Engineering Projects - www.TheEngineeringProjects.com
===============================================================================================================
IMPORTANT LINKS
The project tutorial (circuit, code, simulation results):
https://www.theengineeringprojects.com/2026/11/classroom-noise-meter-esp32-ky-038-proteus-simulation.html
The libraries this project is built from (each post has its own full download and tutorial):
ESP32 DevKit V1 board:
https://www.theengineeringprojects.com/2026/10/esp32-devkit-v1-library-for-proteus-v2-0.html
KY-038 sound sensor:
https://www.theengineeringprojects.com/2026/10/sound-sensor-library-for-proteus-v3-0.html
SHT31 temperature / humidity sensor:
https://www.theengineeringprojects.com/2026/09/sht31-proteus-library.html
SH1106 1.3" OLED display:
https://www.theengineeringprojects.com/2026/10/oled-sh1106-library-for-proteus-v1-0.html
SMD LED:
https://www.theengineeringprojects.com/2026/11/smd-led-library-for-proteus.html
SMD resistor:
https://www.theengineeringprojects.com/2026/11/smd-resistor-library-for-proteus.html
Laptop WiFi Monitor:
https://www.theengineeringprojects.com/2026/10/laptop-wifi-monitor-library-for-proteus.html
Mobile WiFi Monitor:
https://www.theengineeringprojects.com/2026/10/mobile-wifi-monitor-library-for-proteus.html
Support our free work: https://www.theengineeringprojects.com/donate
FILE STRUCTURE
ESP32-Classroom-Noise-Meter-TEP-v1.0/
|-- Proteus Library Files/
| |-- TEPESP32V1.LIB 36.6 KB a part of the project -> LIBRARY folder
| |-- TEPLAPTOP.LIB 39.5 KB a part of the project -> LIBRARY folder
| |-- TEPMOBILE.LIB 13.1 KB a part of the project -> LIBRARY folder
| |-- TEPOLEDSH1106.LIB 77.5 KB a part of the project -> LIBRARY folder
| |-- TEPSHT31.LIB 44.4 KB a part of the project -> LIBRARY folder
| |-- TEPSMDLED.LIB 17.7 KB a part of the project -> LIBRARY folder
| |-- TEPSMDRES.LIB 171.9 KB a part of the project -> LIBRARY folder
| |-- TEPSOUND.LIB 108.7 KB a part of the project -> LIBRARY folder
|-- Proteus Model Files/
| |-- TEPNET.DLL 2.97 MB a model -> MODELS folder
| |-- TEPOLED.DLL 342.5 KB a model -> MODELS folder
| |-- TEPSHT31.DLL 537.0 KB a model -> MODELS folder
| |-- TEPSMDLED.DLL 290.5 KB a model -> MODELS folder
| |-- TEPSMDRES.DLL 305.5 KB a model -> MODELS folder
| |-- TEPSOUND.DLL 410.5 KB a model -> MODELS folder
|-- Proteus Simulation/
| |-- ESP32_Noise_Meter.hex 105.0 KB the firmware
| |-- ESP32-Noise-Meter.pdsprj 33.4 KB the project simulation
| |-- TEPNET.DLL 2.97 MB copy of the model
| |-- TEPOLED.DLL 342.5 KB copy of the model
| |-- TEPSHT31.DLL 537.0 KB copy of the model
| |-- TEPSMDLED.DLL 290.5 KB copy of the model
| |-- TEPSMDRES.DLL 305.5 KB copy of the model
| |-- TEPSOUND.DLL 410.5 KB copy of the model
|-- Arduino Code/
| |-- ESP32_Noise_Meter/ESP32_Noise_Meter.ino 9.8 KB the sketch (source of the .hex)
|-- README.txt ~10.4 KB this file
Total: 10.28 MB (unzipped). The C++ source code of the models is not included.
WHAT IS IT?
A noise and comfort meter for a classroom, a library or an open office: a traffic light that turns amber when
the class talks and red when it gets too loud, an OLED on the wall and a dashboard on the teacher's laptop.
* U1 ESP32 DEVKIT V1 runs ESP32_Noise_Meter.hex on TEP-WiFi at 192.168.1.101 (port 80).
* U2 a KY-038 sound sensor (SOUNDADVTEP, the pop-up panel): A0 (the microphone's amplified signal) to D34,
D0 (its LM393 comparator) to D35, VCC on a +3.3V supply terminal.
* U3 an SHT31 temperature / humidity sensor (SHT31ADVTEP, the pop-up panel) and OLED1 an SH1106 1.3" OLED
(SH1106WHITEADVTEP) on I2C: SDA D21, SCL D22; the SHT31's ADDR to GND (0x44), the OLED at 0x3C.
The OLED's VDD is on +3.3V; the SHT31's VIN is on the default power rail - its digital model reads VIN as a
logic level (a real GY-SHT31-D has its own regulator and takes 3.3 V or 5 V).
* D1 / D2 / D3 the noise light, SMD LEDs green / amber / red (LEDSMDGREENTEP, LEDSMDAMBERTEP, LEDSMDREDTEP) from
D25 / D26 / D27 through R1 - R3, 220 ohm SMD resistors (RESISTORSMD1206TEP).
* Laptop WiFi Monitor (PC1) and Mobile WiFi Monitor (MOB1) open http://192.168.1.101/.
The rules (at the top of the sketch):
* every 50 ms the ESP32 samples A0 as fast as it can and takes the swing (peak to peak); the swing in dB
against 1 mV is the level, dB(rel) - relative, because a KY-038 is not calibrated;
* the meter level follows it like a VU needle: half way up in one window, 2 % of the way down per window;
* below 20 dB(rel) QUIET (green), 20 - 40 TALKING (amber), 40 and up TOO LOUD (red); too loud for 5 s in a row
is a WARNING;
* D0 on an interrupt: a burst of D0 pulses shorter than 60 ms is a bang (a clap, a door slamming); a long
sound (an alarm, shouting) trips D0 for longer and is not counted as a bang;
* the SHT31 every 2 s: comfortable at 20 - 26 C and 30 - 60 % RH, else too warm / too cold / too humid / too dry.
The pages:
/ the dashboard: the light, the level and the peak, loud time, bangs, warnings, the room, the events
/reset clears the counters and the peak /data JSON
Libraries: Adafruit SHT31, Adafruit SH110X, Adafruit GFX and Adafruit BusIO (Library Manager); WiFi, WebServer and
Wire are part of the ESP32 core.
TEST STATUS
Tested in Proteus 8 Professional on Windows 11, the run that made the tutorial's screenshots (the sketch's times):
- The empty room: 15 dB(rel) (the microphone's own noise, a 5.6 mV swing), QUIET, green; 2.5 s "the room: 25.0 C,
50 % - comfortable" (the SHT31's pop-up: the sketch read 24.99 C, 50.00 %, dew point 13.8 C).
- Group work (Talking, 68 dB at 10 cm): 13.2 s TALKING (21 dB), the needle at 23 - 24 dB(rel), amber.
- The class shouting (Talking at 90 dB): 22.1 s TOO LOUD (42 dB), the needle at 43 - 44, red; 27.2 s "WARNING: too
loud for 5 s". Each syllable trips D0 for about 114 ms (18 pulses): no bangs.
- Quiet: the needle falls slowly - TALKING (37 dB) at 34.6 s, QUIET (17 dB) at 41.9 s. One clap, then a double clap:
three bangs, D0 tripped for 17 ms each (the pop-up: 9 pulses in 18.1 ms); each clap lifted the needle to amber
for a few seconds; QUIET again at 53.1 s.
- The school bell (Alarm, 90 dB): 58.4 s TOO LOUD (44 dB), the needle at 45; 63.4 s the second warning; D0 tripped
for 244.5 ms per beep (216 pulses): 0 bangs.
- A stuffy room (the SHT31 at 71 %): 68.6 s "the room: 25.0 C, 71 % - too humid"; QUIET again at 75.9 s.
- The dashboard before RESET: loud 28 % of the time, 3 bangs, 2 warnings, peak 53 dB(rel); 84.1 s RESET.
- 86 s of simulation in about 7 minutes.
INSTALLATION
1. Close Proteus. Extract the WHOLE zip file, for example to your Desktop.
2. Copy the files from "Proteus Library Files" into the LIBRARY folder of Proteus, for example
C:\Program Files (x86)\Labcenter Electronics\Proteus 8 Professional\LIBRARY
3. Copy the files from "Proteus Model Files" into the MODELS folder (next to LIBRARY).
4. Start Proteus. Press P in the schematic and search for ESP32 DEVKIT V1, SOUNDADVTEP or SHT31ADVTEP to check
that the parts are there.
RUN THE SIMULATION
1. Open "Proteus Simulation\ESP32-Noise-Meter.pdsprj". Keep the HEX file and the DLL files beside it.
2. Press Play. The empty room reads about 15 dB(rel): the green light.
3. On the sound sensor's pop-up (U2) pick a source: Talking (amber), then drag the Level up to 90 dB (red, and
a warning after 5 s); Quiet, then Clap and Double clap (bangs); Alarm (red, no bangs).
4. On the SHT31's pop-up (U3) move the humidity or the temperature, or pick a preset.
5. Open the Laptop WiFi Monitor (PC1) or the Mobile WiFi Monitor (MOB1) and press Go: Refresh, RESET.
Your own sketch: compile it, export the compiled binary and set U1's PROGRAM to the new file.
PROPERTIES USED IN THIS PROJECT
U1 ESP32 DEVKIT V1 PROGRAM=ESP32_Noise_Meter.hex, AUTOOPEN=YES (TEP-WiFi, 192.168.1.101)
U2 SOUNDADVTEP the quiet room at 10 cm, the pot at 530 (the pop-up changes the scene)
U3 SHT31ADVTEP 25 C, 50 % (the pop-up); OLED1 SH1106WHITEADVTEP address 0x3C
D1 - D3 SMD LEDs; R1 - R3 220 ohm
PC1, MOB1 HOMEPAGE=http://192.168.1.101/
TROUBLESHOOTING
* "SHT31 not found at 0x44": SDA / SCL are not on D21 / D22, ADDR is not on GND, or VIN has no supply.
* The OLED stays dark: VDD and GND, SDA D21 / SCL D22; the address must be 0x3C.
* The light never leaves green: A0 must be on D34 (an ADC1 pin - ADC2 pins do not work while Wi-Fi is on).
* Claps are not counted: D0 must be on D35, and the sensitivity pot must leave the quiet A0 above VCC/2.
LICENCES
* The project, the sketch, the parts (LIB files) and the models (DLL files) are made by The Engineering
Projects and are free for learning and for your own projects. The models use only standard Windows libraries.
The C++ source code of the models is not included; the source code is not included for any model.
* Proteus is a product of Labcenter Electronics and is not included. ESP32 is a product of Espressif Systems,
the SHT31 a sensor of Sensirion. This project is not made or endorsed by them.
VERSION
V1.0 - the first release of the project.
===============================================================================================================Development1 release
-
V1.0Classroom Noise Meter: ESP32, KY-038 and SHT31 Proteus Simulation V1.0this page
V1.0 is the only release in the Download Center so far. When a newer version is published, it appears above with its own download page.
Installation8 steps
From the download to a working project, in order. The steps follow what the package contains.
You will need
- Proteus Design SuiteProteus 8 or newer (Labcenter), on Windows
- Arduino IDE1.8 or 2.x, with the board of the tutorial chosen under Tools → Board
- Any archive toolWindows, macOS and Linux extract ZIP files on their own
Steps
- 1
Extract the archive
Right-click 4988ecc9cfd34511bac93f350a86861e.zip and choose Extract All (or open it with 7-Zip or WinRAR) into a folder you can find again. Keep its folder structure (ESP32-Classroom-Noise-Meter-TEP-v1.0) as it is.
- 2
Copy the library files into Proteus
Move TEPESP32V1.LIB, TEPLAPTOP.LIB and TEPMOBILE.LIB and 5 more and the files into the LIBRARY folder of your Proteus installation: C:\Program Files (x86)\Labcenter Electronics\Proteus 8 Professional\LIBRARY for Proteus 8, or the matching Proteus 7 folder. Older versions keep it under ProgramData\Labcenter Electronics. If Proteus is open, close it first.
- 3
Add the simulation model
Copy TEPNET.DLL, TEPOLED.DLL and TEPSHT31.DLL and 3 more into the MODELS folder next to LIBRARY, so the component can run, not only be drawn.
- 4
Restart Proteus and place the component
Start Proteus, open a schematic, press P (Pick Devices) and search for the component by the name used in the tutorial. It appears with its pins ready to wire.
- 5
Open the sketch in the Arduino IDE
Open ESP32_Noise_Meter.ino, select your board and port under Tools, then Verify. Sketch → Export Compiled Binary writes the HEX file a simulation needs.
- 6
Load the HEX file
In Proteus double-click the microcontroller, set Program File to ESP32_Noise_Meter.hex and run the simulation. For real hardware, flash the same file with your programmer.
- 7
Open the example simulation
Open ESP32-Noise-Meter.pdsprj in Proteus to see the wiring exactly as in the tutorial. Check the controller's Program File path, then press Play.
- 8
Follow the tutorial
Classroom Noise Meter: ESP32, KY-038 and SHT31 Proteus Simulation explains every connection and setting in order; keep it open beside the files while you build.
FAQs9 questionsContact TEP
How do I download Classroom Noise Meter: ESP32, KY-038 and SHT31 Proteus Simulation V1.0?
Wait for the 30-second guest countdown on this page, then press the download button; the file comes straight from our storage. Members who are logged in skip the wait. If the browser opens the file instead of saving it, use its Save as option. The download link is made for you when the countdown ends and works for 15 minutes; a saved or shared link stops working, so share this page instead.
What is inside the archive?
Classroom Noise Meter: ESP32, KY-038 and SHT31 Proteus Simulation V1.0 comes as a ZIP archive of 24 files (4.7 MB, 10.3 MB unpacked) holding Proteus library files, simulation model DLLs, a Proteus simulation, an Arduino sketch and compiled HEX firmware. Open the File Structure tab for the full list of 24 files.
What should I do if the download does not start?
Check the browser's download list first; an ad blocker or a company firewall can also hold it back, so try another browser or network. If the file arrives incomplete, download it again. For an installation problem, read the Install tab or tell us in the comments with your software version and the exact error message.
Is this file free?
Yes. Every file in the TEP Download Center is free for learning, personal and student projects. If you share it, link back to this page or the tutorial so others find the latest version.
How do I check that the file arrived complete?
Compare its SHA-256 with the one on this page, 4d0b74906f29159fe534eb9032fe06e34bcd2797e13a2345188287053591f6c5. In PowerShell run Get-FileHash "4988ecc9cfd34511bac93f350a86861e.zip"; on macOS or Linux run shasum -a 256 "4988ecc9cfd34511bac93f350a86861e.zip". The same value means the file is exactly the one in our storage; a different one means the download broke off, so download it again.
Do I need WinRAR to open the ZIP file?
No. Windows, macOS and Linux open ZIP archives on their own (Extract All, or double-click). WinRAR and 7-Zip work too. Extract the whole archive before using the files.
Where do I put the LIB and IDX files?
Both files go into the LIBRARY folder of your Proteus installation (Proteus 8: C:\Program Files (x86)\Labcenter Electronics\Proteus 8 Professional\LIBRARY; Proteus 7 has the same folder under its own name). Restart Proteus afterwards and search for the component with P.
Which Proteus version does the library need?
The tutorial names the Proteus version the library was made and tested with. Most TEP libraries work in Proteus 7 and Proteus 8; if the component does not appear after a restart, check that both the LIB and the IDX file were copied and that Proteus was fully closed while copying.
How do I get the HEX file into the simulation?
Compile the sketch in the Arduino IDE (Sketch → Export Compiled Binary gives you the HEX next to the sketch), then in Proteus double-click the board, set Program File to that HEX and run.
Members skip the wait. Log in or join TEP.
- 0Total downloads
- 4%Popularity
- ESP32 ProjectsCategory
- 0Comments
- ssyedzainnasirUploaded by
- 22 Nov 2026Uploaded at
4d0b74906f29159fe534eb9032fe06e34bcd2797e13a2345188287053591f6c5






















Comments
0