Skip to content
Snippets Groups Projects
Commit 162b3ae6 authored by Dan Stone's avatar Dan Stone
Browse files

global evaluator corrections week 2 and 3

parent eb93121d
No related branches found
No related tags found
No related merge requests found
Pipeline #384460 passed
......@@ -310,4 +310,8 @@ Here are the files:
[Fusion360 files](../projects/Week2CAD/3DFiles/F360BasePlate.zip)
[FreeCAD files](../projects/Week2CAD/3DFiles/FreecadPlate.zip)
\ No newline at end of file
[FreeCAD files](../projects/Week2CAD/3DFiles/FreecadPlate.zip)
[Cuttle files](../projects/Week2CAD/2DFiles/Cuttledesign.zip)
[GIMP files](../projects/Week2CAD/2DFiles/GIMPdesign.zip)
\ No newline at end of file
......@@ -231,135 +231,4 @@ And we have success!!!
I believe this is all that was needed for this week but I also wanted to take a crack at the spinning motor.
## Spinning Motor set up
For my vegetable washing machine I purchased 3 parts:
1. 12-24V power supply
2. 12-24V / 80W DC Motor
3. 12-24V Motor ESC
![Motor](../images/imagW9/MOT1.jpg)
The ESC is controlled by a Potentiometer and once I got them connected they all worked well together. When
I turned the knob the motor speed changed.
I want to be able to control the ESC with the microcontroller so I can adjust the speed for the wash and
dry cycles.
First I need to understand how the Potentiometer works with the ESC. There is a plug with power and ground on either side
the middle wire voltage change based on the potentiometer position ranging from 0.5V to 3.6V.
![Motor](../images/imagW9/MOT2.jpg)
![Motor](../images/imagW9/MOT3.jpg)
I was not sure how to approach this, my initial plan was to use 2 resistors and some relays to switch between
2 speeds. After reviewing Dr. Gershenfeld class and reflecting on the transistor discussion I came up with the
idea of used a transistor to replace the potentiometer and a capacitor to smooth out the control signal from the
microcontroller.
I ran this by our local instructor Mr. Dubick and my classmate Adam Durrett that have strong electronics background and they
agreed it should work!!!
## Motor control circuit design
I decided the set up the board to control both the motor the spin the Vesgtable Basket as well as the Water pump even
though my focus this week was on the motor.
For each I would have a control signal come in from the micro controller on the main board. I would change the frequency of
the signal the change the speed, putting a capacitor on the line would smooth it and would replace the line in with the
potentiometer.
![Circuit](../images/imagW9/PCB1.jpg)
Not to get things a bit more organized. It is a relatively simple circuit
![Circuit](../images/imagW9/PCB2.jpg)
Not pushed it to the 2B Board and started tracing
![Circuit](../images/imagW9/PCB3.jpg)
## Motor control PCB design
Pushed to the 3D board get ready to mill
![Circuit](../images/imagW9/PCB4.jpg)
![Circuit](../images/imagW9/PCB5.jpg)
When I reviewing the milling it was very tight due to the tracing.
![Circuit](../images/imagW9/PCB8.jpg)
![Circuit](../images/imagW9/PCB6.jpg)
![Circuit](../images/imagW9/PCB81.jpg)
I reviewed the connectors and saw that by switch a few things around I could simplify the tracing
and provide more space between traces to make for easier milling
![Circuit](../images/imagW9/pcb7.jpg)
![Circuit](../images/imagW9/PCB82.jpg)
## Motor control board milling
Now I was ready to mill. I used the same set up with my Genmitsu 3020-Pro-Max from last week [here](https://fabacademy.org/2023/labs/charlotte/students/dan-stone/assignments/week09/#tool-path-set-up)
The tool path looked good
![Mill](../images/imagW9/Mill1.jpg)
Got to cutting using a 0.8mm end mill
![Mill](../images/imagW9/Mill2.jpg)
![Mill](../images/imagW9/Mill21.jpg)
I deburred and washed the board
![Mill](../images/imagW9/Mill3.jpg)
Now we are ready to stuff and solder
![Mill](../images/imagW9/Mill4.jpg)
Here are all the components
![Mill](../images/imagW9/Mill5.jpg)
And we are ready to test
![Mill](../images/imagW9/Mill6.jpg)
After stripping the connectors on a number of boards and after rethinking the machine design I decided the break this board into
2 one for the motor and one for the pump.
I also increased the side of my traces to 30mil and replace the pad for my connector with A better connector from
the fab library
I started testing the board and it seemed like now matter what I did the Sources and Drain of the transistor was always connected.
I checked for shorts, I added a pull down resistor to ensure the gate is 0 and not joy. The source and drain are connected.
I went back to the lab and got another 2 transisotr (the lab only had 3 of them) and they all seemed to do that same.
I reviewed them with my instructure and fellow student who is an electrical engineer and they could not find why it was
acting this way other then it may be a bad batch of transistors. We put in an order for some more and for now this part
of the project is on hold until the arrive.
[Here](../) are the files for this week
\ No newline at end of file
[Here](../files/Week9/outputweek.zip) are the files for this week
\ No newline at end of file
No preview for this file type
This diff is collapsed.
(Motorcntrlonly)
(T1 D=0.8 CR=0 - ZMIN=-1.535 - flat end mill)
G90 G94
G17
G21
(traces)
T1
S12000 M3
G54
M8
G0 X23.846 Y12.753
Z15
G0 Z5
G1 Z1.4 F50
Z0.045
X23.84 Z0.014 F100
X23.823 Z-0.012
X23.797 Z-0.029
X23.766 Z-0.035
X23.686
X23.655 Y12.747
X23.629 Y12.73
X23.612 Y12.704
X23.606 Y12.673
Y8.476
G2 X23.206 Y8.076 I-0.4 J0
G1 X17.006
G2 X16.606 Y8.476 I0 J0.4
G1 Y13.876
G2 X17.006 Y14.276 I0.4 J0
G1 X19.3
Y20.072
X17.801 Y21.571
X16.636
G2 X16.236 Y21.971 I0 J0.4
G1 Y23.241
G2 X16.636 Y23.641 I0.4 J0
G1 X19.176
G2 X19.576 Y23.241 I0 J-0.4
G1 Y22.076
X20.676 Y20.976
G2 X20.912 Y20.406 I-0.57 J-0.57
G1 Y14.276
X23.206
G2 X23.606 Y13.876 I0 J-0.4
G1 Y12.673
X23.612 Y12.643
X23.629 Y12.617
X23.655 Y12.599
X23.686 Y12.593
X23.766
X23.797 Z-0.029
X23.823 Z-0.012
X23.84 Z0.014
X23.846 Z0.045
G0 Z5
X25.988 Y12.771
G1 Z1.4 F50
Z0.045
X25.994 Y12.772 Z0.014 F100
X26.011 Y12.775 Z-0.012
X26.037 Y12.78 Z-0.029
X26.067 Y12.785 Z-0.035
X26.146 Y12.798
X26.175 Y12.809
X26.198 Y12.83
X26.211 Y12.859
Y12.89
X26.206 Y12.956
Y13.956
G2 X26.606 Y14.356 I0.4 J0
G1 X28.206
G2 X28.606 Y13.956 I0 J-0.4
G1 Y12.956
G2 X28.212 Y12.556 I-0.4 J0
G1 Y12.166
G2 X27.976 Y11.596 I-0.806 J0
G1 X25.952 Y9.572
Y6.096
G2 X25.172 Y5.29 I-0.806 J0
G1 X25.171
X25.146
X13.716
G2 X13.146 Y5.526 I0 J0.806
G1 X9.336 Y9.336
G2 X9.1 Y9.906 I0.57 J0.57
G1 Y20.066
G2 X9.336 Y20.636 I0.806 J0
G1 X10.776 Y22.076
Y23.241
G2 X11.176 Y23.641 I0.4 J0
G1 X13.716
G2 X14.11 Y23.31 I0 J-0.4
X14.11 Y21.902 I-0.394 J-0.704
X13.716 Y21.571 I-0.394 J0.069
G1 X12.551
X10.712 Y19.732
Y10.24
X14.05 Y6.902
X24.34
Y9.906
G2 X24.576 Y10.476 I0.806 J0
G1 X26.6 Y12.5
Y12.556
G2 X26.211 Y12.89 I0.006 J0.4
G1 X26.2 Y12.919
X26.179 Y12.942
X26.151 Y12.955
X26.119 Y12.956
X26.04 Y12.942
X26.01 Y12.937 Z-0.029
X25.985 Y12.933 Z-0.012
X25.968 Y12.93 Z0.014
X25.962 Y12.929 Z0.045
G0 Z5
X26.526 Y10.036
G1 Z1.4 F50
Z0.045
Y10.03 Z0.014 F100
Y10.013 Z-0.012
Y9.987 Z-0.029
Y9.956 Z-0.035
Y9.876
X26.532 Y9.845
X26.549 Y9.819
X26.575 Y9.802
X26.606 Y9.796
X28.206
G2 X28.463 Y9.702 I0 J-0.4
G1 X28.696
G2 X29.266 Y9.466 I0 J-0.806
G1 X29.29 Y9.442
X32.813
X33.74 Y10.37
X31.496
G2 X30.69 Y11.176 I0 J0.806
G1 Y22.272
X28.622 Y24.34
X19.537
G2 X19.176 Y24.111 I-0.361 J0.171
G1 X16.636
G2 X16.236 Y24.511 I0 J0.4
G1 Y25.781
G2 X16.636 Y26.181 I0.4 J0
G1 X19.176
G2 X19.537 Y25.952 I0 J-0.4
G1 X28.956
G2 X29.526 Y25.716 I0 J-0.806
G1 X32.066 Y23.176
G2 X32.302 Y22.606 I-0.57 J-0.57
G1 Y11.982
X34.925
G2 X35.397 Y11.83 I0 J-0.806
G1 X36.258
G2 X36.659 Y11.43 I0 J-0.4
G1 Y10.16
G2 X36.258 Y9.76 I-0.4 J0
G1 X35.411
X33.717 Y8.066
G2 X33.147 Y7.83 I-0.57 J0.57
G1 X28.956
G2 X28.404 Y8.048 I0 J0.806
G1 X28.341 Y8.02
X28.275 Y8.002
X28.206 Y7.996
X26.606
G2 X26.206 Y8.396 I0 J0.4
G1 Y9.396
G2 X26.606 Y9.796 I0.4 J0
G1 X26.637 Y9.802
X26.663 Y9.819
X26.68 Y9.845
X26.686 Y9.876
Y9.956
Y9.987 Z-0.029
Y10.013 Z-0.012
Y10.03 Z0.014
Y10.036 Z0.045
G0 Z5
X27.689 Y4.602
G1 Z1.4 F50
Z0.045
Y4.596 Z0.014 F100
Y4.579 Z-0.012
Y4.553 Z-0.029
Y4.522 Z-0.035
Y4.442
X27.695 Y4.412
X27.713 Y4.386
X27.739 Y4.368
X27.769 Y4.362
X34.972
X37.04 Y6.43
Y13.291
X36.62
G2 X36.258 Y13.062 I-0.361 J0.171
G1 X34.354
G2 X33.953 Y13.462 I0 J0.4
G1 Y14.732
G2 X34.354 Y15.132 I0.4 J0
G1 X36.258
G2 X36.62 Y14.903 I0 J-0.4
G1 X37.465
G2 X38.035 Y14.667 I0 J-0.806
G1 X38.416 Y14.286
G2 X38.652 Y13.716 I-0.57 J-0.57
G1 Y6.096
G2 X38.416 Y5.526 I-0.806 J0
G1 X35.876 Y2.986
G2 X35.306 Y2.75 I-0.57 J0.57
G1 X12.446
G2 X11.876 Y2.986 I0 J0.806
G1 X4.256 Y10.606
G2 X4.02 Y11.176 I0.57 J0.57
G1 Y22.606
G2 X4.256 Y23.176 I0.806 J0
G1 X6.796 Y25.716
G2 X7.366 Y25.952 I0.57 J-0.57
G1 X10.815
G2 X11.176 Y26.181 I0.361 J-0.171
G1 X13.716
G2 X14.116 Y25.781 I0 J-0.4
G1 Y24.511
G2 X13.716 Y24.111 I-0.4 J0
G1 X11.176
G2 X10.815 Y24.34 I0 J0.4
G1 X7.7
X5.632 Y22.272
Y11.51
X12.78 Y4.362
X27.769
X27.8 Y4.368
X27.826 Y4.386
X27.843 Y4.412
X27.849 Y4.442
Y4.522
Y4.553 Z-0.029
Y4.579 Z-0.012
Y4.596 Z0.014
Y4.602 Z0.045
G0 Z15
(cutout)
G0 X41.716 Y0.376
Z15
Z5
G1 Z1.4 F50
Z-0.32
Y0.382 Z-0.351 F75
Y0.399 Z-0.377
Y0.425 Z-0.394
Y0.456 Z-0.4
Y0.536
X41.71 Y0.567
X41.693 Y0.593
X41.667 Y0.61
X41.636 Y0.616
X1.016
G2 X0.616 Y1.016 I0 J0.4
G1 Y28.626
G2 X1.016 Y29.026 I0.4 J0
G1 X41.636
G2 X42.036 Y28.626 I0 J-0.4
G1 Y1.016
G2 X41.636 Y0.616 I-0.4 J0
G1 X41.605 Y0.61
X41.579 Y0.593
X41.562 Y0.567
X41.556 Y0.536
Y0.456
Y0.425 Z-0.394
Y0.399 Z-0.377
Y0.382 Z-0.351
Y0.376 Z-0.32
G0 Z5
X41.716
G1 Z1 F50
Z-0.72
Y0.382 Z-0.751 F75
Y0.399 Z-0.777
Y0.425 Z-0.794
Y0.456 Z-0.8
Y0.536
X41.71 Y0.567
X41.693 Y0.593
X41.667 Y0.61
X41.636 Y0.616
X1.016
G2 X0.616 Y1.016 I0 J0.4
G1 Y28.626
G2 X1.016 Y29.026 I0.4 J0
G1 X41.636
G2 X42.036 Y28.626 I0 J-0.4
G1 Y1.016
G2 X41.636 Y0.616 I-0.4 J0
G1 X41.605 Y0.61
X41.579 Y0.593
X41.562 Y0.567
X41.556 Y0.536
Y0.456
Y0.425 Z-0.794
Y0.399 Z-0.777
Y0.382 Z-0.751
Y0.376 Z-0.72
G0 Z5
X41.716
G1 Z0.6 F50
Z-1.12
Y0.382 Z-1.151 F75
Y0.399 Z-1.177
Y0.425 Z-1.194
Y0.456 Z-1.2
Y0.536
X41.71 Y0.567
X41.693 Y0.593
X41.667 Y0.61
X41.636 Y0.616
X1.016
G2 X0.616 Y1.016 I0 J0.4
G1 Y28.626
G2 X1.016 Y29.026 I0.4 J0
G1 X41.636
G2 X42.036 Y28.626 I0 J-0.4
G1 Y1.016
G2 X41.636 Y0.616 I-0.4 J0
G1 X41.605 Y0.61
X41.579 Y0.593
X41.562 Y0.567
X41.556 Y0.536
Y0.456
Y0.425 Z-1.194
Y0.399 Z-1.177
Y0.382 Z-1.151
Y0.376 Z-1.12
G0 Z5
X41.716
G1 Z0.2 F50
Z-1.455
Y0.382 Z-1.486 F75
Y0.399 Z-1.512
Y0.425 Z-1.529
Y0.456 Z-1.535
Y0.536
X41.71 Y0.567
X41.693 Y0.593
X41.667 Y0.61
X41.636 Y0.616
X1.016
G2 X0.616 Y1.016 I0 J0.4
G1 Y28.626
G2 X1.016 Y29.026 I0.4 J0
G1 X41.636
G2 X42.036 Y28.626 I0 J-0.4
G1 Y1.016
G2 X41.636 Y0.616 I-0.4 J0
G1 X41.605 Y0.61
X41.579 Y0.593
X41.562 Y0.567
X41.556 Y0.536
Y0.456
Y0.425 Z-1.529
Y0.399 Z-1.512
Y0.382 Z-1.486
Y0.376 Z-1.455
G0 Z15
M9
M5
M30
(Motorcontrol2)
(T1 D=0.8 CR=0 - ZMIN=-1.535 - flat end mill)
G90 G94
G17
G21
(2D Contour3)
T1
S12000 M3
G54
M8
G0 X29.445 Y22.526
Z15
G0 Z5
G1 Z1 F50
Z0.045
X29.448 Y22.531 Z0.014 F100
X29.457 Y22.546 Z-0.012
X29.47 Y22.569 Z-0.029
X29.486 Y22.595 Z-0.035
X29.527 Y22.663
X29.538 Y22.693
X29.536 Y22.724
X29.523 Y22.752
X29.5 Y22.773
G2 X29.32 Y23.013 I0.206 J0.343
G1 X11.817
G2 X11.39 Y23.189 I0 J0.603
G1 X11.358 Y23.222
X10.224
G2 X9.823 Y23.622 I0 J0.4
G1 Y24.892
G2 X10.224 Y25.292 I0.4 J0
G1 X11.358
X11.573 Y25.507
Y30.11
G2 X11.276 Y30.496 I0.103 J0.386
G1 Y32.496
G2 X11.676 Y32.896 I0.4 J0
G1 X12.676
G2 X13.076 Y32.496 I0 J-0.4
G1 Y30.496
G2 X12.779 Y30.11 I-0.4 J0
G1 Y25.257
G2 X12.603 Y24.83 I-0.603 J0
G1 X12.528 Y24.756
Y24.219
X29.32
G2 X29.706 Y24.516 I0.386 J-0.103
G1 X31.306
G2 X31.706 Y24.116 I0 J-0.4
G1 Y23.116
G2 X31.306 Y22.716 I-0.4 J0
G1 X29.706
X29.634 Y22.722
X29.565 Y22.742
X29.5 Y22.773
X29.471 Y22.784
X29.439 Y22.782
X29.411 Y22.769
X29.39 Y22.746
X29.349 Y22.677
X29.333 Y22.651 Z-0.029
X29.32 Y22.629 Z-0.012
X29.311 Y22.614 Z0.014
X29.308 Y22.609 Z0.045
G0 Z5
X29.626 Y20.196
G1 Z1 F50
Z0.045
Y20.19 Z0.014 F100
Y20.173 Z-0.012
Y20.147 Z-0.029
Y20.116 Z-0.035
Y20.036
X29.632 Y20.005
X29.649 Y19.979
X29.675 Y19.962
X29.706 Y19.956
X30.553
X32.163 Y21.566
Y24.896
X31.246 Y25.813
X22.606
G2 X22.179 Y25.989 I0 J0.603
G1 X19.909 Y28.259
G2 X19.733 Y28.686 I0.427 J0.427
G1 Y30.11
G2 X19.436 Y30.496 I0.103 J0.386
G1 Y32.496
G2 X19.836 Y32.896 I0.4 J0
G1 X20.836
G2 X21.236 Y32.496 I0 J-0.4
G1 Y30.496
G2 X20.939 Y30.11 I-0.4 J0
G1 Y28.936
X22.856 Y27.019
X25.813
Y35.027
G2 X25.989 Y35.453 I0.603 J0
G1 X27.259 Y36.723
G2 X27.686 Y36.9 I0.427 J-0.427
G1 X45.466
G2 X45.893 Y36.723 I0 J-0.603
G1 X47.163 Y35.453
G2 X47.339 Y35.027 I-0.427 J-0.427
G1 Y9.906
G2 X47.163 Y9.48 I-0.603 J0
G1 X43.353 Y5.669
G2 X42.926 Y5.493 I-0.427 J0.427
G1 X20.066
G2 X19.639 Y5.669 I0 J0.603
G1 X18.649 Y6.659
G2 X18.473 Y7.086 I0.427 J0.427
G1 Y7.996
X18.276
G2 X17.876 Y8.396 I0 J0.4
G1 Y9.396
G2 X18.276 Y9.796 I0.4 J0
G1 X19.876
G2 X20.276 Y9.396 I0 J-0.4
G1 Y8.396
G2 X19.876 Y7.996 I-0.4 J0
G1 X19.679
Y7.336
X20.316 Y6.699
X42.676
X46.133 Y10.156
Y34.777
X45.216 Y35.694
X27.936
X27.019 Y34.777
Y27.019
X31.496
G2 X31.923 Y26.843 I0 J-0.603
G1 X33.193 Y25.573
G2 X33.369 Y25.146 I-0.427 J-0.427
G1 Y21.316
G2 X33.193 Y20.889 I-0.603 J0
G1 X31.706 Y19.403
Y18.556
G2 X31.306 Y18.156 I-0.4 J0
G1 X29.706
G2 X29.306 Y18.556 I0 J0.4
G1 Y19.556
G2 X29.706 Y19.956 I0.4 J0
G1 X29.737 Y19.962
X29.763 Y19.979
X29.78 Y20.005
X29.786 Y20.036
Y20.116
Y20.147 Z-0.029
Y20.173 Z-0.012
Y20.19 Z0.014
Y20.196 Z0.045
G0 Z5
X34.253 Y18.177
G1 Z1 F50
Z0.045
X34.258 Y18.18 Z0.014 F100
X34.272 Y18.191 Z-0.012
X34.292 Y18.207 Z-0.029
X34.316 Y18.226 Z-0.035
X34.379 Y18.276
X34.399 Y18.299
X34.409 Y18.329
X34.406 Y18.36
X34.392 Y18.388
G2 X34.306 Y18.636 I0.314 J0.248
G1 Y24.036
G2 X34.706 Y24.436 I0.4 J0
G1 X37.203
Y26.206
X32.516 Y30.893
X32.126
Y30.496
G2 X31.726 Y30.096 I-0.4 J0
G1 X30.726
G2 X30.326 Y30.496 I0 J0.4
G1 Y32.496
G2 X30.726 Y32.896 I0.4 J0
G1 X31.726
G2 X32.126 Y32.496 I0 J-0.4
G1 Y32.099
X32.766
G2 X33.193 Y31.923 I0 J-0.603
G1 X38.273 Y26.843
G2 X38.409 Y26.2 I-0.427 J-0.427
G1 Y24.436
X40.906
G2 X41.306 Y24.036 I0 J-0.4
G1 Y18.636
G2 X40.906 Y18.236 I-0.4 J0
G1 X34.706
G2 X34.392 Y18.388 I0 J0.4
G1 X34.368 Y18.408
X34.339 Y18.418
X34.308 Y18.415
X34.28 Y18.401
X34.217 Y18.352
X34.193 Y18.333 Z-0.029
X34.173 Y18.317 Z-0.012
X34.159 Y18.306 Z0.014
X34.154 Y18.302 Z0.045
G0 Z5
X32.956 Y15.829
G1 Z1 F50
Z0.045
Y15.823 Z0.014 F100
Y15.806 Z-0.012
Y15.78 Z-0.029
Y15.749 Z-0.035
Y15.669
X32.962 Y15.639
X32.98 Y15.613
X33.005 Y15.595
X33.036 Y15.589
X41.406
X42.323 Y16.506
Y32.516
X41.406 Y33.433
X30.476
X29.899 Y32.856
G2 X30.126 Y32.496 I-0.174 J-0.36
G1 Y30.496
G2 X29.726 Y30.096 I-0.4 J0
G1 X28.726
G2 X28.326 Y30.496 I0 J0.4
G1 Y32.496
X28.333 Y32.569
X28.353 Y32.64
Y32.766
G2 X28.529 Y33.193 I0.603 J0
G1 X29.799 Y34.463
G2 X30.226 Y34.639 I0.427 J-0.427
G1 X41.656
G2 X42.083 Y34.463 I0 J-0.603
G1 X43.353 Y33.193
G2 X43.529 Y32.766 I-0.427 J-0.427
G1 Y16.256
G2 X43.353 Y15.829 I-0.603 J0
G1 X42.083 Y14.559
G2 X41.656 Y14.383 I-0.427 J0.427
G1 X30.436
X29.876 Y13.823
Y8.476
G2 X29.476 Y8.076 I-0.4 J0
G1 X23.276
G2 X22.876 Y8.476 I0 J0.4
G1 Y13.876
G2 X23.276 Y14.276 I0.4 J0
G1 X28.623
X29.759 Y15.413
G2 X30.186 Y15.589 I0.427 J-0.427
G1 X33.036
X33.067 Y15.595
X33.093 Y15.613
X33.11 Y15.639
X33.116 Y15.669
Y15.749
Y15.78 Z-0.029
Y15.806 Z-0.012
Y15.823 Z0.014
Y15.829 Z0.045
G0 Z5
X21.022 Y17.664
G1 Z1 F50
Z0.045
X21.016 Y17.663 Z0.014 F100
X21 Y17.658 Z-0.012
X20.975 Y17.651 Z-0.029
X20.945 Y17.643 Z-0.035
X20.868 Y17.621
X20.84 Y17.607
X20.82 Y17.583
X20.81 Y17.554
X20.813 Y17.523
X20.829 Y17.442
X20.835 Y17.36
Y12.809
G2 X20.658 Y12.382 I-0.603 J0
G1 X18.347 Y10.071
X18.346 Y10.07
G2 X17.96 Y9.896 I-0.424 J0.428
G1 X17.956
X17.92 Y9.894
X17.097
X16.859 Y9.656
Y6.096
G2 X16.683 Y5.67 I-0.603 J0
G1 X15.413 Y4.399
G2 X14.986 Y4.223 I-0.427 J0.427
G1 X9.906
G2 X9.479 Y4.399 I0 J0.603
G1 X5.669 Y8.209
G2 X5.493 Y8.636 I0.427 J0.427
G1 Y31.016
G2 X5.669 Y31.443 I0.603 J0
G1 X9.248 Y35.021
G2 X9.675 Y35.198 I0.427 J-0.427
G1 X22.047
G2 X22.474 Y35.021 I0 J-0.603
G1 X23.033 Y34.463
G2 X23.209 Y34.036 I-0.427 J-0.427
G1 Y32.64
X23.229 Y32.569
X23.236 Y32.496
Y30.496
G2 X22.836 Y30.096 I-0.4 J0
G1 X21.836
G2 X21.436 Y30.496 I0 J0.4
G1 Y32.496
G2 X21.836 Y32.896 I0.4 J0
G1 X22.003
Y33.786
X21.797 Y33.992
X9.924
X6.699 Y30.766
Y8.886
X10.156 Y5.429
X14.736
X15.653 Y6.346
Y9.906
G2 X15.829 Y10.333 I0.603 J0
G1 X16.421 Y10.924
G2 X16.848 Y11.101 I0.427 J-0.427
G1 X17.671
X19.126 Y12.556
X18.276
G2 X17.876 Y12.956 I0 J0.4
G1 Y13.113
X16.506
X15.589 Y12.196
Y8.636
G2 X15.413 Y8.21 I-0.603 J0
G1 X14.143 Y6.939
G2 X13.799 Y6.768 I-0.427 J0.427
G1 Y6.35
G2 X13.399 Y5.95 I-0.4 J0
G1 X11.493
G2 X11.094 Y6.35 I0 J0.4
G1 Y6.382
X10.287
G2 X9.86 Y6.558 I0 J0.603
G1 X8.209 Y8.209
G2 X8.033 Y8.636 I0.427 J0.427
G1 Y29.956
G2 X8.209 Y30.383 I0.603 J0
G1 X9.276 Y31.449
Y32.496
G2 X9.676 Y32.896 I0.4 J0
G1 X10.676
G2 X11.076 Y32.496 I0 J-0.4
G1 Y30.496
G2 X10.676 Y30.096 I-0.4 J0
G1 X9.676
X9.632 Y30.098
X9.239 Y29.706
Y8.886
X10.537 Y7.588
X11.094
Y7.62
G2 X11.493 Y8.02 I0.4 J0
G1 X13.399
X13.451 Y8.017
X13.503 Y8.006
X14.383 Y8.886
Y12.446
G2 X14.559 Y12.873 I0.603 J0
G1 X15.829 Y14.143
G2 X16.256 Y14.319 I0.427 J-0.427
G1 X18.108
X18.162 Y14.34
X18.219 Y14.352
X18.276 Y14.356
X19.628
Y17.111
X16.387 Y20.352
X12.528
Y20.32
G2 X12.128 Y19.92 I-0.4 J0
G1 X11.779
Y15.236
X12.873 Y14.143
G2 X13.049 Y13.716 I-0.427 J-0.427
G1 Y11.322
X13.399
G2 X13.799 Y10.922 I0 J-0.4
G1 Y9.652
G2 X13.399 Y9.252 I-0.4 J0
G1 X11.493
G2 X11.094 Y9.652 I0 J0.4
G1 Y10.922
G2 X11.493 Y11.322 I0.4 J0
G1 X11.843
Y13.466
X10.749 Y14.559
G2 X10.573 Y14.986 I0.427 J0.427
G1 Y19.92
X10.224
G2 X9.823 Y20.32 I0 J0.4
G1 Y21.59
G2 X10.224 Y21.99 I0.4 J0
G1 X12.128
G2 X12.528 Y21.59 I0 J-0.4
G1 Y21.558
X16.637
G2 X17.064 Y21.382 I0 J-0.603
G1 X20.658 Y17.787
G2 X20.813 Y17.523 I-0.427 J-0.427
G1 X20.827 Y17.495
X20.85 Y17.474
X20.88 Y17.465
X20.911 Y17.467
X20.988 Y17.489
X21.018 Y17.497 Z-0.029
X21.043 Y17.504 Z-0.012
X21.059 Y17.509 Z0.014
X21.065 Y17.51 Z0.045
G0 Z15
M9
(2D Contour4)
G0 X0.376 Y19.186
Z15
Z5
G1 Z1.4 F50
Z-0.32
X0.382 Z-0.351 F100
X0.399 Z-0.377
X0.425 Z-0.394
X0.456 Z-0.4
X0.536
X0.567 Y19.192
X0.593 Y19.209
X0.61 Y19.235
X0.616 Y19.266
Y37.516
G2 X1.016 Y37.916 I0.4 J0
G1 X47.986
G2 X48.386 Y37.516 I0 J-0.4
G1 Y1.016
G2 X47.986 Y0.616 I-0.4 J0
G1 X1.016
G2 X0.616 Y1.016 I0 J0.4
G1 Y19.266
X0.61 Y19.297
X0.593 Y19.323
X0.567 Y19.34
X0.536 Y19.346
X0.456
X0.425 Z-0.394
X0.399 Z-0.377
X0.382 Z-0.351
X0.376 Z-0.32
G0 Z5
Y19.186
G1 Z1 F50
Z-0.72
X0.382 Z-0.751 F100
X0.399 Z-0.777
X0.425 Z-0.794
X0.456 Z-0.8
X0.536
X0.567 Y19.192
X0.593 Y19.209
X0.61 Y19.235
X0.616 Y19.266
Y37.516
G2 X1.016 Y37.916 I0.4 J0
G1 X47.986
G2 X48.386 Y37.516 I0 J-0.4
G1 Y1.016
G2 X47.986 Y0.616 I-0.4 J0
G1 X1.016
G2 X0.616 Y1.016 I0 J0.4
G1 Y19.266
X0.61 Y19.297
X0.593 Y19.323
X0.567 Y19.34
X0.536 Y19.346
X0.456
X0.425 Z-0.794
X0.399 Z-0.777
X0.382 Z-0.751
X0.376 Z-0.72
G0 Z5
Y19.186
G1 Z0.6 F50
Z-1.12
X0.382 Z-1.151 F100
X0.399 Z-1.177
X0.425 Z-1.194
X0.456 Z-1.2
X0.536
X0.567 Y19.192
X0.593 Y19.209
X0.61 Y19.235
X0.616 Y19.266
Y37.516
G2 X1.016 Y37.916 I0.4 J0
G1 X47.986
G2 X48.386 Y37.516 I0 J-0.4
G1 Y1.016
G2 X47.986 Y0.616 I-0.4 J0
G1 X1.016
G2 X0.616 Y1.016 I0 J0.4
G1 Y19.266
X0.61 Y19.297
X0.593 Y19.323
X0.567 Y19.34
X0.536 Y19.346
X0.456
X0.425 Z-1.194
X0.399 Z-1.177
X0.382 Z-1.151
X0.376 Z-1.12
G0 Z5
Y19.186
G1 Z0.2 F50
Z-1.455
X0.382 Z-1.486 F100
X0.399 Z-1.512
X0.425 Z-1.529
X0.456 Z-1.535
X0.536
X0.567 Y19.192
X0.593 Y19.209
X0.61 Y19.235
X0.616 Y19.266
Y37.516
G2 X1.016 Y37.916 I0.4 J0
G1 X47.986
G2 X48.386 Y37.516 I0 J-0.4
G1 Y1.016
G2 X47.986 Y0.616 I-0.4 J0
G1 X1.016
G2 X0.616 Y1.016 I0 J0.4
G1 Y19.266
X0.61 Y19.297
X0.593 Y19.323
X0.567 Y19.34
X0.536 Y19.346
X0.456
X0.425 Z-1.529
X0.399 Z-1.512
X0.382 Z-1.486
X0.376 Z-1.455
G0 Z15
M5
M30
docs/images/imagW1/SSHGeneration.jpg

88.8 KiB | W: | H:

docs/images/imagW1/SSHGeneration.jpg

86.6 KiB | W: | H:

docs/images/imagW1/SSHGeneration.jpg
docs/images/imagW1/SSHGeneration.jpg
docs/images/imagW1/SSHGeneration.jpg
docs/images/imagW1/SSHGeneration.jpg
  • 2-up
  • Swipe
  • Onion skin
docs/images/imagW1/SSHgen.jpg

102 KiB | W: | H:

docs/images/imagW1/SSHgen.jpg

118 KiB | W: | H:

docs/images/imagW1/SSHgen.jpg
docs/images/imagW1/SSHgen.jpg
docs/images/imagW1/SSHgen.jpg
docs/images/imagW1/SSHgen.jpg
  • 2-up
  • Swipe
  • Onion skin
docs/images/imagW9/3D1.png

149 KiB

File added
File added
......@@ -305,3 +305,131 @@ Here is the one I built in action:
<iframe width="560" height="315" src="https://www.youtube.com/embed/PIB-q0JtLqo" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" allowfullscreen></iframe>
## Spinning Motor set up
For my vegetable washing machine I purchased 3 parts:
1. 12-24V power supply
2. 12-24V / 80W DC Motor
3. 12-24V Motor ESC
![Motor](../images/imagW9/MOT1.jpg)
The ESC is controlled by a Potentiometer and once I got them connected they all worked well together. When
I turned the knob the motor speed changed.
I want to be able to control the ESC with the microcontroller so I can adjust the speed for the wash and
dry cycles.
First I need to understand how the Potentiometer works with the ESC. There is a plug with power and ground on either side
the middle wire voltage change based on the potentiometer position ranging from 0.5V to 3.6V.
![Motor](../images/imagW9/MOT2.jpg)
![Motor](../images/imagW9/MOT3.jpg)
I was not sure how to approach this, my initial plan was to use 2 resistors and some relays to switch between
2 speeds. After reviewing Dr. Gershenfeld class and reflecting on the transistor discussion I came up with the
idea of used a transistor to replace the potentiometer and a capacitor to smooth out the control signal from the
microcontroller.
I ran this by our local instructor Mr. Dubick and my classmate Adam Durrett that have strong electronics background and they
agreed it should work!!!
## Motor control circuit design
I decided the set up the board to control both the motor the spin the Vesgtable Basket as well as the Water pump even
though my focus this week was on the motor.
For each I would have a control signal come in from the micro controller on the main board. I would change the frequency of
the signal the change the speed, putting a capacitor on the line would smooth it and would replace the line in with the
potentiometer.
![Circuit](../images/imagW9/PCB1.jpg)
Not to get things a bit more organized. It is a relatively simple circuit
![Circuit](../images/imagW9/PCB2.jpg)
Not pushed it to the 2B Board and started tracing
![Circuit](../images/imagW9/PCB3.jpg)
## Motor control PCB design
Pushed to the 3D board get ready to mill
![Circuit](../images/imagW9/PCB4.jpg)
![Circuit](../images/imagW9/PCB5.jpg)
When I reviewing the milling it was very tight due to the tracing.
![Circuit](../images/imagW9/PCB8.jpg)
![Circuit](../images/imagW9/PCB6.jpg)
![Circuit](../images/imagW9/PCB81.jpg)
I reviewed the connectors and saw that by switch a few things around I could simplify the tracing
and provide more space between traces to make for easier milling
![Circuit](../images/imagW9/pcb7.jpg)
![Circuit](../images/imagW9/PCB82.jpg)
## Motor control board milling
Now I was ready to mill. I used the same set up with my Genmitsu 3020-Pro-Max from last week [here](https://fabacademy.org/2023/labs/charlotte/students/dan-stone/assignments/week09/#tool-path-set-up)
The tool path looked good
![Mill](../images/imagW9/Mill1.jpg)
Got to cutting using a 0.8mm end mill
![Mill](../images/imagW9/Mill2.jpg)
![Mill](../images/imagW9/Mill21.jpg)
I deburred and washed the board
![Mill](../images/imagW9/Mill3.jpg)
Now we are ready to stuff and solder
![Mill](../images/imagW9/Mill4.jpg)
Here are all the components
![Mill](../images/imagW9/Mill5.jpg)
And we are ready to test
![Mill](../images/imagW9/Mill6.jpg)
After stripping the connectors on a number of boards and after rethinking the machine design I decided the break this board into
2 one for the motor and one for the pump.
I also increased the side of my traces to 30mil and replace the pad for my connector with A better connector from
the fab library
I started testing the board and it seemed like now matter what I did the Sources and Drain of the transistor was always connected.
I checked for shorts, I added a pull down resistor to ensure the gate is 0 and not joy. The source and drain are connected.
I went back to the lab and got another 2 transisotr (the lab only had 3 of them) and they all seemed to do that same.
I reviewed them with my instructure and fellow student who is an electrical engineer and they could not find why it was
acting this way other then it may be a bad batch of transistors. We put in an order for some more and for now this part
of the project is on hold until the arrive.
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment