Skip to content
Snippets Groups Projects
Commit 0da3da66 authored by Yume's avatar Yume
Browse files

fp

parent 27491d7f
No related branches found
No related tags found
No related merge requests found
......@@ -29,7 +29,7 @@ It distillates ocean water and makes pure water & salt.
With the control panel, user can change the temperature of distillation tower heating, and reaction time to see how that effects the amount of salt produced.
It serves as an interactive learning material for chemical engineering about
It serves as an interactive learning tool on chemical engineering (mostly for children but I do think adults can learn from it too) about
- how chemical plants look like in general
......@@ -87,7 +87,7 @@ Input and output devices such as thermistor, LED, tactile switch, SSR, heater, D
All of fabrication and integration was designed and implemented by me with the assistance of FabLab Kamakura instructors.
Rico helped me design & fabricate the stool under the condense tower, and the vinyl cut stickers on the control panel.
Rico helped me design & fabricate the stool under the Condenser tower, and the vinyl cut stickers on the control panel.
The integration of electronics including how to place the LEDs and tactile switch, and the wiring was done under the advice of Yamamoto-san.
......@@ -95,17 +95,17 @@ The integration of electronics including how to place the LEDs and tactile switc
## **What materials and components were used?**
- Condense tower:
- Condenser tower:
- body **welded** with **stainless steel**
- heat sensing using a **thermistor**
- heated with an **electric stove** controled using **solid state relay (SSR)**
- Feed (for condense tower):
- Feed (for Condenser tower):
- **3D printed** peristaltic pump with **silicon tube**
- operated with **DC motor**
- **laser cut acrylic** frame
- Outlet (for condense tower):
- Outlet (for Condenser tower):
- **Solenoid valve**
- Heating pan (for salt production from condensed salt water):
......@@ -138,7 +138,7 @@ The integration of electronics including how to place the LEDs and tactile switc
## **What processes were used?**
- Welding
- Condense tower body
- Condenser tower body
- Additive fabrication processes:
- 3D printed peristaltic pump
......@@ -148,6 +148,7 @@ The integration of electronics including how to place the LEDs and tactile switc
- Laser cut MDF for control panel
- Laser cut plywood for trolley
- Vinyl cut sticker
- Wax milling of mold
- Molding & Casting
- Button caps for control panel
......@@ -156,8 +157,11 @@ The integration of electronics including how to place the LEDs and tactile switc
- Main board produced using CNC machine
- Electronics on control board wired
- System integration and packaging
- Wiring and assembling of control panel
- Wiring of electrical connections to chemical system components” (solenoid, thermistor, etc.)
......@@ -176,7 +180,7 @@ In a more specific manner:
- How do I make a peristaltic pump that works?
- How do I weld a condense tower that does not leak?
- How do I weld a Condenser tower that does not leak?
- How do I heat the tower and control it under a centain temperature?
......@@ -198,7 +202,7 @@ On a more general manner:
- I wanted to make salinity sensor to test the salinity of condensed ocean water coming out. But that was triaged.
- It works as a continuous process, but each cycle takes too long(it takes around 15 minutes to make 1 batch of salt). In chemical engineering, the amount of inlet particles need to be the same as the outlet to make sure a continuous process. Therefore, to make sure this process is continuous, the amount of ocean water inlet should be the same as the sum of pure water and condensed ocean water coming out. Ocean water inlet can be controlled by DC motor's speed and time span turned on. Pure water outlet can be controlled by the heating temperature and time of condense tower. Condensed ocean water outlet can be controlled by the solenoid valve's time span turned on. I would love to figure out the relationship of those in equations and implement that into the program.
- It works as a continuous process, but each cycle takes too long(it takes around 15 minutes to make 1 batch of salt). In chemical engineering, the amount of inlet particles need to be the same as the outlet to make sure a continuous process. Therefore, to make sure this process is continuous, the amount of ocean water inlet should be the same as the sum of pure water and condensed ocean water coming out. Ocean water inlet can be controlled by DC motor's speed and time span turned on. Pure water outlet can be controlled by the heating temperature and time of Condenser tower. Condensed ocean water outlet can be controlled by the solenoid valve's time span turned on. I would love to figure out the relationship of those in equations and implement that into the program.
![](../images/fp/fp-05.png)
......@@ -265,7 +269,7 @@ In a more specific manner:
- My peristaltic pump worked during testing, but didn't pump liquid properly when integrated into the system/
- I successfully welded a condense tower that does not leak.
- I successfully welded a Condenser tower that does not leak.
- I was able to heat the tower and control it under a centain temperature using a thermistor as temp. sensor, and an SSR.
......
......@@ -72,7 +72,11 @@ A big thank you to Asada-san (the staff at FeNEEDS Kamakura) and Rico!
![](../images/fp/fp-06.JPG)
## **Tactile switch cap - molding and castingn**
Overall, I understood that welding is a process to join metal (that is cut using plasma cutter manually this time) together.
Although this time we used a hand-held plasma cutter, I have also seen online CNC plasma cutter and that is more similar to the digital fabrication methods in a fablab. And welding is like making (assembling) the end product using the material proceeded using digital/analog fabrication techniques/devices.
## **Tactile switch cap - molding and casting**
In molding & casting week, I made huge caps to fit onto tactile switches for the buttons.
......@@ -162,7 +166,7 @@ When I connected the motor with 6V battery case, the motor didn't move.
I thought it is because the fiction among the 3 parts of the pump was too big.
So I applied waseline to the green areas on the illustration.
So I applied Vaseline as lubricant to the green areas on the illustration.
![](../images/fp/fp-20.png)
......@@ -172,10 +176,27 @@ And it worked!
<iframe src="https://player.vimeo.com/video/450724778" width="600" height="600" frameborder="0" webkitallowfullscreen mozallowfullscreen allowfullscreen></iframe>
However, later on when I tested it again, it seems that after I stopped the motor, the water still dripped out from the tube. This results from capillary action.
It means that the inner part is not pressing the tube enough. Ideally it should press the tube so there is no space created, thus no water coming out.
Therefore, in 2nd spiral, I would created a bigger inner part of the tube.
Also, instead of Vaseline, I would consider using bearings that generate smoother rolling.
## **Control panel - subtractive design & fabrication**
This is the layout of control panel.
![](../images/fp/fp-67.png)
It is divided into 2 areas.
The blue area is the main switch, and the indicator LEDs for devices' on/off.
The yellow area is the control area. It is laid out so users follow the order of left to right to setup the control parameters. (First set up and start the heating of condense tower, then set up and start the flow in and flow out, and then start the heating pan for condense ocean water.)
The indicator LEDs in the yellow area are lined vertically so they visualize the rise and decrease of each parameter in a more intuitive manner. (When teperature goes up, more LEDs light up vertically.)
### **Design**
......
......@@ -208,7 +208,7 @@ The circuit is supposed to be connected in this manner.
The wire for heater is too short (it will get hot so you don't want to put the control system right next to it), so I extended it by soldering AWG20 wire onto it.
There are wires with names like AWG20, AWG26, ... The bigger number, the more current it can let go through.
There are wires with names like AWG20, AWG26, ... The smaller number, the more current it can let go through.
AWG26 is usually used for jumper wires.
......@@ -218,7 +218,7 @@ There are wires with names like AWG20, AWG26, ... The bigger number, the more cu
![](../images/develop/ssr11.png)
Then I used a blower to heat the tube, and the tube shrinks to fit the wire.
Then I used a heatgun to heat the tube, and the tube shrinks to fit the wire.
![](../images/develop/ssr10.png)
......@@ -269,7 +269,7 @@ This is because it is taped higher than the termistor, and since the upper side
My problem was that, the heating takes sooo much time, and after 3 minutes, when the side with heater taped onto hits 60 degrees, the back was still room temperature...
Then I used electric stove instead. All worked the same, the only difference is to plug the stove's plug onto the SSR instead of band heater and all worked fine.
Band heater was just not strong enough for what you need for the project. So I used electric stove instead. All worked the same, the only difference is to plug the stove's plug onto the SSR instead of band heater and all worked fine.
......@@ -495,7 +495,7 @@ And then it worked well!
## **DC motor & Solenoid valve control**
To drive DC motor and solenoid volve, I used NchFET 2SK4017 [(datasheet in Japanese)](https://akizukidenshi.com/download/ds/toshiba/2SK4017.pdf) as motor driver.
To drive DC motor and solenoid volve, I used NchFET(N channel MOSFET) 2SK4017 [(datasheet in Japanese)](https://akizukidenshi.com/download/ds/toshiba/2SK4017.pdf) as motor driver.
I connected it like this.
......@@ -554,6 +554,8 @@ It ended up like this.
### **LM2596**
LM2596 is a step down voltage regulator. Here is the [datasheet](https://www.ti.com/lit/ds/symlink/lm2596.pdf?ts=1600270787788&ref_url=https%3A%2F%2Fwww.google.com%2F)
I followed this tutorial [video](https://www.youtube.com/watch?v=QPntXt8Ea3s), connected IN- & IN+ to 12V output, and connected OUT- & OUT+ to MCU.
After connecting, I used a driver to loosen and tighten the screw to adjust the output voltage to 6V.
......@@ -562,6 +564,8 @@ After connecting, I used a driver to loosen and tighten the screw to adjust the
### **TA4805F**
TA4805F is also a stepdown voltage regulator.
The datasheet of TA4805F is [here](https://www.marutsu.co.jp/contents/shop/marutsu/datasheet/515648.pdf).
The connection is like this.
......@@ -706,6 +710,7 @@ To mill larger boards, it is important to tape the copper laminated board entire
Jun-san drew this very nice illustration to explain why.
With Rico's word, any area of the board’s back side that does not have tape may deflect or distort under the downward force of the endmill. And this would cause milling problems.
![](../images/fp/fp-57.png)
......@@ -735,8 +740,7 @@ Here are the components I used.
I soldered all the parts onto the board. XH connectors go to the back of the board. And I used jumper wires to connect jumper holes I made for VCC and GND.
I screwed a heat releasing part onto TA4805F.
I screwed heatsink fins onto TA4805F to dissipate heat generated by the voltage step down process.
![](../images/fp/fp-58.png)
......@@ -782,6 +786,8 @@ I taped the head of each cable indicating which is which so I won't get lost aft
To make the wires look more neat, I twisted the wires that go into the same XH connector. And then I used cable ties to tie up wires that go into the same area (e.g. the wires that all go into the LEDs and switchs on the surface of control panel.)
According to Rico, regarding wire twisting, it is more than just making things neat. "By default, the flow of current generates an electromagnetic field of interference around the wire that creates noise the can impact signals being transmitted through surrounding wire and cable. In order to help eliminate this electromagnetic interference, the wire is twisted together to create a canceling effect.”
![](../images/fp/fp-62.png)
......
......@@ -2,7 +2,38 @@
## **Program**
This is the final program with Yamamoto-san's revision.
The code of switch scanning process, setting LED pattern, controling SSR/solenoid valve are all based on the those stated in the electronics session.
The whole program is about integrating them.
A very important point I learned from Yamamoto-san is to not have multiple `delay()` in one program so they wouldn't add up.
For example, if I have `delay(100)` in the session for switch group1 and another `delay(100)` in the session for switch group2, they would add up, and the whole loop will delay 200 micro seconds in total.
In this program, there is no `delay` so the delay for each loop would be 0, thus the time for each loop would be the time it takes to proceed the whole loop.
And when I want to count time, I set up a counter variable.
For example if I want to turn on solenoid valve after 10000 loop cycles, I used a variable `counter_sol_OFF`.
In each loop, I used `counter_sol_OFF ++ ` to add 1 to the variable. And once it is over 10000, it `digitalWrite(solenoidPin, HIGH);`.
```
counter_sol_OFF ++ ;
matrix[2][3] =0;
matrix[1][3] =0;
matrix[0][3] =0;
if( counter_sol_OFF > 10000 ){
counter_sol_ON = 0;
counter_sol_OFF = 0;
sol_state = 1;
digitalWrite(solenoidPin, HIGH);
```
This is the entire code that is constructed by me, with the revision of Yamamoto-san.
```
//
......@@ -168,7 +199,7 @@ void loop()
sol_state = 0; // Start from Solenoid OFF state
} else {
// *** Set Moter flag ON -> OFF
// *** Set Motor flag ON -> OFF
mainonoff2 = 0; // Motor OFF
}
......@@ -357,7 +388,7 @@ void loop()
}
//*****************************************
// Display matrix patter to LED
// Display matrix pattern to LED
//*****************************************
for ( int i = 0 ; i <= 2 ; i++ ){
digitalWrite ( i+5, matrix[i][col]);
......@@ -368,7 +399,7 @@ void loop()
digitalWrite ( col+8, LOW );
col = ( col+1 )%4;
// delay(1);
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment