From 01c591e96e90c351d1c3ad8a7914a6b391cb0f06 Mon Sep 17 00:00:00 2001 From: Sam Hos Date: Mon, 3 Mar 2025 11:01:34 +0100 Subject: [PATCH] speaker stuff --- .../electronic_design.md | 21 ++++++++++++++++++- 1 file changed, 20 insertions(+), 1 deletion(-) diff --git a/docs/Assignments/week_6_electronic_design/electronic_design.md b/docs/Assignments/week_6_electronic_design/electronic_design.md index 96829b3..7ba5ad7 100644 --- a/docs/Assignments/week_6_electronic_design/electronic_design.md +++ b/docs/Assignments/week_6_electronic_design/electronic_design.md @@ -53,6 +53,7 @@ When searching online and on older fab academy projects I found that people ever After searching for a while I found [this](https://www.instructables.com/How-to-Make-Simple-Amplifier-Circuit-Without-IC/) on Instructables ![alt text](image-16.jpg) +##### Understanding resistors The only step I needed to figure out is why it work like this and why doesn't the speaker blow up when connected because there is 9 volt on the circuit and the speaker is rated for 1 volt. I still have a lot of trouble wrapping my head around how voltage drops because of a resistor. Voltage can be seen as the speed of water traveling through a tube. A resistor makes the tube smaller for a small part so the water slows down. So the voltage drops. @@ -62,4 +63,22 @@ Resistors always cause a voltage drop. How big the drop is depends on the amount ```math V = I * R ``` -This is Ohms law. So to keep a constant voltage you need to make sure your current is also constant and not changing constantly. In that way you can keep a constant voltage. \ No newline at end of file +This is Ohms law. So to keep a constant voltage you need to make sure your current is also constant and not changing constantly. In that way you can keep a constant voltage. + +#### Back to the speaker +I watched [this](https://www.youtube.com/watch?v=U0FIG2J6Zls) video and now understand the fundementals of a amplifier. The only thing necessary is something that can make an small signal big. For that I can use a MOSFET. I also need to make sure the MOSFET doesn't over current the speaker so that's why it needs a resistor before the gate pin. And I need some sort of buffer for the speaker once it needs a lot of power. + +![alt text](image-17.png) + +When I was looking for MOSFET's through the Fab library I found 2 type of MOSFET's P channel and N channel. I quickly searched what it does. + +![alt text](image-18.png) + +So for my use case I will need a N channel MOSFET that can work output a linear voltage based on what is supplied on the gate. + +![alt text](image-19.png) + +I first had this setup. But then I asked AI for feedback and it told me I used the wrong transistor because it could only be on or off and not anything in between. + +![alt text](image-20.png) +