Blueprint

Visual Sound Level Meter

A scale of LEDs that react to sound levels.

Created by Enginerd14 Enginerd14

Tier 4

7 views

0 followers

m0.hid m0.hid ⚡ approved Visual Sound Level Meter ago

Tickets awarded: 500 tickets

Tier: 4

Nice work on this! I love the amount of detail you put into your journal, and how you made your PCBs yourself!

cubit010 cubit010 ⚡ submitted Visual Sound Level Meter for ship review ago

Enginerd14 Enginerd14 submitted Visual Sound Level Meter for ship review ago

cubit010 cubit010 ⚡ requested changes for Visual Sound Level Meter ago

amazing work!
really cool how you made your own pcb for the first few iterations!
one last thing you need i forgot to mention last time is the source cad file, since you made your cad in fusion, please add the .f3d / .f3z export of your cad!
let me know on slack once you're done so i can approve quickly bc this is really cool

Tier: 4

cubit010 cubit010 ⚡ submitted Visual Sound Level Meter for ship review ago

Enginerd14 Enginerd14 submitted Visual Sound Level Meter for ship review ago

cubit010 cubit010 ⚡ requested changes for Visual Sound Level Meter ago

hey there you're missing a demo video!
you also need a picture of the finished build in the repo readme!

Tier: 4

CAN CAN ⚡🚀 submitted Visual Sound Level Meter for ship review ago

Enginerd14 Enginerd14 submitted Visual Sound Level Meter for ship review ago

Enginerd14 Enginerd14 added to the journal ago

Finishing the device

I assembled everything and it was ready to test. I turned it on and it worked exactly as I wanted it to.

https://youtube.com/shorts/JQ9ZsPvnyYY?feature=share

image

Enginerd14 Enginerd14 added to the journal ago

Designing casing

I began designing the case in Solidworks. I used a vernier caliper to measure the size of the PCB so that I could correctly size the case so that the components would fit easily. I began with a rectangle and extruded it to create a solid body. Then, I used the fillet tool to round the edges to provide rigidity and also make it more appealing. After that, I used the split tool to create two separate bodies: the base and the lid. Then I added the cutouts for the LEDs, the microphone and the switch in the base and added a lip in the lid that would slot into the base. This would allow the case to open and close without using screws.

image

Enginerd14 Enginerd14 added to the journal ago

Remaking the LED PCB

Now that I had confirmed the project was working as expected, I decided to remake my LED PCB in order to fix the Pin headers to remove the need for the wires between the PCBs. I used the same process to make the PCB as outlined before by using the acid etch tank, drilling the holes and soldering the components. However this time, I soldered the pin headers further out from the PCB so that they would correctly seat into the pin sockets. Once I had soldered all the components, itested the PCB by seating it into the sockets on the LM3915 PCB. When powering the circuit on, everything worked as expected. This meant I could replace the LED PCB.

image

Enginerd14 Enginerd14 added to the journal ago

Soldering my fixed PCBs together

I re breadboarded the microphone circuit in the breadboarded and changed the value of the capacitor and this fixed the issue so I repeated this on the PCB as well. I soldered the working PCBs together in order to test the final project. Then, I used the power supply to confirm it worked as expected when all the PCBs were combined.

image

Enginerd14 Enginerd14 added to the journal ago

Fixing my PCBs

As the LM3915 PCB was working, I diverted my attention to the TDA7266 and the Microphone PCB. After connecting it to power, I ensured that the TDA7266 chip was not overheating and that there was no short circuit occurring. I used a stereo socket to bypass the microphone and test whether the TDA7266 was working as expected. Using a logic probe, I was able to confirm that the signal out pin of the TDA7266 was producing the required output when using the stereo socket but not when using the microphone. After inspecting the microphone PCB and the circuit diagram for an electret microphone, I realised that the resistor should have been connected to plus volts not ground. I was able to fix this and test the TDA7266 with the LM3915. This produced the desired result however even when there was little to no volume, LEDs 1 to 4 remained on.

image

Enginerd14 Enginerd14 added to the journal ago

Soldering my new PCBs

After soldering all the PCBs together, I found that it didn't work. the LEDs weren't on as the pin headers and sockets weren't making contact because of the solder joints. Using male to male dupont wires, I was able to test each LED segment to see whether the LM3915 PCB was working as expected. I connected the signal pin to a potentiometer and connected one side of the dupont wire to the pin socket on the LM3915 PCB and the other end of the wire to the breadboard which was connected to the LED bar graph. Upon powering on the PCB and the breadboard, all of the LEDs turned on except the 7th LED. After using a logic probe, I found that the LED should have been working. I thought that the LED bar graph was damaged so I replaced it however I had the same issue. After moving the bar graph down, the 7th LED worked but the 8th LED stopped working. This means that the track in the breadboard does not work. As I changed the resistance of the potentiometer, the LEDs turned on and off sequentially proving that the first section of the LM3915 PCB works. I repeated this with the other sections receiving the same result proving that the LM3915 PCB works as expected.

image
image
image

Enginerd14 Enginerd14 added to the journal ago

Soldering my new PCB

I made my new PCBs and I completed the soldering of all of the components of my new PCBs. I then began testing my main LM3915 PCB. I tried to use my old breadboard where I produced the prototype circuits however I noticed that my once working circuit weren't working anymore and that the power supply was showing that there was a short circuit. I think the breadboard itself is damaged so I used another breadboard instead. It was difficult to connect the wires of my PCB to the breadboard because I was using multistrand wire instead of single strand wire so they just kept popping out. Eventually I managed to keep them in long enough to test it and prove it works and take a picture. Thankfully, when I connected the signal pin to plus volts all the LEDs I had connected were on showing that the PCB works. Also the ICs weren't overheating and the power supply only had a green light so luckily there were no short circuits.

image

Enginerd14 Enginerd14 added to the journal ago

Designing my new PCB in KiCad

I was scared about the tracks being too thin and the acid etch tank not being able to produce the tracks and thus the PCB properly so I thought about using JLCPCB instead.

However, Circuit Wizard doesn't let me export my PCB as a gerber so I have to redesign it in KiCad.

This was a LOT quicker than Circuit Wizard because of the auto routing tool and also allowing for tracks on both the front and the back of the PCB

I uploaded it to JLCPCB and saw that my PCBs would be under 10gbp in total but I would have to wait 12 days for it to be delivered. I decided that I would try the acid etch tank PCB first and use this if that fails.

image
image
image
https://lapse.hackclub.com/timelapse/Xt3aB62gZel_

Enginerd14 Enginerd14 added to the journal ago

Designing my new PCB

I designed my PCB using the working schematic I created. I began with the main control PCB with the LM3915s. It was extremely difficult to ensure all tracks were connected together without using any zero ohm resistors or wire jumpers. I managed this however it resulted in many tracks being very thin which can be an issue while producing the PCB. I added the pin sockets to the output pins of the LM3915. Although, the first output pin is on the opposite side of the IC to the rest and there was no way to draw a track to connect the pin to the pin socket. Therefore, instead, I used a 9 pin socket and used a copper pad for the first output pin where I will solder a wire that connects to the other PCB. I then created the PCB for the LED bar graph. This was quite simple as one side was all connected to plus volts. The other side was connected to the pin headers. I made sure that the two PCBs would line up so that they would stack easily.

