diff --git a/docs/Assignments/week_9_input_devices/IMG_9351.jpg b/docs/Assignments/week_9_input_devices/IMG_9351.jpg new file mode 100644 index 0000000..8da87b0 Binary files /dev/null and b/docs/Assignments/week_9_input_devices/IMG_9351.jpg differ diff --git a/docs/Assignments/week_9_input_devices/image321.jpg b/docs/Assignments/week_9_input_devices/image321.jpg new file mode 100644 index 0000000..7c38395 Binary files /dev/null and b/docs/Assignments/week_9_input_devices/image321.jpg differ diff --git a/docs/Assignments/week_9_input_devices/input_devices.md b/docs/Assignments/week_9_input_devices/input_devices.md index 5671fe0..eba2037 100644 --- a/docs/Assignments/week_9_input_devices/input_devices.md +++ b/docs/Assignments/week_9_input_devices/input_devices.md @@ -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 \ No newline at end of file +![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 \ No newline at end of file