Skip to content

18. Machine Building

In this week, I need to build a project with machine and to make a machine… This sounds crazy but I like the task…

Actually, In my situation I don’t have lab access.. so, I thought to collabrate.. Hence, I join AKGEC lab..

My Group Project is Auto Hand Sanitizer Dispenser..

The Idea of this project given by Pulkit Bro. And My role in this project is making electronic work-flow, bit programing, and making a trail modal(during this Lock-down)…

So, For the electronic needed for this project is. ( This are material needed for testing this project)

1 DC or Servo motor 1 ultrasonic sensor Or PIR sensor (Passive Infrared Sensor) Arduino board Jumper wires Small Breadboard Cardboards 3D Printed Cardboard..

Before making this project, pulkit bro had inspired this project from this video…

then, I had an idea of doing this way…

As, I joined this group lately, Afsha ma’am & Neeraj sir.. as completed there CAD design.. Hence, I accpeted this idea and work in this idea…

This is the video of the trail piece Auto Hand Sanitizer Dispenser (DIY in cardboard)..

The Code for above video electronics work-flow is....

int echopin = 3;
int trigpin = 2;
float distance;
float pulsevalue;
float SpeedOfSound = 352.39 ;
int mot1 = 8;
int mot2 = 9; 




void setup() {
  Serial.begin(9600);
  pinMode(echopin,INPUT);
  pinMode(trigpin,OUTPUT);
  pinMode(mot1,OUTPUT);
  pinMode(mot2,OUTPUT);

}

void loop() {
  digitalWrite(trigpin,LOW);
  delayMicroseconds(2000);
  digitalWrite(trigpin,HIGH);
  delayMicroseconds(20);
  digitalWrite(trigpin,LOW);


  pulsevalue = pulseIn(echopin,HIGH);
  pulsevalue = pulsevalue/1000;

  distance = SpeedOfSound * pulsevalue;

  distance = distance/2;

if(distance<=200){

  Serial.println("Hand is Detected");
  digitalWrite(mot1,HIGH);
  digitalWrite(mot2,LOW);
  delay(1000);
  digitalWrite(mot1,LOW);
  digitalWrite(mot2,HIGH);
  delay(1000);
  digitalWrite(mot1,LOW);
  digitalWrite(mot2,LOW);
   delay(1000);


}

}

This is the video of the operation using servo motor…

The Code for above video electronics work-flow is....

#include<Servo.h>
int echopin = 3;
int trigpin = 2;
float distance;
float pulsevalue;
float SpeedOfSound = 352.39 ;
int a;
int servopin = 7;

Servo servo1;

void setup() {
  Serial.begin(9600);
  pinMode(echopin,INPUT);
  pinMode(trigpin,OUTPUT);
  servo1.attach(servopin);

}

void loop() {
  digitalWrite(trigpin,LOW);
  delayMicroseconds(2000);
  digitalWrite(trigpin,HIGH);
  delayMicroseconds(20);
  digitalWrite(trigpin,LOW);


  pulsevalue = pulseIn(echopin,HIGH);
  pulsevalue = pulsevalue/1000;

  distance = SpeedOfSound * pulsevalue;

  distance = distance/2;

if(distance<=200){

 for(a=0; a<=180; a=a+5){
  servo1.write(a);
  Serial.println("Hand is Detected")
  }

}

}

As I also don’t have the lab access. I started to make a trail model with cardboard…Hence, I did it.. but very soon use epoxy instead of cardboard…to see that click (here)[http://fabacademy.org/2020/labs/bangalore/students/sreedhar-ramaswamy/ExtraWorks/1Day/]

to make this project, to the next level.. we are planing to make an indication of the sanitizer level in the bottle..

So, I have thought to build like this.....

but, with this method, my friend suggested.. that **passing electricity to an alcohol base solution can cause fire as alcohol is a flammable liquid… hence, we are still figuring out a better solution..

till only, we have done during our lock down period…

Moreover, in upcoming weeks, I was try to make a trail version of my design..

For that, I did a free-hand drawing in a piece of paper and begin to make a this mechanism (version - 1 of my design). For this trail piece, I had an acrylic sheet, jigsaw mechanism, dilling machine & a hand-drill in my home. with this I begin to make my design..

This is video of making....

After a cutting & assembling… this is the video of working…

The Code for this electronics is..

int echopin = 3;
int trigpin = 2;
float pulsevalue;
float distance;
float SpeedOfSound = 343;
int mot1 = 9;
int mot2 = 8;



void setup() {
  Serial.begin(9600);
  pinMode(trigpin,OUTPUT);
  pinMode(echopin,INPUT);
  pinMode(mot1,OUTPUT);
  pinMode(mot2,OUTPUT);

}

void loop() {
  digitalWrite(trigpin,LOW);
  delayMicroseconds(2000);
  digitalWrite(trigpin,HIGH);
  delayMicroseconds(20);
  digitalWrite(trigpin,LOW);


  pulsevalue = pulseIn(echopin,HIGH);
  pulsevalue = pulsevalue/1000;

  distance = pulsevalue* SpeedOfSound;
  distance = distance/2;


 if(distance<=150){
  Serial.println("HAND is Deteched");
  digitalWrite(mot1,LOW);
  digitalWrite(mot2,HIGH);
  delay(2000);
  digitalWrite(mot1,LOW);
  digitalWrite(mot2,LOW);

  }
}

also, I would like to add my individual idea of making a project…

My individual Idea before Collabration…

A Real-Robo Snake (RR Snake)..

This is a toy snake, which appears as a real snake, moreover, it also moves like a snake.

For your kind information.. Due to the lockdown of COVID-19. I was not able to make my model, as I didn’t get lab access.

So far, I have made my designs, and some corrections need to be done.

CrAzy IdEa

This is the design inital design using Solid Works and Slicer.

But, In this design, I can’t bring the real movement of a snake. Moreover, there is no new process of machining.

Hence, My instructor suggested me a method of Live Hinges using laser cutter, I like that idea, moreover I didn’t explore the live hinges in the laser cutter week…

Also my fab academy friends and instructors suggested 3D printing method like this video on saturday project discussion.

From this idea, I though of making live hinge in the Centre Vertebrate. and I also thought to make the snakes’ skin pattern from live hinge. But, Right Now, I was focued on the its movements…

Then, I design a model and I thought to controll by servo....

This is the Pattern of the live hinge

But the animation, of the design in Solid Works didn’t work…

So, I have changed my some parts of my design…

This time, I have placed a gear in my design..

Out Zoom picture…

This is the bending animation of Live Hinge

This is the Video of Snake modal.. DIY

For the snake’s hood, I thought of doing from soft robotics… These are plans which should be done after the lockdown opens..

Still some details need to added..


Last update: June 9, 2020