image

Enginerd14 Enginerd14 added to the journal ago

Designing my new Schematic

I drew the schematic for my new design in Circuit Wizard. After doing so many schematics of the LM3915, I have practically memorised all the pin connections. I looked through the datasheet and online schematics to see if I needed something different for the third LED bar graph. I concluded that it should work in the same way as the 2nd one so I produced it in the same way. I connected the Ref high of the middle IC to the ref low of the top IC. After a quick test on circuit wizard it seemed to work perfectly.

image

Enginerd14 Enginerd14 added to the journal ago

Catching up

Had to take a slight break because of exams but they're finally finished now!!! :)

I examined my PCBs and noticed that the main PCB that controls everything seemed damaged. The copper tracks seemed to have peeled off possibly due to the intense repeated heat of the soldering iron when soldering ALL of those pesky wires. After a quick test, I realised that it was broken.

I give up.

JK.

I am going to simplify it first though. Instead of having 6 columns ill only do 1. However instead of only 2 LED bargraphs per column I'm making it 3 so it has a range of up to 90dB.

Also After some research I found that instead of using wires, I could use pin sockets and headers. These will be much easier to solder and also will be much better visually and for testing as the PCBs will be able to split apart.

image
image

Enginerd14 Enginerd14 added to the journal ago

TDA7266 PCB

I began designing my final PCB: the TDA7266 amplifier with the microphone. This was difficult as my working protoype was slighlty different to the schematic on the datasheet, but I managed in the end using a multimeter to test the values of all my components in my PCB.

image
image

Enginerd14 Enginerd14 added to the journal ago

Producing the redesigned main PCB

