docs update

This commit is contained in:
2025-03-18 15:00:16 +01:00
parent f05c78e400
commit b7ee9decc0
8 changed files with 31 additions and 0 deletions

View File

@@ -81,3 +81,34 @@ After soldering I realized that some traces where broken. I attempted to fix the
[link](https://gitlab.fabcloud.org/pub/programmers/programmer-updi-d11c)
## Making the controller
The controller needs 2 joysticks and a screen but I found out after a while that the ESP-C3 only has 3 analog inputs and I needed a minimum of 4 for the joysticks and 2 for the buttons.
![alt text](image-14.jpg)
Although the buttons can also be read using digitalRead since its either 0 or 1. But to connect all the joysticks I asked henk if i could use the esp-s3 but he said I could use a multiplexer for the same result. He gave me 2 different multiplexers. The PCA9555 and the CD74HC4067M. But after reading through the datasheets I realized I could only use the CD74HC4067M because the other one didn't have Analog inputs.
So I redid my board schematic to this.
![alt text](image-12.jpg)
I quickly figured out how the mulitplexer worked from the datasheet. You need to set a couple of pins to high and low and that way you can choose what input you want. So there are 4 control pins and 16 channels.
![alt text](image-13.jpg)
Now I need to re-do all the traces. Luckily I found a button to delete all traces at once.
![alt text](image-15.jpg)
This nice tool makes it so you can delete something of a category all at once.
This is the end result. I decided to use bridge resistors instead os trying to do double sided. Because Henk said it's super hard to do and my peers also told me that they read other documentation on how it wen't wrong and how the writer rather would've done bridge resistors so I opted for that.
My board went from this.
![alt text](image-18.jpg)
To:
![alt text](image-16.jpg)
Because I needed more analog pins. Thus the multiplexer.
I had some issues with the DRC because the joystick wasn't made properly. The 4 holes on the back are there for stability but the copper ring was left on. The DRC was complaining that there wasn't enough space to leave a copper ring. But after changing that in the footprint editor I have 0 errors.
![alt text](image-17.jpg)
All the warnings are silkscreen warnings so I don't have to worry about that.

Binary file not shown.

After

Width:  |  Height:  |  Size: 29 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 48 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 59 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 44 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 45 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 27 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 44 KiB