Centrifuge
A centrifuge is a device that uses centrifugal force to separate various components of a fluid
I was influenced by the DIY bio team at London University, who created lab equipment using 3D printing, laser cutting, Arduino, and electronics to lower research costs.
Its a prototype for my final project
he idea of the centrifuge is a device that uses a rotor to separate particles from a solution.A centrifuge's rotor applies a centrifugal force to each particle in the sample, which causes the particle to sediment at a rate proportional to the centrifugal force supplied to it. I used the potentiometer to control the speed of rotation and when the device turn of the buzzer works
I used Tinkercad to simulate the circuit and write the Arduino code, after which I used the Arduino software to upload the code to the Arduino tool and make it work.
Arduino, breadboard ,motor driver, potentiometer, slide switch,buzzer Dc motor, jumpers , crocodile wires,adaptor 9 v, card board, and glue gone were used to construct the circuit.
my idea depend on rotation and the speed of rotation so I need for rotation dc motor and motor driver and for the speed potentiometer the device has another action which is alert if the device is on off mode so it needs buzzer and slide switch also we need adaptor 9 volt. after choosing the idea I simulate the circuit in tinkercad and then write the code as shown below, then applied the circuit physically and the last step was the enclosure which made of cardboard.
void setup()
{
pinMode(A0, INPUT);
Serial.begin(9600);
pinMode(8, OUTPUT);
pinMode(7, OUTPUT);
pinMode(9, OUTPUT);
pinMode(3, OUTPUT);
pinMode(2, INPUT);
}
void loop()
{
if (digitalRead(2)==LOW) {
Serial.println(map(analogRead(A0), 0, 1023, 0, 255));
analogWrite(9, map(analogRead(A0), 0, 1023, 0, 255)) ;
digitalWrite(7, HIGH);
digitalWrite(8, LOW);
} else {
digitalWrite(3,HIGH);
delay(1000);
digitalWrite(3,LOW);
}
}
After finishing the simulation in Tinker-cad, I began physically constructing the circuit before uploading the code to the Arduino programme. I start with each output and input separately to make sure that all components are work and make troubleshooting easier then I applied the whole circuit Potientiometer analog pin A0 , buzzer pin 3, slide switch pin 2, motor driver pins 9,7,8. potientiometer and switch were inputs and the others output. after that I started to write the code and uploaded it on arduino to function the circuit.
Yes I asked my group A2 about the idea of the assignment I was confused about two ideas and they choose this because it will help me to figure out any problem in my final project
I couldn't make the motor stand without using glue so i searched on the internet to see hoe to make it stand while it rotate and I find a way to do that by made a small box for it .
also last session Marwa shows me how to make the dc motor work using motor driver because I couldn't understand it from the video.
Title of Media
Title of Media
It's a prototype of the final project
Title of Media