Once more, I produced my PCB and tested the continuity using a multimeter. Once ensuring all tracks were connected, I promptly began the drilling of ALL the holes. Yes All 200 :(

I began and managed to complete all of the soldering of my PCB. I decided not to solder every wire this time, only a couple for testing first.

I connected both PCBs. I connected the power wires to my breadboard. And then I switched on my power supply......

And IT WORKED!!!!

image

Enginerd14 Enginerd14 added to the journal ago

Redesigning the main PCB

I decided to completely redesign my PCB and start from scratch. This was extremely difficult and time consuming to make sure all the tracks were connected and did not cross but also keep it at a acceptable size. But in the end, after a lot of attempts, I managed to simplify it and remove all of my wire jumpers and also reduce the size significantly. ( It now fits within the palm of my hand!!!)

image
image
image
image
image
image

Enginerd14 Enginerd14 added to the journal ago

Testing the PCBs

I combined the LED bar graph and the control PCB.

It didn't work :(

I tested the LED PCB which was working perfectly so it has to be the control PCB. I used a logic probe to test each pin and each track of my control PCB and noticed a lot of mistakes. I required a lot of wire jumpers and also forgot to have a track connecting ground for all f the different parts of the circuit. I had to redesign and remake it. At least I don't have to drill 360 holes this time, only 200 :(

image

Enginerd14 Enginerd14 added to the journal ago

Producing the LED PCB

I produced the PCB and once again tested the continutity of the tracks using a multimeter. Everything looked good so I began drilling the 360 holes with a hand drill :( Atfer finally finshing drilling and fighting hand cramp, I soldered the LED bar graphs which was easy enough.

image

Enginerd14 Enginerd14 added to the journal ago

Designing the LED PCB

I began designing the PCB for the LED bar graphs to sit on the top of all of the PCBs. I made sure that it was small enough to fit in my hand but big enough to cover the entire of the main PCB which was quite big.

image

image

Enginerd14 Enginerd14 added to the journal ago

Completing PCB

I finished soldering the components and all of the wires which was a LOT! I now have a love hate relationship with wires. I ran out of 18 pin DIL sockets so I just shaved down some 20 pin ones instead and it seems to do the trick.

image

Enginerd14 Enginerd14 added to the journal ago

Remaking PCB

I added in the pads and remade my PCB. Again, using the multimeters' continuity mode, I tested whether the tracks were all connected. I then began drilling the holes on the PCB which took some time considering there were over 200 holes which I had to hand drill! I then began soldering some of my components.

image

image

Enginerd14 Enginerd14 added to the journal ago

Producing the PCB

First, I printed my circuit onto an acetate sheet. This will be used to make my circuit tracks on the pcb.

image

Then I used the guillotine to cut the copper plated board into the correct size for the PCB.

image

I then placed the acetate sheet on the copper side of the PCB and used the UV exposure box to soften the photoresist layer on the copper board.

image

Then using developer solution, I developed the tracks and used an acid etch tank to remove the excess copper.

I then had a PCB ready. I used a multimeter and used continuity mode to ensure the tracks were all connected.

While drilling holes in my PCB, I realised that I forgot the copper pads where I would solder wires and connect my other PCB with the LEDs, shown by the red circles below.

image

Enginerd14 Enginerd14 added to the journal ago

Fixing my final PCB

I realised that my final PCB was using the wrong potentiometers to what I had readily available and that Circuit Wizard doesn't actually have a schematic for the pot that I was going to use. So, I just used three copper pads instead and placed them to the size of the pot that I will be using. This did mean I had to measure the potentiometers' leg spacings individually and match it with the spacing ofthe rid on Circuit Wizard. I also had to redesign a lot of the PCB as the old pot had large spaces allowing the tracks to passthrough but this one did not.

image

Enginerd14 Enginerd14 added to the journal ago

Designing the PCB

Now that I had a working breadboard, I looked at making a Printed Circuit Board to house the components for my project. I thought about making 3 PCBs for the 3 different parts of my project. One for the TDA7266 amplifying circuit with the microphone. One for the LM3915 IC. And one for the LED bar graphs. I started with the LM3915 PCB. Below is my first attempt. When I tested the PCB, I found that the top LED bar graph turned on before the bottom one did which is the opposite of what was expected.

https://youtu.be/dl0ivdptw8o

To fix the mistake, I switched the circuitry for the chips around. This time when I powered my circuit, it worked perfectly and as expected. All of the LEDs on the bottom bar graph turned on sequentially and then all of the second LED bar graph turned on in the same way.

https://youtu.be/Y7GG71hULfE

I now had to create the PCB to have the LM3915 cascading circuit 3 times. I connected two PCB tracks from each end of the circuit. The one at the top going to all the circuits connected the plus volts. The one on the bottom connected to ground. This meant I only needed 2 wires from the battery pack to the tracks at either end, instead of using 6 wires going to each chip individually.

https://youtu.be/F8g8QQieGRA

image

Enginerd14 Enginerd14 added to the journal ago

1st Iteration of LM3915 and TDA7266

With a working microphone amplifying circuit using the TDA7266, I then looked at combining it with the LM3915. I connected the output pin from the TDA7266 to the signal input pin in my LM3915 cascading circuit. After powering on the entire circuit, I tested the combination. When the microphone picked up sound, the speaker still outputted this sound, ensuring that the TDA7266 was working as expected. However, despite connecting the circuits together, the LM3915 remained on fully, regardless of the microphone signal. Upon inspection of my breadboard, I noticed that one of the capcitors' legs were "loose". i could barely see it so it took me a while to notice but somehow the capacitors leg had snapped probably from when I packed away my breadboard. Howeever, evan after replacing the capacitor, I had the same issue. But this time the speaker was clicking so that was good :)

https://youtu.be/URjmhI465j8

Both circuits worked as expected individually, but when combining the two, they failed to produce the desired outcome. My first thought was that the TDA7266 used two output pins as one was meant for the black speaker wire( zero volts) and the other for the red speaker wire (plus volts) but I only used one wire going from the plus volts output pin to the signal pin. However, this should not affect the circuit as it is only for grounding the speaker. I did a lot of searching online to find the issue as I could see no problems whth my circuitry and in theory it should have worked. The issue was something that neither datasheet mentioned and I found the solution on a forum. I added a 100k resistor connecting the signal pin to ground but still allowing current to flow. This provided a reference for the LM3915 to sense voltage changes(from the microphone) from ground. Before, the signal from the amplifier was "floating" as it had no reference of what a high signal was and a low signal was and the resistor provided that reference. At least that's what I make of it :)

https://youtu.be/v66TnnIR2ss

image

Enginerd14 Enginerd14 added to the journal ago

1st Iteration of TDA7266

I breadboarded the TDA7266 circuit and I used the speaker to test whether the microphone and my amplifier circuit were working. Once I powered my circuit, I should have heard a click from the speaker when the microphone picked up on some sound but this did not occur. Upon further inspection, it was clear that the pins of the amplifier chip were not in the breadboard. This was due to the awkward shape of the pins. To fix this I used a pair of pliers to bend and force the pins into the breadboard. Once the pins were fitted in, I again powered the circuit and used the speaker to test the circuit. This time I could clearly hear the speaker when the microphone picked up sound.

image

image

image

Enginerd14 Enginerd14 added to the journal ago

Researching TDA7266

To create the TDA7266, I looked into the datasheet to see what I needed to connect and how it worked before prototyping. After reading through a lot of it, I made notes on the important parts of the circuit and the functionality of them and simplified the schematic significantly while still making sure the amplifier would work.

Pin 1(OUT1+): Output pin for the red (positive) wire of the speaker. This is the one we will join to the input pin of the LM3915 Pin 2(OUT1-): Output pin for the black (negative) wire of the speaker. This is not required for the LM3915. Pin 3 and 13(VCC): Power supply (plus volts) connected with two capacitors Pin 4(IN1): Input signal from microphone with 0.22 microfarads capacitor(or a value close enough) Pin 7(ST-BY): This controls whether the amplifier is active or in Standby by using a voltage threshold Pin 9(S-GND): Power supply (0V/ ground) Circuit wizard didn't have this component available either so instead I breadboarded it directly and have attached an image of my working breadboard as well as the circuit diagram provided in the datasheet.

To combine the microphone with the TDA7266, the microphone requires its own circuit. This consists of a 1.5K resistor connected from the ground voltage to the ground pin of the microphone (shown by the metal connecting the pin to the outer casing of the microphone). The positive pin connects to pin 4 of the TDA7266.

image

Enginerd14 Enginerd14 added to the journal ago

1st Iteration of LM3915 and LM386

I connected my LM386 amplifier circuit to the analogue input signal of the LM3915 which is pin 5. On doing this, the LEDs turned on as the microphone picked up sound. However, the LEDs turned on simultaneously as the microphone detected sound. They should have turned on one by one as volume increases and then turn off one by one as it decreases. I played around with the sensiivity yet found it made very little difference. I wondered if the circuit was breadboarded correctly and I checked each connection with the the various datasheets and found no errors.

https://youtu.be/DyySWVqZpqs

I concluded that the LM386 amplifier was not strong enough to amplify the signal to a high enough range to power the LEDs. Therefore, I switched to a much stronger amplifier: the TDA7266. The TDA7266 is meant to amplify the signal from the microphone to a signal high enough for speakers. Thus, it should be more than sufficient for powering the range of the LEDs.

image

Enginerd14 Enginerd14 added to the journal ago

2nd Iteration of LM386

For the second attempt, I used a 10K potentiometer between pin 3, the analogue input signal for the amplifying chip, and the microphone, as seen in the circuit diagram below, allowing me to adjust the sensitivity of the microphone. This worked effectively and meant the LEDs remained off when there was no audible sound that could be heard by the human ear.

image

image

Enginerd14 Enginerd14 added to the journal ago

1st Iteration LM386

To create the amplifying circuit for the microphone, I had two component options : the LM386 and the TDA7266. I chose to begin with the LM386 Op-amp which was the simpler but in turn weaker amplifier. This was my first attempt at creating the amplifier circuit with the LM386 to amplify the microphone signal and input it into as the analogue signal for the LM3915 instead of the current potentiometer. However my attempt was not entirely successful as the circuit was too sensitive and some LEDs remained on even when there was no audible sound. One of the reasons that this could be happening is because of the constant but quiet 50Hz of Alternating current. The fix for this is too include some way of altering the sensitivity of the microphone signal that is being amplified. After some research, I found that a method of doing this would be to include a potentiometer between the input signal pin in the amplifier chip and the microphone.

image
image

Enginerd14 Enginerd14 added to the journal ago

1st Iteration of LM3915 cascading circuit

Using my working circuit wizard schematic, I breadboarded the cascading circuit and used a 1K potentiometer to act as the input signal which will be replaced by the microphone circuit amplified by the LM386 amplifier that I had breadboarded earlier. Upon changing the resistance of the potentiometer, the LEDs worked as expected and they turned on sequentially. This created the 20 LED scale that I will use in my project.
image

https://youtu.be/IikYA9wNV6s

Enginerd14 Enginerd14 added to the journal ago

1st Iteration of LM3915 cascading circuit on Circuit Wizard

I then looked to create a cascading circuit with the LM3915. This is when you combine two chips and two LED bar graphs so that one LED bar graph turns on fully and then the other begins to turn on once the first one is entirely on so it creates a single bar. This was my first attempt on circuit wizard to create a cascading circuit with the LM3915. However, the attempt was unsuccessful.

image

image

https://youtu.be/CXn7GhCSTSc

On my second attempt, one LED bar graph remained on for the full time while the other bar graph turned on sequentially.

image

https://youtu.be/CXn7GhCSTSc

For my third attempt, I followed the LM3915 datasheet for the circuit diagram that is shown on the left. This still did not work as expected. The LEDs on both of the bar graphs remained on fully.

image

image

https://youtu.be/uaubeiE09Kw

On my fourth try, I used another method of cascading the LM3915 from the datasheet. This worked better than before but still was not perfected as there was an overlap of LEDs between the bar graphs.

image

image

https://youtu.be/CSH4s-Md3LM

After many failed attempts, I changed my schematic to a another one as shown on the right. After connecting this up, it worked perfectly as all the LEDs turned on for the first bar graph before they turned on for the second bar. I also fixed the order in which they turned on.

image

image

https://youtu.be/nnO8k_CH0iI

Enginerd14 Enginerd14 added to the journal ago

3rd Iteration of LM3915

For my 4th attempt, I confirmed, using a logic probe, that the potentiometers input was working. Alongside this, I also found that the outputs of the LM3915 chip were held high when they should have been low. Therefore I decided to rewire the LEDs directly to the chip with no resistors as after reading the datasheet properly, I realised that the IC chip already has a network of resistors built in.

image

This worked and my circuit performed as expected. As I rotated the potentiometer, the LED lights turned on one by one as the voltage increased. Now, I will need to build an amplifying circuit for the microphone to replace the potentiometer.

https://youtu.be/Me4DnSytjqU

Enginerd14 Enginerd14 added to the journal ago

2nd Iteration of LM3915

After correcting the circuit by connecting the anode to the output pins of the LM3915 the circuit still failed. After further examination of the circuit, I noticed that I had connected the resistors for the reference voltage in the same track causing it to short circuit and therefore fail. Furthermore, the LEDs should have be connected to plus volts as well as I had discovered in my first iteration. However, I had forgotten to do this , further contributing to the failure of the circuit.

image

I corrected the mistakes by stretching the resistor to the right and connecting it using wires to the pins and connecting the LEDs to plus volts. This proved successful as the LEDs now turned on when I powered on my circuit.

image

However, again, the circuit didn’t work completely as expected. All of the LEDs remained on despite changing the resistance of the potentiometer whereas they should have turned on one by one as I rotated the potentiometer.

image

Enginerd14 Enginerd14 added to the journal ago

1st Iteration of LM3915

To start prototyping my project, I first attempted to breadboard the LM3915 circuit non-cascading and using a potentiometer to create an analogue signal as a substitute for the microphone. On this attempt, however, the circuit didn’t work as expected. After thoroughly investigating my breadboard fora an hour comparing each connection to the datasheet for the LM3915 and the explanation, I discovered my mistake. I found that the circuit wasn’t working because in the data sheet, the cathode, which is the positive leg, of the LED was supposed to be connected to the output pins of the LM3915. Then the anode was meant to be connected to the plus volts which is the row where the red wire feeds into. In my breadboard though, I had connected the anode to the output pins and the resistors to the cathode of the LED which were connected to ground. Therefore my circuit failed to work.

image

Enginerd14 Enginerd14 added to the journal ago

Finding out how the LM3915 works

I studied the datasheet intensely to find out how the circuit works. There was a LOT of information on there but I think this is all of the most important info...

The LM3915 is an analogue display driver that takes a input voltage to drive a 10 segment LED bar graph/ 10 LEDs using an internal logarithmic scale which increments by 3dB per step. This is ideal for sound applications as it matches how we perceive loudness.

Below is a list of the pins and their purpose:

Pin 1 and 10-18: These pins connect to the LEDs

Pin 2 and 3: These pins provide power to the IC and complete the circuit

Pin 4 (Ref Low): The bottom of the scale where first LED turns on

Pin 5 (Signal): This pin takes the Input Audio signal

Pin 6 (Ref High): The top of the scale where top LED turns on

Pin 7(Ref Out): Controls LED current changing brightness of the LED

Pin 8(Ref Adj): Sets the reference voltage and controls the sensitivity

Pin 9 (Mode): This controls the sequence of the LEDs, either in DOT mode(one LED turned on sequentially) or BAR mode(LEDs turn on consecutively)

image

Enginerd14 Enginerd14 added to the journal ago

CAD model design

I created a few CAD designs of what the different final outcomes could look like but these were not to scale and were only an illustration of what it could look like. I used a tutorial to find out how to make the control knob and I think it turned out really quite cool!!!

image

image

Enginerd14 Enginerd14 added to the journal ago

Chosen Method

I have chosen a microphone for the audio input so the device can be used wherever sound is present, rather than relying on a cable connection.

After deep research, for the LED driver, I chose the LM3915 over the PIC and the transitors LM3914 and LM3916 due to its sensitivity and logarithmic scale with increments of 3dB(so 1 LED bar graph covers 30dB) making it perfectly suitable for a sound level meter. However, any of the 3 would work completely fine for this project. You will need 1 IC per 10 LEDs/ 1 LED bar graph.

I also decided to test both the LM386 and the TDA7266 as the audio amp and choose the one that works best.

Finally, to provide the visual output I decided on the LED bar graph which is generally composed of 10 LEDs and has a compact size with an aesthetic appeal but you can also use a number of LEDs instead.

I created a specification of what features I wanted in my project.

Appealing casing/ components
Large range of LEDs that turn on at a different volume range
Size - No smaller than (H)50mm x (L)60mm x (W)30mm, No bigger than (H)70mm x (L)80mm x (W)40mm
Sensitive microphone
Bright colours
Using LED bar graph
Use batteries for portability and maintain small size
Minimalistic design
Durable, appealing, High quality materials
Opening at back for easy access to circuit allowing for replacing batteries and fixing future problems

image

Enginerd14 Enginerd14 added to the journal ago

Researching methods

The third and final method for making this project is to use transistors. An example of a transistor that I could use is the common but versatile and useful BC547. This would take the input audio signal and amplify it to a higher signal that would be sufficient in driving an LED. Once reaching the adequate signal, the LEDs will turn on similar to an VU meter when transistors and LED are connected in line. However, this would mean that each LED would require its own transistor. This increases not only the bill of materials but also makes the project more bulky as the PCB would be more complicated and filled. Therefore, the project requires a casing large enough to house the entire circuit.

image

image

image

image

Enginerd14 Enginerd14 added to the journal ago

Researching methods

I found another way of making a VU meter. This can be done through a LED bar graph and a LM39_ _ IC. The LED bar graph is composed of 10 LEDs stacked on top of each other to create a visual scale using light and colour. Most LEDs require resistors and this is the same for the LED bar graph. However, the LM39_ ,which is bar graph driver IC that is complementary to the LED bar graph, has a built in network of resistors within the chip itself. Thus, I will not require ten extra LEDs for the LEDs, reducing the bill of materials for my project. The LM39 _ driver comes in 3 variations: LM3914, LM3915 and LM3916. The LM3914 is a linear display used mainly in alarms and voltmeters. The LM3915 is a logarithmic display incremented by 3dB to turn each LED on after the previous one making it a good contender for a VU meter. The LM3916 is designed specifically for a VU meter which is a volume unit meter or also known as an audio visualizer therefore being a strong choice for this project. They all use the same circuit but have different levels of sensitivity to volume. A demonstration of the circuits are on the next slide.

image

image

image

Enginerd14 Enginerd14 added to the journal ago

Researching methods

I looked into the various methods of making a VU meter. One of the methods I discovered was using a Programmable Integrated Circuit (PIC) such as the Genie 20. The Genie 20 has seven output pins allowing it to power seven LEDs as the visual indicator for the VU meter. Each LED would require a 220Ω adding to the bill of materials. Using a programmable circuit, I can use a flowchart to control the chip and control which LEDs turn on depending on the signal level. I used circuit wizard to create both the circuit and the flowchart. Screenshots can be found below. In the flowchart, the analogue signal box checks if the input signal matches the signal range that I have provided. The range goes from 0 to 255 and I split this equally to determine which LEDs will turn on. In my circuit, I used an LDR for visual representation as Circuit wizard does not have a microphone as one of the available components so the LDR acts as the analogue signal that would be coming from the microphone. I can then program the flowchart in multiple ways: I could either have the LEDs move from the middle going outwards as the volume increases or have them move from bottom to top instead. This makes this method a very flexible and customisable circuit.

image

image

Enginerd14 Enginerd14 started Visual Sound Level Meter ago

3/23/2026 7:46 PM - Researching methods

I looked into the various methods of making a VU meter. One of the methods I discovered was using a Programmable Integrated Circuit (PIC) such as the Genie 20. The Genie 20 has seven output pins allowing it to power seven LEDs as the visual indicator for the VU meter. Each LED would require a 220Ω adding to the bill of materials. Using a programmable circuit, I can use a flowchart to control the chip and control which LEDs turn on depending on the signal level. I used circuit wizard to create both the circuit and the flowchart. Screenshots can be found below. In the flowchart, the analogue signal box checks if the input signal matches the signal range that I have provided. The range goes from 0 to 255 and I split this equally to determine which LEDs will turn on. In my circuit, I used an LDR for visual representation as Circuit wizard does not have a microphone as one of the available components so the LDR acts as the analogue signal that would be coming from the microphone. I can then program the flowchart in multiple ways: I could either have the LEDs move from the middle going outwards as the volume increases or have them move from bottom to top instead. This makes this method a very flexible and customisable circuit.

image

image

3/23/2026 7:47 PM - Researching methods

I found another way of making a VU meter. This can be done through a LED bar graph and a LM39_ _ IC. The LED bar graph is composed of 10 LEDs stacked on top of each other to create a visual scale using light and colour. Most LEDs require resistors and this is the same for the LED bar graph. However, the LM39_ ,which is bar graph driver IC that is complementary to the LED bar graph, has a built in network of resistors within the chip itself. Thus, I will not require ten extra LEDs for the LEDs, reducing the bill of materials for my project. The LM39 _ driver comes in 3 variations: LM3914, LM3915 and LM3916. The LM3914 is a linear display used mainly in alarms and voltmeters. The LM3915 is a logarithmic display incremented by 3dB to turn each LED on after the previous one making it a good contender for a VU meter. The LM3916 is designed specifically for a VU meter which is a volume unit meter or also known as an audio visualizer therefore being a strong choice for this project. They all use the same circuit but have different levels of sensitivity to volume. A demonstration of the circuits are on the next slide.

image

image

image

3/23/2026 7:48 PM - Researching methods

The third and final method for making this project is to use transistors. An example of a transistor that I could use is the common but versatile and useful BC547. This would take the input audio signal and amplify it to a higher signal that would be sufficient in driving an LED. Once reaching the adequate signal, the LEDs will turn on similar to an VU meter when transistors and LED are connected in line. However, this would mean that each LED would require its own transistor. This increases not only the bill of materials but also makes the project more bulky as the PCB would be more complicated and filled. Therefore, the project requires a casing large enough to house the entire circuit.

image

image

image

image

3/23/2026 7:49 PM - Chosen Method

I have chosen a microphone for the audio input so the device can be used wherever sound is present, rather than relying on a cable connection.

After deep research, for the LED driver, I chose the LM3915 over the PIC and the transitors LM3914 and LM3916 due to its sensitivity and logarithmic scale with increments of 3dB(so 1 LED bar graph covers 30dB) making it perfectly suitable for a sound level meter. However, any of the 3 would work completely fine for this project. You will need 1 IC per 10 LEDs/ 1 LED bar graph.

I also decided to test both the LM386 and the TDA7266 as the audio amp and choose the one that works best.

Finally, to provide the visual output I decided on the LED bar graph which is generally composed of 10 LEDs and has a compact size with an aesthetic appeal but you can also use a number of LEDs instead.

I created a specification of what features I wanted in my project.

Appealing casing/ components
Large range of LEDs that turn on at a different volume range
Size - No smaller than (H)50mm x (L)60mm x (W)30mm, No bigger than (H)70mm x (L)80mm x (W)40mm
Sensitive microphone
Bright colours
Using LED bar graph
Use batteries for portability and maintain small size
Minimalistic design
Durable, appealing, High quality materials
Opening at back for easy access to circuit allowing for replacing batteries and fixing future problems

image

3/23/2026 7:50 PM - CAD model design

I created a few CAD designs of what the different final outcomes could look like but these were not to scale and were only an illustration of what it could look like. I used a tutorial to find out how to make the control knob and I think it turned out really quite cool!!!

image

image

3/23/2026 7:50 PM - Finding out how the LM3915 works

I studied the datasheet intensely to find out how the circuit works. There was a LOT of information on there but I think this is all of the most important info...

The LM3915 is an analogue display driver that takes a input voltage to drive a 10 segment LED bar graph/ 10 LEDs using an internal logarithmic scale which increments by 3dB per step. This is ideal for sound applications as it matches how we perceive loudness.

Below is a list of the pins and their purpose:

Pin 1 and 10-18: These pins connect to the LEDs

Pin 2 and 3: These pins provide power to the IC and complete the circuit

Pin 4 (Ref Low): The bottom of the scale where first LED turns on

Pin 5 (Signal): This pin takes the Input Audio signal

Pin 6 (Ref High): The top of the scale where top LED turns on

Pin 7(Ref Out): Controls LED current changing brightness of the LED

Pin 8(Ref Adj): Sets the reference voltage and controls the sensitivity

Pin 9 (Mode): This controls the sequence of the LEDs, either in DOT mode(one LED turned on sequentially) or BAR mode(LEDs turn on consecutively)

image

3/23/2026 7:50 PM - 1st Iteration of LM3915

To start prototyping my project, I first attempted to breadboard the LM3915 circuit non-cascading and using a potentiometer to create an analogue signal as a substitute for the microphone. On this attempt, however, the circuit didn’t work as expected. After thoroughly investigating my breadboard fora an hour comparing each connection to the datasheet for the LM3915 and the explanation, I discovered my mistake. I found that the circuit wasn’t working because in the data sheet, the cathode, which is the positive leg, of the LED was supposed to be connected to the output pins of the LM3915. Then the anode was meant to be connected to the plus volts which is the row where the red wire feeds into. In my breadboard though, I had connected the anode to the output pins and the resistors to the cathode of the LED which were connected to ground. Therefore my circuit failed to work.

image

3/23/2026 7:51 PM - 2nd Iteration of LM3915

After correcting the circuit by connecting the anode to the output pins of the LM3915 the circuit still failed. After further examination of the circuit, I noticed that I had connected the resistors for the reference voltage in the same track causing it to short circuit and therefore fail. Furthermore, the LEDs should have be connected to plus volts as well as I had discovered in my first iteration. However, I had forgotten to do this , further contributing to the failure of the circuit.

image

I corrected the mistakes by stretching the resistor to the right and connecting it using wires to the pins and connecting the LEDs to plus volts. This proved successful as the LEDs now turned on when I powered on my circuit.

image

However, again, the circuit didn’t work completely as expected. All of the LEDs remained on despite changing the resistance of the potentiometer whereas they should have turned on one by one as I rotated the potentiometer.

image

3/23/2026 7:52 PM - 3rd Iteration of LM3915

For my 4th attempt, I confirmed, using a logic probe, that the potentiometers input was working. Alongside this, I also found that the outputs of the LM3915 chip were held high when they should have been low. Therefore I decided to rewire the LEDs directly to the chip with no resistors as after reading the datasheet properly, I realised that the IC chip already has a network of resistors built in.

image

This worked and my circuit performed as expected. As I rotated the potentiometer, the LED lights turned on one by one as the voltage increased. Now, I will need to build an amplifying circuit for the microphone to replace the potentiometer.

https://youtu.be/Me4DnSytjqU

3/23/2026 7:54 PM - 1st Iteration of LM3915 cascading circuit on Circuit Wizard

I then looked to create a cascading circuit with the LM3915. This is when you combine two chips and two LED bar graphs so that one LED bar graph turns on fully and then the other begins to turn on once the first one is entirely on so it creates a single bar. This was my first attempt on circuit wizard to create a cascading circuit with the LM3915. However, the attempt was unsuccessful.

image

image

https://youtu.be/CXn7GhCSTSc

On my second attempt, one LED bar graph remained on for the full time while the other bar graph turned on sequentially.

image

https://youtu.be/CXn7GhCSTSc

For my third attempt, I followed the LM3915 datasheet for the circuit diagram that is shown on the left. This still did not work as expected. The LEDs on both of the bar graphs remained on fully.

image

image

https://youtu.be/uaubeiE09Kw

On my fourth try, I used another method of cascading the LM3915 from the datasheet. This worked better than before but still was not perfected as there was an overlap of LEDs between the bar graphs.

image

image

https://youtu.be/CSH4s-Md3LM

After many failed attempts, I changed my schematic to a another one as shown on the right. After connecting this up, it worked perfectly as all the LEDs turned on for the first bar graph before they turned on for the second bar. I also fixed the order in which they turned on.

image

image

https://youtu.be/nnO8k_CH0iI

3/23/2026 10:37 PM - 1st Iteration of LM3915 cascading circuit

Using my working circuit wizard schematic, I breadboarded the cascading circuit and used a 1K potentiometer to act as the input signal which will be replaced by the microphone circuit amplified by the LM386 amplifier that I had breadboarded earlier. Upon changing the resistance of the potentiometer, the LEDs worked as expected and they turned on sequentially. This created the 20 LED scale that I will use in my project.
image

https://youtu.be/IikYA9wNV6s

3/23/2026 10:37 PM - 1st Iteration LM386

To create the amplifying circuit for the microphone, I had two component options : the LM386 and the TDA7266. I chose to begin with the LM386 Op-amp which was the simpler but in turn weaker amplifier. This was my first attempt at creating the amplifier circuit with the LM386 to amplify the microphone signal and input it into as the analogue signal for the LM3915 instead of the current potentiometer. However my attempt was not entirely successful as the circuit was too sensitive and some LEDs remained on even when there was no audible sound. One of the reasons that this could be happening is because of the constant but quiet 50Hz of Alternating current. The fix for this is too include some way of altering the sensitivity of the microphone signal that is being amplified. After some research, I found that a method of doing this would be to include a potentiometer between the input signal pin in the amplifier chip and the microphone.

image
image

3/23/2026 10:37 PM - 2nd Iteration of LM386

For the second attempt, I used a 10K potentiometer between pin 3, the analogue input signal for the amplifying chip, and the microphone, as seen in the circuit diagram below, allowing me to adjust the sensitivity of the microphone. This worked effectively and meant the LEDs remained off when there was no audible sound that could be heard by the human ear.

image

image

3/23/2026 10:38 PM - 1st Iteration of LM3915 and LM386

I connected my LM386 amplifier circuit to the analogue input signal of the LM3915 which is pin 5. On doing this, the LEDs turned on as the microphone picked up sound. However, the LEDs turned on simultaneously as the microphone detected sound. They should have turned on one by one as volume increases and then turn off one by one as it decreases. I played around with the sensiivity yet found it made very little difference. I wondered if the circuit was breadboarded correctly and I checked each connection with the the various datasheets and found no errors.

https://youtu.be/DyySWVqZpqs

I concluded that the LM386 amplifier was not strong enough to amplify the signal to a high enough range to power the LEDs. Therefore, I switched to a much stronger amplifier: the TDA7266. The TDA7266 is meant to amplify the signal from the microphone to a signal high enough for speakers. Thus, it should be more than sufficient for powering the range of the LEDs.

image

3/23/2026 10:39 PM - Researching TDA7266

To create the TDA7266, I looked into the datasheet to see what I needed to connect and how it worked before prototyping. After reading through a lot of it, I made notes on the important parts of the circuit and the functionality of them and simplified the schematic significantly while still making sure the amplifier would work.

Pin 1(OUT1+): Output pin for the red (positive) wire of the speaker. This is the one we will join to the input pin of the LM3915 Pin 2(OUT1-): Output pin for the black (negative) wire of the speaker. This is not required for the LM3915. Pin 3 and 13(VCC): Power supply (plus volts) connected with two capacitors Pin 4(IN1): Input signal from microphone with 0.22 microfarads capacitor(or a value close enough) Pin 7(ST-BY): This controls whether the amplifier is active or in Standby by using a voltage threshold Pin 9(S-GND): Power supply (0V/ ground) Circuit wizard didn't have this component available either so instead I breadboarded it directly and have attached an image of my working breadboard as well as the circuit diagram provided in the datasheet.

To combine the microphone with the TDA7266, the microphone requires its own circuit. This consists of a 1.5K resistor connected from the ground voltage to the ground pin of the microphone (shown by the metal connecting the pin to the outer casing of the microphone). The positive pin connects to pin 4 of the TDA7266.

image

3/23/2026 10:39 PM - 1st Iteration of TDA7266

I breadboarded the TDA7266 circuit and I used the speaker to test whether the microphone and my amplifier circuit were working. Once I powered my circuit, I should have heard a click from the speaker when the microphone picked up on some sound but this did not occur. Upon further inspection, it was clear that the pins of the amplifier chip were not in the breadboard. This was due to the awkward shape of the pins. To fix this I used a pair of pliers to bend and force the pins into the breadboard. Once the pins were fitted in, I again powered the circuit and used the speaker to test the circuit. This time I could clearly hear the speaker when the microphone picked up sound.

image

image

image

3/23/2026 10:40 PM - 1st Iteration of LM3915 and TDA7266

With a working microphone amplifying circuit using the TDA7266, I then looked at combining it with the LM3915. I connected the output pin from the TDA7266 to the signal input pin in my LM3915 cascading circuit. After powering on the entire circuit, I tested the combination. When the microphone picked up sound, the speaker still outputted this sound, ensuring that the TDA7266 was working as expected. However, despite connecting the circuits together, the LM3915 remained on fully, regardless of the microphone signal. Upon inspection of my breadboard, I noticed that one of the capcitors' legs were "loose". i could barely see it so it took me a while to notice but somehow the capacitors leg had snapped probably from when I packed away my breadboard. Howeever, evan after replacing the capacitor, I had the same issue. But this time the speaker was clicking so that was good :)

https://youtu.be/URjmhI465j8

Both circuits worked as expected individually, but when combining the two, they failed to produce the desired outcome. My first thought was that the TDA7266 used two output pins as one was meant for the black speaker wire( zero volts) and the other for the red speaker wire (plus volts) but I only used one wire going from the plus volts output pin to the signal pin. However, this should not affect the circuit as it is only for grounding the speaker. I did a lot of searching online to find the issue as I could see no problems whth my circuitry and in theory it should have worked. The issue was something that neither datasheet mentioned and I found the solution on a forum. I added a 100k resistor connecting the signal pin to ground but still allowing current to flow. This provided a reference for the LM3915 to sense voltage changes(from the microphone) from ground. Before, the signal from the amplifier was "floating" as it had no reference of what a high signal was and a low signal was and the resistor provided that reference. At least that's what I make of it :)

https://youtu.be/v66TnnIR2ss

image

3/23/2026 10:41 PM - Designing the PCB

Now that I had a working breadboard, I looked at making a Printed Circuit Board to house the components for my project. I thought about making 3 PCBs for the 3 different parts of my project. One for the TDA7266 amplifying circuit with the microphone. One for the LM3915 IC. And one for the LED bar graphs. I started with the LM3915 PCB. Below is my first attempt. When I tested the PCB, I found that the top LED bar graph turned on before the bottom one did which is the opposite of what was expected.

https://youtu.be/dl0ivdptw8o

To fix the mistake, I switched the circuitry for the chips around. This time when I powered my circuit, it worked perfectly and as expected. All of the LEDs on the bottom bar graph turned on sequentially and then all of the second LED bar graph turned on in the same way.

https://youtu.be/Y7GG71hULfE

I now had to create the PCB to have the LM3915 cascading circuit 3 times. I connected two PCB tracks from each end of the circuit. The one at the top going to all the circuits connected the plus volts. The one on the bottom connected to ground. This meant I only needed 2 wires from the battery pack to the tracks at either end, instead of using 6 wires going to each chip individually.

https://youtu.be/F8g8QQieGRA

image

3/27/2026 11:11 AM - Fixing my final PCB

I realised that my final PCB was using the wrong potentiometers to what I had readily available and that Circuit Wizard doesn't actually have a schematic for the pot that I was going to use. So, I just used three copper pads instead and placed them to the size of the pot that I will be using. This did mean I had to measure the potentiometers' leg spacings individually and match it with the spacing ofthe rid on Circuit Wizard. I also had to redesign a lot of the PCB as the old pot had large spaces allowing the tracks to passthrough but this one did not.

image

3/27/2026 11:12 AM - Producing the PCB

First, I printed my circuit onto an acetate sheet. This will be used to make my circuit tracks on the pcb.

image

Then I used the guillotine to cut the copper plated board into the correct size for the PCB.

image

I then placed the acetate sheet on the copper side of the PCB and used the UV exposure box to soften the photoresist layer on the copper board.

image

Then using developer solution, I developed the tracks and used an acid etch tank to remove the excess copper.

I then had a PCB ready. I used a multimeter and used continuity mode to ensure the tracks were all connected.

While drilling holes in my PCB, I realised that I forgot the copper pads where I would solder wires and connect my other PCB with the LEDs, shown by the red circles below.

image

3/27/2026 11:13 AM - Remaking PCB

I added in the pads and remade my PCB. Again, using the multimeters' continuity mode, I tested whether the tracks were all connected. I then began drilling the holes on the PCB which took some time considering there were over 200 holes which I had to hand drill! I then began soldering some of my components.

image

image

3/27/2026 11:13 AM - Completing PCB

I finished soldering the components and all of the wires which was a LOT! I now have a love hate relationship with wires. I ran out of 18 pin DIL sockets so I just shaved down some 20 pin ones instead and it seems to do the trick.

image

3/27/2026 11:13 AM - Designing the LED PCB

I began designing the PCB for the LED bar graphs to sit on the top of all of the PCBs. I made sure that it was small enough to fit in my hand but big enough to cover the entire of the main PCB which was quite big.

image

image

3/27/2026 11:14 AM - Producing the LED PCB

I produced the PCB and once again tested the continutity of the tracks using a multimeter. Everything looked good so I began drilling the 360 holes with a hand drill :( Atfer finally finshing drilling and fighting hand cramp, I soldered the LED bar graphs which was easy enough.

image

3/27/2026 11:14 AM - Testing the PCBs

I combined the LED bar graph and the control PCB.

It didn't work :(

I tested the LED PCB which was working perfectly so it has to be the control PCB. I used a logic probe to test each pin and each track of my control PCB and noticed a lot of mistakes. I required a lot of wire jumpers and also forgot to have a track connecting ground for all f the different parts of the circuit. I had to redesign and remake it. At least I don't have to drill 360 holes this time, only 200 :(

image

3/27/2026 11:15 AM - Redesigning the main PCB

I decided to completely redesign my PCB and start from scratch. This was extremely difficult and time consuming to make sure all the tracks were connected and did not cross but also keep it at a acceptable size. But in the end, after a lot of attempts, I managed to simplify it and remove all of my wire jumpers and also reduce the size significantly. ( It now fits within the palm of my hand!!!)

image
image
image
image
image
image

3/27/2026 11:16 AM - Producing the redesigned main PCB

Once more, I produced my PCB and tested the continuity using a multimeter. Once ensuring all tracks were connected, I promptly began the drilling of ALL the holes. Yes All 200 :(

I began and managed to complete all of the soldering of my PCB. I decided not to solder every wire this time, only a couple for testing first.

I connected both PCBs. I connected the power wires to my breadboard. And then I switched on my power supply......

And IT WORKED!!!!

image

3/27/2026 11:16 AM - TDA7266 PCB

I began designing my final PCB: the TDA7266 amplifier with the microphone. This was difficult as my working protoype was slighlty different to the schematic on the datasheet, but I managed in the end using a multimeter to test the values of all my components in my PCB.

image
image

3/27/2026 11:17 AM - Catching up

Had to take a slight break because of exams but they're finally finished now!!! :)

I examined my PCBs and noticed that the main PCB that controls everything seemed damaged. The copper tracks seemed to have peeled off possibly due to the intense repeated heat of the soldering iron when soldering ALL of those pesky wires. After a quick test, I realised that it was broken.

I give up.

JK.

I am going to simplify it first though. Instead of having 6 columns ill only do 1. However instead of only 2 LED bargraphs per column I'm making it 3 so it has a range of up to 90dB.

Also After some research I found that instead of using wires, I could use pin sockets and headers. These will be much easier to solder and also will be much better visually and for testing as the PCBs will be able to split apart.

image
image

3/27/2026 11:17 AM - Designing my new Schematic

I drew the schematic for my new design in Circuit Wizard. After doing so many schematics of the LM3915, I have practically memorised all the pin connections. I looked through the datasheet and online schematics to see if I needed something different for the third LED bar graph. I concluded that it should work in the same way as the 2nd one so I produced it in the same way. I connected the Ref high of the middle IC to the ref low of the top IC. After a quick test on circuit wizard it seemed to work perfectly.

image

3/27/2026 11:17 AM - Designing my new PCB

I designed my PCB using the working schematic I created. I began with the main control PCB with the LM3915s. It was extremely difficult to ensure all tracks were connected together without using any zero ohm resistors or wire jumpers. I managed this however it resulted in many tracks being very thin which can be an issue while producing the PCB. I added the pin sockets to the output pins of the LM3915. Although, the first output pin is on the opposite side of the IC to the rest and there was no way to draw a track to connect the pin to the pin socket. Therefore, instead, I used a 9 pin socket and used a copper pad for the first output pin where I will solder a wire that connects to the other PCB. I then created the PCB for the LED bar graph. This was quite simple as one side was all connected to plus volts. The other side was connected to the pin headers. I made sure that the two PCBs would line up so that they would stack easily.

image

3/27/2026 11:18 AM - Designing my new PCB in KiCad

I was scared about the tracks being too thin and the acid etch tank not being able to produce the tracks and thus the PCB properly so I thought about using JLCPCB instead.

However, Circuit Wizard doesn't let me export my PCB as a gerber so I have to redesign it in KiCad.

This was a LOT quicker than Circuit Wizard because of the auto routing tool and also allowing for tracks on both the front and the back of the PCB

I uploaded it to JLCPCB and saw that my PCBs would be under 10gbp in total but I would have to wait 12 days for it to be delivered. I decided that I would try the acid etch tank PCB first and use this if that fails.

image
image
image
https://lapse.hackclub.com/timelapse/Xt3aB62gZel_

3/27/2026 11:19 AM - Soldering my new PCB

I made my new PCBs and I completed the soldering of all of the components of my new PCBs. I then began testing my main LM3915 PCB. I tried to use my old breadboard where I produced the prototype circuits however I noticed that my once working circuit weren't working anymore and that the power supply was showing that there was a short circuit. I think the breadboard itself is damaged so I used another breadboard instead. It was difficult to connect the wires of my PCB to the breadboard because I was using multistrand wire instead of single strand wire so they just kept popping out. Eventually I managed to keep them in long enough to test it and prove it works and take a picture. Thankfully, when I connected the signal pin to plus volts all the LEDs I had connected were on showing that the PCB works. Also the ICs weren't overheating and the power supply only had a green light so luckily there were no short circuits.

image

3/27/2026 11:19 AM - Soldering my new PCBs

After soldering all the PCBs together, I found that it didn't work. the LEDs weren't on as the pin headers and sockets weren't making contact because of the solder joints. Using male to male dupont wires, I was able to test each LED segment to see whether the LM3915 PCB was working as expected. I connected the signal pin to a potentiometer and connected one side of the dupont wire to the pin socket on the LM3915 PCB and the other end of the wire to the breadboard which was connected to the LED bar graph. Upon powering on the PCB and the breadboard, all of the LEDs turned on except the 7th LED. After using a logic probe, I found that the LED should have been working. I thought that the LED bar graph was damaged so I replaced it however I had the same issue. After moving the bar graph down, the 7th LED worked but the 8th LED stopped working. This means that the track in the breadboard does not work. As I changed the resistance of the potentiometer, the LEDs turned on and off sequentially proving that the first section of the LM3915 PCB works. I repeated this with the other sections receiving the same result proving that the LM3915 PCB works as expected.

image
image
image

3/27/2026 11:19 AM - Fixing my PCBs

As the LM3915 PCB was working, I diverted my attention to the TDA7266 and the Microphone PCB. After connecting it to power, I ensured that the TDA7266 chip was not overheating and that there was no short circuit occurring. I used a stereo socket to bypass the microphone and test whether the TDA7266 was working as expected. Using a logic probe, I was able to confirm that the signal out pin of the TDA7266 was producing the required output when using the stereo socket but not when using the microphone. After inspecting the microphone PCB and the circuit diagram for an electret microphone, I realised that the resistor should have been connected to plus volts not ground. I was able to fix this and test the TDA7266 with the LM3915. This produced the desired result however even when there was little to no volume, LEDs 1 to 4 remained on.

image

3/27/2026 11:20 AM - Soldering my fixed PCBs together

I re breadboarded the microphone circuit in the breadboarded and changed the value of the capacitor and this fixed the issue so I repeated this on the PCB as well. I soldered the working PCBs together in order to test the final project. Then, I used the power supply to confirm it worked as expected when all the PCBs were combined.

image

3/27/2026 11:20 AM - Remaking the LED PCB

Now that I had confirmed the project was working as expected, I decided to remake my LED PCB in order to fix the Pin headers to remove the need for the wires between the PCBs. I used the same process to make the PCB as outlined before by using the acid etch tank, drilling the holes and soldering the components. However this time, I soldered the pin headers further out from the PCB so that they would correctly seat into the pin sockets. Once I had soldered all the components, itested the PCB by seating it into the sockets on the LM3915 PCB. When powering the circuit on, everything worked as expected. This meant I could replace the LED PCB.

image

3/27/2026 11:21 AM - Designing casing

I began designing the case in Solidworks. I used a vernier caliper to measure the size of the PCB so that I could correctly size the case so that the components would fit easily. I began with a rectangle and extruded it to create a solid body. Then, I used the fillet tool to round the edges to provide rigidity and also make it more appealing. After that, I used the split tool to create two separate bodies: the base and the lid. Then I added the cutouts for the LEDs, the microphone and the switch in the base and added a lip in the lid that would slot into the base. This would allow the case to open and close without using screws.

image

3/27/2026 11:22 AM - Finishing the device

I assembled everything and it was ready to test. I turned it on and it worked exactly as I wanted it to.

https://youtube.com/shorts/JQ9ZsPvnyYY?feature=share

image