update svg
1 parent
4903cca6d0
commit
5b1cd54e7d
1 file changed
+9
-5
+9
-5
@@ -42,7 +42,7 @@ Input Stage
|
|||||||
|
|
||||||
D1 Rectifies the DCC square-wave into +V, the amplitude is not critical as long as its within the 25V limit. The rectified voltage +V is then provided to the 3.3V voltage regulator (U1) and to the motor driver (U2).
|
D1 Rectifies the DCC square-wave into +V, the amplitude is not critical as long as its within the 25V limit. The rectified voltage +V is then provided to the 3.3V voltage regulator (U1) and to the motor driver (U2).
|
||||||
|
|
||||||
The MOSFET on the right effectively translates the rather high DCC voltage to a suitable level for the microcontroller to process. When Q1 is turned off GPIO24 is pulled high by the RP2040, as soon as Q1 gets turned on (V<sub>GS</sub> > V<sub>GS,th</sub>), GPIO24 gets pulled to GND potential. R1 and R2 ensure that V<sub>GS</sub> doesnt exceed ±20V.
|
The MOSFET on the right effectively translates the rather high DCC voltage to a suitable level for the microcontroller to process. When Q1 is turned off GPIO21 is pulled high by the RP2040 internal pull-up resistor, as soon as Q1 gets turned on (V<sub>GS</sub> > V<sub>GS,th</sub>), GPIO21 gets pulled to GND potential. R1 and R2 ensure that V<sub>GS</sub> doesnt exceed ±20V.
|
||||||
|
|
||||||
Motor Driver
|
Motor Driver
|
||||||
--------------------------
|
--------------------------
|
||||||
@@ -56,21 +56,23 @@ Auxillary Output
|
|||||||
--------------------------
|
--------------------------
|
||||||

|

|
||||||
|
|
||||||
Switching of loads up to a maximum of about ~400mA can be done using four N-Channel MOSFETS. They are switching on the low-side which means the load effectively gets connected to GND potential as the Transistor starts to conduct.
|
Switching of loads up to a maximum of about ~400mA can be done using four N-Channel MOSFETS. They are switching on the low-side which means the load effectively gets connected to GND potential as the transistor starts to conduct. GPIO24 - GPIO27 are used.
|
||||||
|
|
||||||
GPIO
|
GPIO
|
||||||
--------------------------
|
--------------------------
|
||||||
To Switch lighter loads, six GPIOs can be used. Alternatively they can of course be used as inputs as well (e.g. Reed switch).
|
To switch lighter loads six soldering pads on the back side of the PCB are connected to GPIO0 - GPIO5 pins . Although not implemented yet they could theoretically be used as inputs as well (e.g. Reed switch).
|
||||||
|
|
||||||
Microcontroller
|
Microcontroller
|
||||||
--------------------------
|
--------------------------
|
||||||

|

|
||||||
|
|
||||||
The Microcontroller needs a crystal oscillator to function properly. Flash memory is also needed as it holds the configuration variables and the program itself. R3 & C14 are used to filter ADC_AVDD (This might possibly be omitted in a future Revision).
|
The Microcontroller needs a crystal oscillator to function properly. External flash memory is also needed as it holds the configuration variables and the program itself. R3 & C14 are used to filter ADC_AVDD (ADC Reference Voltage).
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
Complete Schematic
|
Complete Schematic
|
||||||
--------------------------
|
--------------------------
|
||||||

|

|
||||||
|
|
||||||
BOM & Alternative Parts
|
BOM & Alternative Parts
|
||||||
--------------------------
|
--------------------------
|
||||||
@@ -91,6 +93,8 @@ BOM & Alternative Parts
|
|||||||
| U4 | 1 | / | Raspberry Pi RP2040 Microcontroller | RP2040 | QFN-56-1EP_7x7mm_P0.4mm |
|
| U4 | 1 | / | Raspberry Pi RP2040 Microcontroller | RP2040 | QFN-56-1EP_7x7mm_P0.4mm |
|
||||||
| Y1 | 1 | f = 12MHz | Crystal Oscillator | X322512MSB4SI | Crystal_SMD_3225-4Pin_3.2x2.5mm |
|
| Y1 | 1 | f = 12MHz | Crystal Oscillator | X322512MSB4SI | Crystal_SMD_3225-4Pin_3.2x2.5mm |
|
||||||
|
|
||||||
|
NOTE: Keep capacitor V<sub>max</sub> in mind!
|
||||||
|
|
||||||
Alternatives for BDR6133:
|
Alternatives for BDR6133:
|
||||||
|
|
||||||
[PT5126A-S-TP](https://lcsc.com/product-detail/Motor-Driver-ICs_PTC-Princeton-Tech-PT5126A-S-TP_C162093.html)
|
[PT5126A-S-TP](https://lcsc.com/product-detail/Motor-Driver-ICs_PTC-Princeton-Tech-PT5126A-S-TP_C162093.html)
|
||||||
|
|||||||
Reference in new issue
Block a user