Hi recently i've been assigned to make a device that will measure dB for the mechanical lab in my school and show the dB on a screen and also a warning alert for example: green between 0-50 dB, Yellow 51-85, Red 86-130 dB, i'm new into electrical/electronics, right now im researching on how to create the schematic, choosing components, and implementing all together in one PCB.
My expecations are to design atmega328p based custom designed board, with Wifi maybe bluetooth, Micro SD slot, the common pinout, a relay and boost converter to power the 12v leds i will be using, and maybe the Microphone and amp board int he same PCB but i don't know if it will be convenient.
I took the first step and bought some sound sensors from amazon (KY-038 schematic) i been doing several tests to know if it will be suiteable for my project only to discover they only will work with abrupt sounds like claps to turn on and off things or similar applications, but not valid ADC values to convert to dB
Then i came across the possibility to make that ky-038 module work using an amplifier circuit, using transistors, opamp's, audio amplifiers, With the complementary use of other components like capacitors and resistors. The only problem is that there is no explanation of the circuit designs i've seen, there's only the schematic but no clue why every component is used and what it works for, i tried to search separately for every one to get a better understanding but i fully still don't understand it. In some of them they were using LM358 and LM386 using both for same application.
So if anyone could be so kind to help me i will be very grateful. Either explaining to me, videos, articles, courses, anything that you think could help. With the first step of designing the circuit to use with electret microphone to measure dB and then, the design of PCB lenght, angles, width, proximity of traces etc.
I know it will take a long time to learn those things but i will put all my effort to make this project happen, i usually don't post things like these even tough after researched and read many things across the internet but i feel i haven't crossed with the right information so that's why i came to you for help.
Thank you in advance