Newer
Older
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
What will it do?
**Goal is to create a kitchen appliance that can wash and dry greens and other vegetables via a pre set cycle both saving time (and potentially water)**
**Who's done what beforehand?**
So far I only found limited similar project within the fab academy community and a few outside.
Fab Academy projects
1) [here](https://fab.cba.mit.edu/classes/863.13/people/jfduval/final.html)
Outside of fab academy:
1. I like the automated spinning salad dryer that the You Tuber The Practical Engineer designed
<iframe width="560" height="315" src="https://www.youtube.com/embed/hfGojmXrGfc" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" allowfullscreen></iframe>
I think that he has a good spinner design and using this approach can allow me to allow users to put in
any colander they wish.
2. Commercial solution are mainly ultrasonic, manual or focused on drying (salad spinners)
[Here](https://www.amazon.com/dp/B0BCVW1DPR?pd_rd_i=B0BCVW1DPR&pf_rd_p=b000e0a0-9e93-480f-bf78-a83c8136dfcb&pf_rd_r=SXKKN0NRSWW8SSBCYA6G&pd_rd_wg=yaMUE&pd_rd_w=RtpxZ&pd_rd_r=91c7961a-a2a2-4e3e-a877-a44317f81a64) are some examples



**What will you design?**
I will design all aspect of the project with 4 major components
1) The box / frame of the machine and water reservoir
2) The spinning mechanism
3) The machine lid and water dispensing mechanism
4) Control board electronics - main board, pump breakout board, motor breakout board, button breakout board
**What materials and components will be used?**
The main materials are
1) T Rails + Plexiglass
2) 3D print filament - TPU, PLA and XTC3D finishing resin
3) Electronic components and PCB boards, motor/ESC and pump
4) Molding plastic / rubber
Below is a full BOM
**Where will come from?**
Most are either provided by lab, purchased from Digi key or Amazon
**How much will they cost?**

**What parts and systems will be made?**
Washbasin/box/frame, drain/skirt, spinning plate, lid, water reservoir, electronics boards.
Only things not made are:
Motor + ESC, pump, salad spinner bowl, water tube, sprinkler head, power supply
**What processes will be used?**
- 3D print
- Laser cutting
- PCB Board milling
- Molding and casting / resin
- System integration
**What questions need to be answered?**
- Spinning mechanism - chain/band vs. direct drive (already answered)
- Frame materials - (already answered - TRail )
- Water drainage approach - TPU printed sloped base
**How will it be evaluated?**
- does it wash and clean greens / veggies
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
## Project description
{: style="height:360px;width:720px"}
{: style="height:300px;width:300px"}
Here is a first cut at the base:

**There are 4 main parts to the appliance**
1. Water reservoir
2. Main container (Wash basin)- base is designed to have a gravity fed drain
3. Lid with build in sprinkler
4. Vegetable holding bowel that sites in the Wash basin and spins to dry
**There are 2 Motor/pump used**
1. Water pump to move water from reservoir to sprinkler head
2. Motor to spin Vegetable bowel
**There are 2 potential sensors**
1. Lid sensor - stop operation if lid is open mid cycle
2. Water level sensor to alert if reservoir is empty
**Microcontroller usage**
1. Control sequencing of pumps / motors
2. Interrupt operation if sensor is triggered
3. Manage GUI
**GUI**
- Wash only
- Dry only
- Wash/dry
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
Here is a another view of the merging design

## Align parts to Fab Academy weekly topics
| Weekly topics | Parts |
| ----------- | ----------- |
| Computer controlled cutting | Outbox / wash basin holder |
| Electronics production | Controller, motor ESC, Sensors |
| 3D Scanning and printing | Motor housing, water connectors, sprinkler head, sproket/chain for motor drive|
| Electronics design | sensors / controller board / Motor ESC |
| Computer controlled machining | Controller board |
| Embedded programming | Cycle design / User input |
| Molding and casting | Drain / Spinning plate |
| Input devices | GUI buttons / Sensors |
| Output devices | Screen |
Key component breakdown
Outer box - Plexiglass
Wash basin holder - Plexiglass / 3d print
Water reservoir - molding / buying
Electronic housing - 3D print
spinner mechanism - 3D print
Bowel - Molding / casting
Lid - 3D Print
Water pump / sprinkler mechanism - 3D print / electronics
Sensors - 1) Lid sensor 2) Water level sensor
Controller board -
Display/Buttons
Water connections - 3 Print or buy
## Build / system overview
My build split into the physical build and the electronics

## Physical build
## Box
I decided to use a similar method that we used in machine week of T rails for the outside frame and then 1/4 inch plexiglass for the water tight box and water reservoir that are both mounted in side the frame

Using a chop saw and aluminum cutting blade I got all the pieces ready for assembly


3D printed bracket will be key together with T Rail M5 screws and bolts
To make the water proof interior box I decided to use 1/4 plexiglass that I will laser cut and then use cement and possible silicon to water proof
I used the big epilog laser at the fab lab. Setting for 1/4 inch plexi glass was 100% power and 10% speed.
I first cut and assembled a cardboard set to make sure it all worked well as I only have 1 sheet of plexiglass. I made sure the mounting holes for the motor were positioned correctly
Now it was time to cut the plexiglass

