Added diode and USB port instructions

Djuri Baars 2023-08-07 17:07:45 +02:00
parent 9887df3ac1
commit a79c71c8a7

33
Home.md

@ -1,9 +1,13 @@
# *BTClock V.1-22 Building Instruction.*
# *BTClock Building Instruction.*
This instruction will guide you through the building process. Please read carefully before you start building, some parts have polarity, keep this in mind during the process.
<img src="https://github.com/dsbaars/btclock_v2/blob/main/doc/IMG_2143.jpeg" width="500"/>
| PCB Version | Version blockhash | Changelog |
|------------- |------------------------------------------------------------------ |--- |
| V.1-22 | [0000000000000000000540c807c73e5a4ba24284ee351d287978e324a786dae3](https://mempool.space/block/0000000000000000000540c807c73e5a4ba24284ee351d287978e324a786dae3) | |
| V.1-23 | [00000000000000000001ac31d136df6577f457e683e8b98b03d628840a1d3b4c](https://mempool.space/block/00000000000000000001ac31d136df6577f457e683e8b98b03d628840a1d3b4c) | Added diode for reverse polarity protection |
![Board](https://github.com/dsbaars/btclock_v2/blob/main/doc/IMG_2143.jpeg)
---
First of all, check we have all the necessary components.
@ -36,7 +40,7 @@ First of all, check we have all the necessary components.
| 22 | M3x10 standoff F-F | 28 | | Included in screw set |
| 23 | M3x10 screw | 4 | | Included in screw set |
| 24 | M3 nut | 2 | | Included in screw set |
| 25 | 1N4001 diode | 1 | | Included in required components set (since V.1-23) |
---
# Assembling the main PCB.
@ -48,16 +52,25 @@ First step is to solder the SMD capacitors on the front and back of the main PCB
<img src="https://github.com/dsbaars/btclock_v2/blob/main/doc/IMG_2161.jpeg" width="500"/>
Next will be the LEDs (WS2812B) WARNING this component has polarity! The white triangle has to be in the right under corner!
Next will be the LEDs (WS2812B) **WARNING** this component has polarity! The white triangle has to be in the right under corner!
<img src="https://github.com/dsbaars/btclock_v2/blob/main/doc/IMG_2163.jpeg" width="500"/>
<img src="https://github.com/dsbaars/btclock_v2/blob/main/doc/IMG_2164.jpeg" width="500"/>
Now its time for the resistors. WARNING R1 has polarity! Pin one must be at the side where R1 is noted. The other resistors dont have polarity but have different values, R2/R3 are 4K7 and R4 is 10K.
Now its time for the resistors. **WARNING** R1 has polarity! Pin one must be at the side where R1 is noted. The other resistors dont have polarity but have different values, R2/R3 are 4K7 and R4 is 10K.
<img src="https://github.com/dsbaars/btclock_v2/blob/main/doc/IMG_2165.jpeg" width="500"/>
<img src="https://github.com/dsbaars/btclock_v2/blob/main/doc/IMG_2166.jpeg" width="500"/>
Next up is the 1N4001 diode, **WARNING** the diode also has polarity. Align the line on the 1N4001 with the line on the PCB.
<img src="https://github.com/dsbaars/btclock_v2/blob/main/doc/diode-marking.jpeg" height="250"/>
When placed correctly it should look like this:
<img src="https://github.com/dsbaars/btclock_v2/blob/main/doc/overview-diode-resistors.jpeg" width="500"/>
You can choose to use a precision IC-mount or solder the MCP23017 directly to the PCB. We prefer an IC-mount so if you need to change the IC in the future its an easy job, choose is yours ;) If you choose to use an IC-mount note that it has polarity! The MCP23017 has polarity as well, the dot on the main PCB notes for pin 1, the must be corresponding with the dot on the MCP23017.
<img src="https://github.com/dsbaars/btclock_v2/blob/main/doc/IMG_2167.jpeg" width="248" height="170"/> <img src="https://github.com/dsbaars/btclock_v2/blob/main/doc/IMG_2168.jpeg" width="248" height="170"/>
@ -76,6 +89,12 @@ If you had chosen to use an IC-mount its time to place the MCP23017 remember
<img src="https://github.com/dsbaars/btclock_v2/blob/main/doc/IMG_2174.jpeg" width="500"/>
<img src="https://github.com/dsbaars/btclock_v2/blob/main/doc/IMG_2172.jpeg" width="500"/>
Solder the USB-C port, do not bend any of the pins. The USB-C port from the kit fits only with the correct polarity.
<img src="https://github.com/dsbaars/btclock_v2/blob/main/doc/usb-polarity.jpeg" width="250"/>
Last but not least now the buttons can be mounted to the main PCB.
<img src="https://github.com/dsbaars/btclock_v2/blob/main/doc/IMG_2172.jpeg" width="500"/>
@ -94,7 +113,7 @@ When you successfully installed VSC (Visual Studio Code) follow the following st
<img src="https://github.com/dsbaars/btclock_v2/blob/main/doc/VSC_1.png" width="500"/>
Add the repositorie from GitHub <https://github.com/dsbaars/btclock_v2.git> to VSC.
Add the repository from GitHub <https://github.com/dsbaars/btclock_v2.git> to VSC.
<img src="https://github.com/dsbaars/btclock_v2/blob/main/doc/VSC_2.png" width="500"/>
@ -102,7 +121,7 @@ When you put in the URL just click on the button that appears (dsbaars/btclock_v
<img src="https://github.com/dsbaars/btclock_v2/blob/main/doc/VSC_3.png" width="500"/>
Select a repositorie directory and click "Select as Repositorie Destination" and click on open. Note: it can take some time to load all the necessary data. Please wait.
Select a repository directory and click "Select as Repository Destination" and click on open. Note: it can take some time to load all the necessary data. Please wait.
<img src="https://github.com/dsbaars/btclock_v2/blob/main/doc/VSC_5.png" width="500"/>