Commit 4ea0089f by Ahmad Ali

wildcard updating

parent ea3b3fb8
Pipeline #111754 passed with stage
in 35 seconds
File added
No preview for this file type
......@@ -436,53 +436,53 @@
I wrote A simple code to turn the Led on and OFF using the Buttons
<br>
<pre>
import controlP5.*;
import processing.serial.*;
Serial port;
ControlP5 cp5;
PFont font;
void setup()
{
size(300,400);
printArray(Serial.list());
port = new Serial(this, "COM", 9600);
cp5 = new ControlP5(this);
cp5.addButton("ON")
.setPosition(100,50)
.setSize(100,80)
;
cp5.addButton("OFF")
.setPosition(100,250)
.setSize(100,80)
;
}
void draw()
{
background(150, 0, 150);
fill(0,255,0);
text("LED Control", 100, 30);
}
void red()
{
port.write('ON');
}
void yellow()
{
port.write('OFF');
}
import controlP5.*;
import processing.serial.*;
Serial port;
ControlP5 cp5;
PFont font;
void setup()
{
size(300,400);
printArray(Serial.list());
port = new Serial(this, "COM4", 9600);
cp5 = new ControlP5(this);
cp5.addButton("ON")
.setPosition(100,50)
.setSize(100,80)
;
cp5.addButton("OFF")
.setPosition(100,250)
.setSize(100,80)
;
}
void draw()
{
background(150, 0, 150);
fill(0,255,0);
text("LED Control", 100, 30);
}
void ON()
{
port.write('1');
}
void OFF()
{
port.write('0');
}
</pre>
<br>
<div class="center">
......@@ -497,7 +497,7 @@
<pre> Serial port;</pre>
<br>
Give the com port and set baudrrate i.e. the speed of data transmission
<pre> port = new Serial(this, "COM", 9600);</pre>
<pre> port = new Serial(this, "COM(Number)", 9600);</pre>
<br>
To write the Data on the port
<pre> port.write('ON');</pre>
......@@ -516,7 +516,7 @@
<button type="button">
<a href="codes/processing.zip">
<a href="codes/proc.zip">
<font color="red">
Prcoessing Files
</font>
......@@ -524,7 +524,82 @@
</button>
<br>
<!-- end of container lg-->
</div>
</div>
<div class="container content-lg">
<p>
<font color="black" size="4px">
I used My input board that I made in my <a href="week11.html"><font color="red">Input Week's</font></a> Assignement for making the Processing application to work. I hooked out the HC-SR04 and put in the led at the ground and the TRigger pin the TRigger pin was connected to PB4 of ATtiny 45 so I wrote another code such thet if '1' serial value is sent then the LED should be on and If '0' is sent then LED should be OFF basically to make the processing application work.
<br>
The arduino Code is given below-
<pre>
#include < SoftwareSerial.h>
SoftwareSerial mySerial(0, 2);//rx,tx
void setup() {
pinMode(PB4, OUTPUT);
mySerial.begin(9600);
}
void loop() {
if (mySerial.available()) {
char val = mySerial.read();
mySerial.println(val);
if (val == '1') {
digitalWrite(PB4, HIGH);
mySerial.println("Led is ON");
}
if (val == '0') {
digitalWrite(PB4, LOW );
mySerial.println("LED is OFF");
}
}
}
</pre>
<br>
<button type="button">
<a href="codes/PROCESSING.zip">
<font color="red">
Arduino Code
</font>
</a>
</button>
<br>
<h3>Testing by serially sending the Values voia Serial Monitor</h3>
<div class="center">
<iframe src="https://player.vimeo.com/video/345875844" width="640" height="480" frameborder="0" allow="autoplay; fullscreen" allowfullscreen></iframe>
</div>
<div class="container content-lg" >
<h3>The final Outptut-</h3>
<blockquote>You can see the working--- Plz ignore the sound</blockquote>
<div class="center">
<iframe src="https://player.vimeo.com/video/345875899" width="640" height="480" frameborder="0" allow="autoplay; fullscreen" allowfullscreen></iframe>
</div>
</div>
</div>
</div>
......
......@@ -275,7 +275,8 @@
We decided to work on three different type of mechanical mechanisms HECTOR for rack and pinion.
<img src="img/hector1.jpg">
<br>
All the designs for the hector was taken from Jakes Page So the inventory was not the normal fab oinventory Ashish ser decided to invest and make hector.
All the designs for the hector was taken from <a href="http://archive.fabacademy.org/archives/2017/fablabverket/students/100/"><font color="BLue"> Jakes Page </font> </a> The inventory was not standard fab inventory,
<a href="http://fabacademy.org/2019/labs/akgec/students/ashish-sawhney/"><font color="Blue"> Ashish Sir </font></a> decided to invest and make hector.
<br>
<div class="row">
......@@ -319,7 +320,7 @@
<img src="img/mcdes1.jpeg">
<br>
After that We decided to make assembly of Nadia's MTM Snap-
After that We decided to make assembly of Nadia's <a href="http://mtm.cba.mit.edu/machines/science/"><font color="blue"> MTM Snap-</font> </a>
Initially I dissasembled A delta Assembly to get out some bearings and aluminium rods that will be Helpful to make MTM snap.
<br>
My part was to assemble the machine-
......
......@@ -532,13 +532,14 @@
<h3>Moving On o the Composites</h3>
<h3>Moving On to the Composites</h3>
<p>
<font color="black" size="4px">
A composite material can be defined as a combination of a matrix and a reinforcement, which when combined gives properties superior to the properties of the individual components. In the case of a composite, the reinforcement is the fibers and is used to fortify the matrix in terms of strength and stiffness. The reinforcement fibers can be cut, aligned, placed in different ways to affect the properties of the resulting composite. The matrix, normally a form of resin, keeps the reinforcement in the desired orientation. It protects the reinforcement from chemical and environmental attack, and it bonds the reinforcement so that applied loads can be effectively transferred.
<br>
<blockquote>Source~ <strong>Wiki</strong></blockquote>
<br>
......@@ -552,6 +553,7 @@
<br>
<strong>Weight reduction</strong>
<br>
>The primary reason composites are chosen is improved specific strength / stiffness (strength / stiffness specific per unit weight).
<br>
>This helps to reduce fuel use, or increase acceleration or range in transport.
......@@ -568,6 +570,7 @@
>Combine the excellent fatigue resistance, and composites can increase product lifespan by several times in many applications.
<br>
<strong>Added functionality</strong>
<br>
>Composites are thermal insulators which is good for fire and blast protection or cryogenic applications.
<br>
>Electrical insulation is useful for railway lineside structures and radar transparency. A conductive mesh or coating can be integrated if needed, e.g. to reflect radar or divert lightning.
......@@ -583,7 +586,17 @@
>Composites can be tailored to suit the application by choosing the constituent materials and embedding extra functionality.
<br>
<blockquote>Source~
<br>
<a href="https://compositesuk.co.uk/composite-materials/introduction">
<font color="blue">https://compositesuk.co.uk/composite-materials/introduction</font>
</a>
<br>
</blockquote>
<br>
<h2>Making the Design</h2>
<br>
I wanted to make a circular bowl shape using composites, my workflow in the fusion is displayed below-
<br>
The material available was MDF with thickness 25mm.
......@@ -754,18 +767,8 @@
</div>
</p>
</font>
</p>
<br>
<br>
<h3>Final Outcome-</h3>
<h3>Final Outcome-</h3>
<p>
<font color="black" size="4px">
I took them out from the block after a day an cut out the extra materials that were hanging out.
......@@ -801,6 +804,116 @@
<hr>
<br>
Since the outcome was not satisfying as the resin didn't cure because the quantitiy I took for the curing agent was less I suppose so I decided to do everything again but this time taking comsideration of the mixing quantity...
<br>
<div class="row">
<div class="col-md-4">
<img src="images/newwild (1).jpg" width="100%">
</div>
<div class="col-md-4">
<img src="images/newwild (14).jpg" width="100%">
</div>
<div class="col-md-4">
<img src="images/newwild (13).jpg" width="100%" height="270">
</div>
</div>
<div class="row">
<div class="col-md-6">
<img src="images/newwild (12).jpg" width="100%" height="480">
</div>
<div class="col-md-6">
<img src="images/newwild (11).jpg" width="100%">
</div>
</div>
<br>
<h3>Keeping it to cure under pressure for another one Day</h3>
<div class="row">
<div class="col-md-6">
<img src="images/newwild (9).jpg" width="100%">
</div>
<div class="col-md-6">
<img src="images/newwild (10).jpg" width="100%">
</div>
</div>
<br>
<h3>Removing the Material</h3>
It was a very tough task in the removal of the casted material from the mdf board, sice I left it to cure for about 48 hrs and also the material of mdf is soft so in future if you want to mill something like this please do use a wooden outer framse if u don't want to sacrifice the miiled outer shell.
<br>
It took a quite bit of time and care to take out the material I gad cuts while taking it out using a sharm screw driver also while removal from the sides the resin alon with the composite broke out with mdf.
<br>
Just to notw there was no this much thick material in wood so i went for mdf in future I gotta learning from this that I should select the material wisely.
<br>
However the outcome was better than earlier its kind of an <b>Ashtray</b> or may be I'll be using it as a <b>Component tray</b> at the soldering side of te Lab where I can put the components in it.
<br>
<div class="row">
<div class="col-md-6">
<img src="images/newwild (8).jpg" width="100%">
</div>
<div class="col-md-6">
<img src="images/newwild (7).jpg" width="100%">
</div>
</div>
<div class="row">
<div class="col-md-6">
<img src="images/newwild (6).jpg" width="100%">
</div>
<div class="col-md-6">
<img src="images/newwild (5).jpg" width="100%">
</div>
</div>
<div class="row">
<div class="col-md-6">
<img src="images/newwild (3).jpg" width="100%">
</div>
<div class="col-md-6">
<img src="images/newwild (2).jpg" width="100%" height="410">
</div>
</div>
<br>
This time the outcome was better and the resin along with the materials had cured pefectly, finally I've tried making a something using composites.
</p>
</font>
</p>
<br>
<br>
</div>
......
......@@ -308,13 +308,20 @@
<img src="img/acrylic1.jpeg" width="100%">
</div>
</div>
<blockquote>Image source- Google</blockquote>
</div>
<div class="center">
<h2>Testing of the Speakers</h2>
<p>
<font color="black" size="4px">
I'm using commercial LA4440 audio driver board with a audio receiver bloothoth to drive the speakers, developing these will come under my snext spiral for the first I'm tryind to devlop the sound controlled part.
</font>
</p>
<br>
<div class="row">
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment