This commit is contained in:
2025-03-26 01:49:41 +01:00
parent 4ff4f26cec
commit 1b1b429c99
3 changed files with 11 additions and 3 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 117 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 24 KiB

View File

@@ -46,14 +46,22 @@ This is still a bit complicated because I am using 2 resistors at the ground bec
During debugging I first removed the multiplexer and created a bypass to attempt to isolate the problem.
![alt text](IMG_9350.jpg)
Then I still struggled the entire day debugging and then I gave up and went home. In the morning Henk used the rubber ducky method and I found the problem and fixed it like this.
Then I still struggled the entire day debugging and then I gave up and went home. In the morning Henk used the rubber ducky method and I found the problem and fixed it like this.
Before
![alt text](IMG_9351.JPEG)
After
![alt text](IMG_9355.jpg)
It looks super messy but what I have done is. I broke one trace and created the same configuration as in the correct schematic.
It looks super messy but what I have done is. I broke one trace and created the same configuration as in the correct schematic. I connected the resistors wrongly and that caused all the power to go to ground instead of dividing the voltage to the analog pin and the ground.
Now that this works I can work on the final design of the board and send it to a board house.
## Voltage divider
This week I learned how voltage dividers worked and I also struggled a lot with them. A voltage divider is better for splitting voltage instead of creating a voltage drop using a single resistor. Because you don't have to know how much current is flowing. Instead you can divide the voltage between 2 lanes.
https://www.khanacademy.org/science/electrical-engineering/ee-circuit-analysis-topic/ee-resistor-circuits/a/ee-voltage-divider
![alt text](image321.png)
I found a lot of helpfull explanation on [this website](https://www.khanacademy.org/science/electrical-engineering/ee-circuit-analysis-topic/ee-resistor-circuits/a/ee-voltage-divider).
## Sources
* https://www.khanacademy.org/science/electrical-engineering/ee-circuit-analysis-topic/ee-resistor-circuits/a/ee-voltage-divider