4 of the five panels cut fine on the left side but the right side of the laser did not cut through. I refocused the laser on the right side and ran the cut for the 5th panel with 3 passes. Discussing with the person in charge of maintaining the laser it seems like they were having a focus issue they were working through.
Now I needed to glue it together and so I used a plexiglass cement with the following [data sheet](https://assemblyadhesives.com/SDS/WELD-ON%204SC%20Low%20VOC%20Solvent%20Cement%20for%20Acrylic%20US_EN_v2.pdf)
I only did used it in the garage with the car door open to ensure enough ventilation

This applicator was very useful

I used clamps to keep it together until the cement dried

The lid assemble was a smaller version of the box assembly with an addition of a hinge and a Door Lift Stay Support Hinge Damper [](https://www.amazon.com/gp/product/B01N5GQZK2/ref=ppx_yo_dt_b_search_asin_title?ie=UTF8&th=1)
Now it is time to fabricate the internal plexiglass box
First I cut out the shape from cardboard to make sure it would fit

Looks good

Now cut the plexiglass

Clean cut

Here you can see the water pump mounted and another hole for the water tube to go into the lid
First I set up some user parameters I will use in sizing the spinning plate and it base


To create the shape of the base I will create a new sketch on the top of the base leg. I then
create a circle and replicate it using the circular pattern tool followed but a cut.

I then sketched on top again and created a circle to create the plate itself

Here I made a mistake as I did not select the whole plate and where the handy timeline
tool come into play

And we are back on track. I wanted to create a downward facing lip in order to provide some water
protection for the spinning mechanism during the dry cycle.
To do this I am going to draw a sketch of the lip and have it rotate around the plate center axis
Start with sketch

Then used the revolve to create the lip and set it to join the plate base.

and there you go a first cut at the base plate


After 5 hours, here it is:
When I put it up to the salad spinner bowel I have it seemed to me that the overall size of the machine \
can be much smaller then I originaly planned.
I think a good approach is the max the size of the plate I can print on the MK3S

The original size had a 320mm diameter but I am going to resize it to a 200mm diameter

I used the scale command leaving the Z as is and scaling the X and Y to 62.5% of the original
Now that I liked that size in order to make every thing work in fusion I had to go back and resize the plate in fusion to match.


Now we are ready to create the bowel holders
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
## Out runner motor mounting
See below for discussion on the motor drive selection and decision to move to a direct drive mount on a outrunner motor. I am used a D3548.

I found a model of the motor I am planning to use on GrabCad

This an out runner and I would like to cut its shape into the bottom of the spinner to test a direct drive
As the CAD was made of many many pieces it was easier to create a similar shaped body. I traced the profile and used the revolved function to create an new body
s


Now I used the combined command to cut this out of the base of the plate for a direct mount

Creating a nice mount for the plate - i also think i do not need the spinner base any more.

I knew there was going to be a lot of stress on this when the plate spins so I filet everything I could to strength the joints.

Got it ready to 3D print

455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
## Bowel holder
Initially I printed a basic arm to get a physical sense of the shape and size

After have a basic shape in the early design I needed to have a pieces that was help in place on the plate.
I started by adding a wedge at the plate level and tweaking the shape but it was very unstable

I decided to use to features to do that.
1) Redesign the base to snugly fit on the shape of the plate


2) Create a threaded rod on the bottom and print a nut that will hold the are in place





<iframe width="560" height="315" src=../../images/Finalproject/Bowlfly.mp4 frameborder="0" allowfullscreen></iframe>
When discussing my progress with my local instructure Dr. Fagan, the feedback I got is the need to have a screw to hold the plate to the motor shaft


Once the design looked goo it is time to reprint the plate.
<iframe width="560" height="315" src=../../projects/Plate/newplate.mp4 frameborder="0" allowfullscreen></iframe>
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
## Water skirt and drainage
My plan for water profing the motor and providing a gravity based drainage is to create a sloped rubber base for box with a rasied skirt.
The skirt will go between the motor and the plate lip thus stopping any water for getting into the motor.
I started with a fusion design

Added the drainage slopes

Unfortuntaly my prusa is too small to print the whole things at one so I had to cut it to be printed in parts


Printing in TPU is slow if you do not want stringing It is a 23 hour print !!

Here it is in progress

Fully printed

Printing went well but remove the print from the plate was nearly impossible and ended up destrying the plate.
This did not happen to me in smaller prints I did but after going back and reviewing the Prusa [materials guide](https://help.prusa3d.com/materials#_ga=2.250429327.883239654.1684193727-1420350994.1684193726) as well as reading some user form it seems that I missed the need to either
1) Add a layer of glue stick
2) Put down blue tape the print on
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
After reivew it seems that Loctite 406 is a recommended glu for TPU so that is what I am going to use to turn these 3 parts into 1. But before I do that I can see 2 things that I need to add and adjust:
1. Add a drain connection
2. Expand the neck to fit the screw that I added to the plate

I created a drain connection / edge

Ready to print

Here it is

I also
Adjust the base part to make the neck wide and lower to fit the change in the plat
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
1. 12-24V power supply
2. 12-24V / 80W DC Motor
3. 12-24V Motor ESC

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.


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.

Not to get things a bit more organized. It is a relatively simple circuit

Not pushed it to the 2B Board and started tracing

## Motor control PCB design
Pushed to the 3D board get ready to mill


When I reviewing the milling it was very tight due to the tracing.



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


## 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

Got to cutting using a 0.8mm end mill


I deburred and washed the board

Now we are ready to stuff and solder

Here are all the components

And we are ready to test

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.
While this effort was on hold we completed Machine Building week and that changed my mind on how to set up the motor.
After a success full machine week I got appreciation for the out runner motor capabilities and so I decided to try and mount the plat directly on a out runner motor and see if that work.
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
I had a outrunner motor in the lab that was bigger then the one we used in machine week and I think would work well.
Here is it spec:

I coupled that with a large ESC with the following [user manual](https://www.rcelectricparts.com/classic-esc-user-guide.html#03)
I decided to test the motor using a potentiometer to control the speed so I can find out what are good speeds for my final project.
I set up the mounting bracket on the motor

I used a scrap piece of wood to mount the motor onto the frame

## ESC wiring
Power: The motor will connect directly to the 0-24V power supply I have

ESC control: the ESC will be connect to the BOD via 3 wires: 5V / GND / and PMW from pin 9
## Arduino code for potentiometer control
I wired a potentiometer to analog input A1 and the 5V/GND and ran the following code:
```c
# include <Servo.h>
// create a Servo object to control the ESC
Servo esc;
int potVal;
void setup() {
// set the baud rate for serial communication
Serial.begin(9600);
// attach the ESC to pin 9
esc.attach(9, 1000, 2000); // the second and third parameters are the minimum and maximum pulse widths
int potVal;
esc.write(0); //arm ESP
delay(1000);
}
void loop() {
// set the speed to half of the maximum (which is 180)
potVal = analogRead(A1); // read input from potentiometer.
int speed = map(potVal,0, 1023, 0, 180); // maps potentiometer values to PWM val
// send the speed to the ESC
esc.write(speed);
// print the speed to the serial monitor
Serial.print("Speed: ");
Serial.println(speed);
// pause for a moment before starting again
}
```
This will both printout in the serial monitor the speed variable so I can see the which value I would want to use in the final code.
## First time ESC calibration
When you plug the ESC in for the first time it need to go via a calibration process.
1) You put it to full throttle
2) Connect motor to power
3) Move to zero throttle
You can see the motor first run
<iframe width="560" height="315" src=../../images/Finalproject/ESCcalib.mp4 frameborder="0" allowfullscreen></iframe>
## Motor speed test
I mounted the plate on the motor and ran the motor
<iframe width="560" height="315" src=../../images/Finalproject/spiningplate.mp4 frameborder="0" allowfullscreen></iframe>
I started moving the potentiometer while look at the serial monitor to see the speed.
<iframe width="560" height="315" src=../../images/Finalproject/speed.mp4 frameborder="0" allowfullscreen></iframe>
Answer is pretty straight forward.
The lowest speed that will run is with the Servo Angle value of 24.
A good increased speed for drying is 40.
These will be the two value I will use in the cycles
## New board - Moving to RO2040
After a while I decided to move to a working iwht th eRP2040
I am going to follow the same break out board design and so I started to work on a schematic. I am planning to use
4 pin wire to board connectors and 2 pin for the power as an alternative to the USBC.

I have the 2D Board set up

Now we are ready to mill

Here we are in action

899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
I used this board in a number of weeks but decided to redo it so that we have clean wire to board connector set up for each breakout board (and make a shape of a vegetable).
At this point I already made the breakout board and used the the systems map at the top as a guide to which pins need to connect to each board.
I created a new schematic

Layout was pretty straight forward but had to use a jumper for GND to one of the sockets

3D board ready to mill

I had to adjust to spacing betweek the pads for the 0.5mm milling bit I have.

I made the same mistake using the pads that are too big for the sockets

A quick replacement to fit the sockets

And we are ready to mill

Here we go

And we are ready to stuff and solder

938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
## Button board
To connected the control button, lid sensor and water level sensor I created a break out board.
I started with a basic schematic

I think routed the board and decided to make the board the shape of a carrot.

I had to shorten the carrot so it fit on the PCB I had.

And now it is ready to mill

Here we go

No we just have to clean it up

I soldered the wire for the button as well as the 4 pin connector to the button board

975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
## Pump breakout board
I initialy toughts this should be pretty traight forward.
Breakout board would drive a relay with a GPIO from the main board that would be activated but the button push similar to the motor. The relay would connect the pump to the 12V power supply.

I decided to use a mushroom design

got it ready to cut


I misjudged the size and so after overshotting
