Student Projects

Arduino IR remote controlled Car

Arduino IR remote controlled Car

Students Projects

Electronics

Arduino

Arduino IR remote controlled Car

Arduino IR remote controlled Car

Created By

  • Roshan Baig

    Roshan Baig

    My name is Roshan, I am 13 years old and I am in 7th standard. My hobbies are horse riding, robotics, and computer programming.

About This Project

Arduino IR remote controlled Car

The project is arduino based project. I had spare time, so I made this.

This is the projects link

https://www.tinkercad.com/things/5xdxIXiPG4Y

and an old version

https://www.tinkercad.com/things/fWIB32WMlWW

Components Required

  • Arduino UNO
  • LED Light bulb, Frosted GLS
  • Texas Instruments Dual H-Bridge Motor drivers L293D
  • 5mm LED :Red
  • Through Hole Resistor , 1Kohm
  • IR receiver
  • IR Remote
  • DC Motor, Miniature

Schematics

In this image all the components with the connections are given

Arduino IR remote controlled Car

Code Of Project

#include <IRremote.h>
int receiver = 12;
int speed = 100;
IRrecv irrcev(receiver);
decode_results results;
void setup()
{
  pinMode(6, OUTPUT);
  pinMode(5, OUTPUT);
  pinMode(3, OUTPUT);
  pinMode(2, OUTPUT);
  pinMode(9, OUTPUT);
  pinMode(8, OUTPUT);
  pinMode(A0, OUTPUT);
  irrcev.enableIRIn();
}

void loop()
{
 if(irrcev.decode(&results))
 {
   irrcev.resume();
 }
  if(results.value == 16613503)
  {
    move_forward();
  }
  if(irrcev.decode(&results))
 {
   irrcev.resume();
 }
 if(results.value == 16621663)
  {
    stop();
  }
  if(irrcev.decode(&results))
 {
   irrcev.resume();
 }
   if(results.value == 16617583)
  {
    move_back();
  }
 if(irrcev.decode(&results))
 {
   irrcev.resume();
 }
 if(results.value == 16589023)
  {
    turn_left();
  }
 if(irrcev.decode(&results))
 {
   irrcev.resume();
 }
 if(results.value == 16605343)
  {
    turn_right();
 }
 if(irrcev.decode(&results))
 {
   irrcev.resume();
 }
 if(results.value == 16580863)
  {
    headlights();
 }
  if(irrcev.decode(&results))
 {
   irrcev.resume();
 }
  if(results.value == 16597183)
  {
    taillights();
 }
}
void move_forward()
{
  digitalWrite(5, LOW);
  digitalWrite(2, LOW);
  digitalWrite(6, HIGH);
  digitalWrite(3, HIGH);
}
void turn_right()
{
  digitalWrite(5, LOW);
  digitalWrite(3, LOW);
  digitalWrite(2, LOW);
  digitalWrite(6, HIGH);
}
void turn_left()
{
  digitalWrite(5, LOW);
  digitalWrite(6, LOW);
  digitalWrite(2, LOW);
  digitalWrite(3, HIGH);
}
void move_back()
{
  digitalWrite(6, LOW);
  digitalWrite(3, LOW);
  digitalWrite(5, HIGH);
  digitalWrite(2, HIGH);
}
void stop()
{
  digitalWrite(5, LOW);
  digitalWrite(2, LOW);
  digitalWrite(6, LOW);
  digitalWrite(3, LOW);
  digitalWrite(8, LOW);
  digitalWrite(9, LOW);
}
void headlights()
{
  digitalWrite(9, HIGH);
}
void taillights()
{
  digitalWrite(8, HIGH);
}
Animation Studios Mechatron Robotics

Animation Studios Mechatron Robotics

Animation Studios Mechatron Robotics

Animation Studios Mechatron Robotics

Created By

  • Tusham Agarwal

    Tusham Agarwal

    My name is Tusham. I am extremely interested in making new codes every day and I have made a lot of projects here at Mechatron Robotics. I have learnt a lot here and developed my skills and I hope to make my parents proud by excelling in the Robotics field.

About This Project

A big hello to all the people who are viewing our project, this project is one of its kind in the whole world. This is Mechatron’s very own animation studio, and not only is this about viewing the animation, you can actually control it!! Yes, you read it right this is an animation program you can control(told you it was one of its kind).

Animation Studios Mechatron Robotics project uses an Arduino uno R3( microcontroller ), a LCD and some push buttons.This project is solely based on the concepts and logics of the Arduino and the LCD.

From the TEAM,

Ishaan and Tusham

Components Required

  • Arduino UNO
  • Alphanumeric LCD,16 X 2
  • Tactile switch ,Top Accucated

Schematics

In this image all the components with the connections are given

Animation Studios Mechatron Robotics

Code Of Project

#include <LiquidCrystal.h>

LiquidCrystal lcd(12, 11, 5, 4, 3, 2); 
int cursor=7;
const int l=10, d=9, u=8, r=7;

byte customChar[] = {
  B01110,
  B01110,
  B00100,
  B11111,
  B10101,
  B00100,
  B01010,
  B11011
};
byte customCharright[] = {
  B00111,
  B00111,
  B00100,
  B00111,
  B00110,
  B00101,
  B01010,
  B01001
};
byte customCharleft[] = {
  B11100,
  B11100,
  B00100,
  B11100,
  B01100,
  B10100,
  B01010,
  B10010
};
byte customCharup[] = {
  B01110,
  B01110,
  B10101,
  B01110,
  B00100,
  B00100,
  B01010,
  B11011
};
byte left[] = {
  B00100,
  B00010,
  B00001,
  B11111,
  B11111,
  B00001,
  B00010,
  B00100
};
byte right[] = {
  B00100,
  B01000,
  B10000,
  B11111,
  B11111,
  B10000,
  B01000,
  B00100
};

void setup() {
  lcd.begin(16, 2);
  pinMode(l, INPUT);
  pinMode(r, INPUT);
  pinMode(u, INPUT);
  pinMode(d, INPUT);
  lcd.createChar(0, customChar);
  lcd.createChar(1, left);
  lcd.createChar(2, right);
  lcd.createChar(3, customCharright);
  lcd.createChar(4, customCharleft);
  lcd.createChar(5, customCharup);
  lcd.home();
  lcd.print("Mechatron");
  lcd.setCursor(8,1);
  lcd.print("Robotics");
  delay(2000);
  for(int i=0; i<16; i++)
  {
    lcd.clear();
    lcd.setCursor(i,0);
    lcd.write(byte(1));
    delay(50);
  }
  for(int i=16; i>=0; i--)
  {
    lcd.clear();
    lcd.setCursor(i,1);
    lcd.write(byte(2));
    delay(50);
  }
  lcd.clear();
}

void loop() {
  //lcd.clear();
  lcd.setCursor(cursor,0);
  lcd.write(byte(0));
  lcd.setCursor(4,1);
  lcd.print("Move Me");
  delay(20);
  if(digitalRead(r) == HIGH)
  {
    if (cursor>=0 && cursor<16)
    {
      cursor++;
      lcd.clear();
      lcd.setCursor(cursor,0);
      lcd.write(byte(3));
      delay(200);
    }
  }
  
  if(digitalRead(l) == HIGH)
  {
    if (cursor>=0 && cursor<16)
    {
      cursor--;
      lcd.clear();
      lcd.setCursor(cursor,0);
      lcd.write(byte(4));
      delay(200);
    }
  }
  if(digitalRead(u) == HIGH)
  {
    if (cursor>=0 && cursor<16)
    {
      lcd.clear();
      lcd.setCursor(cursor,0);
      lcd.write(byte(5));
      delay(200);
    }
  }
  if(digitalRead(d) == HIGH)
  {
      lcd.clear();
      lcd.setCursor(cursor,1);
      lcd.write(byte(0));
      delay(200);
    
  }
}
Home Automation System

Home Automation System

Home Automation System

Home Automation System

Created By

  • Ishaan Periwal

    Ishaan Periwal

    I am Ishaan. I enjoy building and creating and my interests range from quantum mechanics to aerospace. I am an avid course taker and constantly is having at least one course, and I have also participated in many sports and other co-curricular activities.

About This Project

Hello everyone,

Thank You for viewing our project  Home Automation System .

This system is designed to control the speed of the fan to cool a light a bulb.

We decided to build this project because today’s light bulbs tend to heat and this can cause blast in the house. Which could turn out to be a huge fire accident! So, we have made an automation system which could be controlled by your smartphone. This will cool out the bulb and the speed also you can control by just sitting and do the work.

There are 5 speed in the fan which can be controlled by the ‘volume up and down ‘buttons of the IR remote. The fan can be turned on by the ‘2’ button of the IR remote. The bulb can be turned on and off by the ‘1’ button of the IR remote. All the button you press will be displayed in the LCD. So, you can say this is a user friendly project.

Components Required

  • Arduino UNO
  • Alphanumeric LCD 16 X 2
  • Justboom IR Remote
  • Thermopile IR Sensor TS105-10L5.5mm
  • LED Light Bulb, Frosted GLS
  • Geared DC Motor, 12V
  • Power Relay, SPDT

Schematics

In this image all the components with the connections are given

Home Automation System

Code Of Project

#include <IRremote.h>
#include <LiquidCrystal.h>

const int RECV_PIN = 8;
IRrecv irrecv(RECV_PIN);
decode_results results;

LiquidCrystal lcd(7, 6, 5, 4, 3, 2);

int x=0;
int y=0;
int z=0;

void setup() {
  pinMode(12, OUTPUT);
  pinMode(10, OUTPUT);
  pinMode(9, OUTPUT);
  irrecv.enableIRIn();
  Serial.begin(9600);
  lcd.begin(16, 2);
  lcd.setCursor(0,0);
  lcd.print("Home Automation");
}

void loop() {
  if (irrecv.decode(&results))
  {
    lcd.clear();
    lcd.setCursor(0,0);
    lcd.print("Bulb Fan Speed");
    if(results.value == 0xFD08F7)
    {
      x++;
      if(x%2==1)
      {
        digitalWrite(12, HIGH);
        lcd.setCursor(0,2);
        lcd.print("ON");
      }
      else
      {
        digitalWrite(12, LOW);
        lcd.setCursor(0,2);
        lcd.print("OFF");
      }
    }
      if(results.value == 0xFD8877)
     {
       y++;
       if(y%2==1)
       {
         digitalWrite(9, HIGH);
         lcd.setCursor(5,2);
         lcd.print("ON");
         lcd.setCursor(9,2);
             lcd.print(z);
       }
       else
       {
         digitalWrite(9, LOW);
         lcd.setCursor(5,2);
         lcd.print("OFF");
         lcd.setCursor(9,2);
             lcd.print(z);
       }
     }
       if(results.value == 0xFD807F && z>=0 && z<6)
         {
           z++;
           if(z==1)
           {
             analogWrite(10, 51);
             lcd.setCursor(9,2);
             lcd.print(z);
           }
           if(z==2)
           {
             analogWrite(10, 102);
             lcd.setCursor(9,2);
             lcd.print(z);
           }
           if(z==3)
           {
             analogWrite(10, 153);
             lcd.setCursor(9,2);
             lcd.print(z);
           }
           if(z==4)
           {
             analogWrite(10, 204);
             lcd.setCursor(9,2);
             lcd.print(z);
           }
           if(z==5)
           {
             analogWrite(10, 255);
             lcd.setCursor(9,2);
             lcd.print(z);
           }
         }
    	if(results.value == 0xFD906F && z>0 && z<=6)
         {
           z--;
           if(z==1)
           {
             analogWrite(10, 51);
             lcd.setCursor(9,2);
             lcd.print(z);
           }
           if(z==2)
           {
             analogWrite(10, 102);
             lcd.setCursor(9,2);
             lcd.print(z);
           }
           if(z==3)
           {
             analogWrite(10, 153);
             lcd.setCursor(9,2);
             lcd.print(z);
           }
           if(z==4)
           {
             analogWrite(10, 204);
             lcd.setCursor(9,2);
             lcd.print(z);
           }
           if(z==5)
           {
             analogWrite(10, 255);
             lcd.setCursor(9,2);
             lcd.print(z);
           }
          if(z==0)
           {
             analogWrite(10, 0);
            lcd.setCursor(9,2);
             lcd.print(z);
           }
         }
    
    Serial.println(results.value, HEX);
    Serial.print(x);
    Serial.print(y);
    Serial.print(z);
    irrecv.resume();
  }
}
Smart Irrigation System

Smart Irrigation System

Smart Irrigation System

Smart Irrigation System

Created By

  • Tusham Agarwal

    Tusham Agarwal

    My name is Tusham. I am extremely interested in making new codes every day and I have made a lot of projects here at Mechatron Robotics. I have learnt a lot here and developed my skills and I hope to make my parents proud by excelling in the Robotics field.

About This Project

Smart Irrigation System water the plant whenever the soil is dry and if we want more water we can do it by sitting in chair because the Bluetooth in the project connects with the system with the help of the app. After connecting you can check the status of the soil and pump the water and turn it off again.

I decided this to make it because in India specially farmer sometimes put more or less water in the crop and the outcome does not come perfectly. This leads to a loss and ultimately they suicide. So, this project helps to put accurate amount of water.

We have made our own soil moisture sensor which collects the moisture in the soil from 0 to 1023. If the moisture value is less than 200 it automatically pumps water in the soil. One more thing is that it takes solar energy to charge

Here we have use Arduino uno but in large farms you can use Arduiono mega and optocoupler.

Components Required

  • Arduino UNO
  • HC-05 Bluetooth Module
  • DF Robot Solar Power Manager
  • 1N4007-High Voltage ,High Current Rated Diode
  • 9V generic Battery
  • Water Pump

SCHEMATICS

In this image all the components with the connections are given

Smart Irrigation System

Code Of Project

const int motor = 13;
const int soilin = A0;
int sensorValue = 0;
char bt;
const int limit = 200;

void setup()
{
  Serial.begin(9600);
  pinMode(motor, OUTPUT);
  pinMode(soilin, INPUT);
}

void loop()
{
  sensorValue = analogRead(soilin);
  
  if (sensorValue < limit)
  {
    digitalWrite (motor, HIGH);
    delay(1000);
    digitalWrite (motor, LOW);
  }
  
  while (Serial.available()>0)
  {
    bt=Serial.read();
    delay(20);
    if (bt=='2')
    {
      Serial.println (sensorValue);
    }
    else if (bt=='1')
    {
      digitalWrite (motor, HIGH);
    }
    else if (bt=='0')
    {
      digitalWrite (motor, LOW);
    }
  }
}
Hazardous Gas leak detection

Hazardous Gas leak detection

Hazardous Gas leak detection

Hazardous Gas leak detection

Created By

  • Gaurish Singla-03

    Gaurish Singla

    Lorem ipsum dolor sit amet, consectetur adipisi cing elit, sed do eiusmod tempor incididunt ut abore et dolore magnaMy project is about irrigation system. It water the plant whenever the soil is dry and if we want more water we can do it by sitting in chair because the Bluetooth in the project connects with the system with the help of the app. After connecting you can check the status of the soil and pump the water and turn it off again

About This Project

Safety plays a major role in today’s world and it is necessary that good safety systems are to be implemented in places of Chemical plant. The main objective of the work is designing Arduino based toxic gas detecting, alerting and protecting system. The hazardous gases like Hydrogen sulfide, Nitrogen dioxide and Carbon monoxide are sensed and displayed the status every second in the LCD display. The advantage of this automated detection, alerting system and protecting system over the manual method is that it offers quick response time and accurate detection of an emergency and in turn leading faster diffusion of the critical situation.

Hazardous Gas leak detection when the gas sensor senses the emission of hazardous gases like Hydrogen sulfide, Nitrogen dioxide and Carbon monoxide, it will generate the alerting sound and alert everyone and also the electric motors will close the electric gates and control the emission of hazardous gases.

Components Required

  • Arduino UNO
  • Gas Detection Sensor, Hydrogen
  • DC Motor, 12V

Schematics

In this image all the components with the connections are given

Hazardous Gas leak detection

Code Of Project

#include <LiquidCrystal.h>
LiquidCrystal lcd(8, 9, 10, 11, 12, 13);

int Gas_Sensor_Value = 0;
int Gas_sensor = A0;
int Piezo = 3;
int electric_motor_1 = 4 ;
int electric_motor_2 = 5 ;
int electric_motor_3 = 6 ;
int electric_motor_4 = 7 ;


 

void setup() 
{
  lcd.begin(16, 2); // set up the LCD's number of columns and rows:
  pinMode(Gas_sensor, INPUT);
  pinMode(Piezo, OUTPUT);
  pinMode(electric_motor_1, OUTPUT);
  pinMode(electric_motor_2, OUTPUT);
  pinMode(electric_motor_3, OUTPUT);
  pinMode(electric_motor_4, OUTPUT);
}
void loop() 
{
   lcd.clear();
   Gas_Sensor_Value = analogRead(A0);

   if( Gas_Sensor_Value >= 700)
   {
    digitalWrite(Piezo, HIGH);
    digitalWrite(electric_motor_1, HIGH);
    digitalWrite(electric_motor_2, HIGH);
    digitalWrite(electric_motor_3, HIGH);
    digitalWrite(electric_motor_4, HIGH);
    lcd.print("Caution:Gas leak"); // Print a message to the LCD.
     
   delay(1000);
   }
  else
  {
   digitalWrite(Piezo, LOW);
   digitalWrite(electric_motor_1, LOW);
   digitalWrite(electric_motor_2, LOW);
   digitalWrite(electric_motor_3, LOW);
   digitalWrite(electric_motor_4, LOW);
   lcd.print("The environment"); // Print a message to the LCD.
   lcd.setCursor(0,1); 
   lcd.print("is Safe"); 
    delay(1000);
  }
  }
Smart Mask

Smart Mask

Smart Mask

Smart Mask

Created By

  • Ishaan Periwal

    Ishaan Periwal

    I am Ishaan. I enjoy building and creating and my interests range from quantum mechanics to aerospace. I am an avid course taker and constantly is having at least one course, and I have also participated in many sports and other co-curricular activities.

About This Project

Hello fellow people, again a very big “Thank you” to all of you for giving your precious time to my projects. I am currently on cloud nine as today I have made a project that has the power to revolutionize the world. Yes, today I made a Smart mask. This mask is made after a ton of research and tests and we are confident you are sure to appreciate it after you have a look at it.It is very simple yet ingenious and while making this we kept in mind that efficiency matters, so we made sure it was not hampered and last of all yes, it is pocket friendly. Now talking about its working this Smart Mask is based on an ultrasonic sensor which gives us the reading, I have also attached a LCD so you see your distance, this LCD is currently to represent your smart phone, in which you can download an app to monitor yourself.These were some of the basic concepts of our smart mask. Special thanks to Mechatron Robotics and mainly my trainer Mr. Ankur Hazarika, also to all of you viewers out there for all the support.

This was Ishaan and hope to make a new project like this one for the benefit of our people and the world.

From the CREATOR,

Ishaan

Components Required

  • Arduino UNO
  • Alphanumeric LCD 16 X 2
  • Ultrasonic Sensor
  • Buzzer

Schematics

In this image all the components with the connections are given

Smart Mask

Code Of Project

#include <LiquidCrystal.h>
int sensorvalue = 0;
LiquidCrystal lcd(7, 6, 5, 4, 3, 2);

long readUltrasonicDistance(int triggerPin, int echoPin)
{
	pinMode(triggerPin, OUTPUT); // Clear the trigger
	digitalWrite(triggerPin, LOW);
	delayMicroseconds(2);
	// Sets the trigger pin to HIGH state for 10 microseconds
	digitalWrite(triggerPin, HIGH);
	delayMicroseconds(10);
	digitalWrite(triggerPin, LOW);
	pinMode(echoPin, INPUT);
	// Reads the echo pin, and returns the sound wave travel time in microseconds
	return pulseIn(echoPin, HIGH);
}

void setup()
{
	Serial.begin(9600);
  	lcd.begin(16,2);
  	lcd.setCursor(3,0);
  	lcd.print("Smart Mask");
  	delay(3000);
  	lcd.clear();
  pinMode(11, OUTPUT);
}

void loop()
{
	sensorvalue = 0.01723 * readUltrasonicDistance(13, 12);
	Serial.println(sensorvalue);
  	lcd.setCursor(0,0);
  	lcd.print(sensorvalue);
  	lcd.print(" cm");
	delay(500); // Wait for 500 millisecond(s)
	if (sensorvalue >= 200){
		digitalWrite(11, LOW);
      	lcd.clear();
      	lcd.setCursor(0,1);
      	lcd.print("You're Safe");
      digitalWrite(13, LOW);
	}
	if (sensorvalue < 200) {
		digitalWrite(11, HIGH);
      	lcd.clear();
      	lcd.setCursor(0,1);
      	lcd.print("Move back!!");
      digitalWrite(13, HIGH);
	}
}
Social Distancing Reminder

Social Distancing Reminder

Social Distancing Reminder

Social Distancing Reminder

Created By

  • Rishab Jha-03

    Rishabh Jha

    I am Rishab. I’m a student of 10th class. I love spending my time in making new and optimized programs in Robotics. I love playing Badminton and I love to study Mathematics, Chemistry & Physics. My dream is to excel in Robotics and help my country improve in Bionic Engineering.

About This Project

https://drive.google.com/file/d/1hOoOQ9lyPxblGcBaxsr9-aZIsq9Z5J-w/view?usp=sharing

Hello everyone, this is my first project on Arduino Project Hub.

My name is Krishna Srikanth, I am 9 years old. I am a student of MECHATRON ROBOTICS, New Delhi. I have completed a full fledged course on Arduino and electronics in just 2 months. I have always desired to become a scientist in ISRO, Perhaps i’m also taking these small steps at an early age.

In these tough times of COVID-19 Virus, I have made this super easy project Social Distancing Reminder which will help you maintain a distance of 1 metre with another person. This virus spreads rapidly with physical contact and air transmission upto 1 metre. This piezo electric buzzer will create a sound whenever the other person comes as close as 1 metre.

Looking forward to contribute more to this world by more innovative ideas.

Thanks!!

Stay Safe and Happy !

Components Required

  • Arduino UNO
  • Ultrasonic Sensor
  • SG90 Micro-Servo Motor
  • Buzzer
  • Jumper Wires
  • 9V 1A switching Wall Supply

Schematics

In this image all the components with the connections are given

Social Distancing Reminder

Code Of Project

int pingPin = 9;
int buzzer = 11;

void setup() {
  
  Serial.begin(9600);
  pinMode(buzzer, OUTPUT);
}

void loop() {
  long duration, cm;

  pinMode(pingPin, OUTPUT);
  digitalWrite(pingPin, LOW);
  delayMicroseconds(2);
  digitalWrite(pingPin, HIGH);
  delayMicroseconds(5);
  digitalWrite(pingPin, LOW);

  pinMode(pingPin, INPUT);
  duration = pulseIn(pingPin, HIGH);
  cm = microsecondsToCentimeters(duration);

  Serial.print("Distance: ");
  Serial.print(cm);
  Serial.print("cm");
  Serial.println();

  if(cm < 100) {
    digitalWrite(buzzer, HIGH);
  }
  else {
    digitalWrite(buzzer, LOW);
  }
  
  delay(100);
}


long microsecondsToCentimeters(long microseconds) {
  return microseconds / 29 / 2;
}
Contactless Door opening system

Contactless Door opening system

Contactless Door opening system

Contactless Door opening system

Created By

  • Krish Chauhan

    Krish Chauhan

    I am a 9th class student who loves programming and is interested in technology. I also love to solve logical and math problems.

About This Project

https://drive.google.com/file/d/1G5LK4tLmDgeGSqF3DImGs7fqgG0H3EmK/view?usp=sharing

Hello friends, This is the first time I am posting a project on Arduino Project Hub.

My name is Krish Chauhan, I am 11 years old. I am student of MECHATRON ROBOTICS, New Delhi. I have completed a course on Arduino and Electronics in just 2 months. I have learned this new skill during this quarantine period. I have always been fascinated towards the field of electronics and automation. I have made a project using Arduino which will help people prevent the further spread of COVID-19 Virus. This project can be used to open door automatically from a distance of 1 metre. We can also use this project to turn ON or OFF the switches at our home and offices.

Contactless Door opening system uses an ultrasonic sensor which can measure the distance between objects, we can use this functionality to rotate a servo motor to open a door or turn ON a switch. We can also use a DC Pump to take out sanitizer from a bottle. This project will only cost around 900 INR, but surely can save you and your family from this deadly virus.

I desire to contribute something big and useful to this world. I am still at a very early age of learning. Looking for more ideas from Arduino Project Hub.

Thanks Everyone !

Stay Safe and Happy.

Components Required

  • Arduino UNO
  • Ultrasonic Sensor
  • SG90 Micro-Servo Motor
  • Buzzer
  • Jumper Wires
  • 9V 1A switching Wall Supply

Schematics

In this image all the components with the connections are given

Contactless Door opening system

Code Of Project

int cm;
int time;
int e;
#include<Servo.h>;
Servo krish;
void setup()
{
  pinMode(13, OUTPUT);
  pinMode(12, INPUT);
  krish.attach(10);
  Serial.begin(9600);
  pinMode(11, OUTPUT);
}
//this will help people to open doors without touch
// price 500 for the arduino uno r3
// price 300 for the servo motor
// price 200 for the ultrasonic sensor
// price 121 for the breadboard
// total 1121
void loop()
{
  long Distance;
  digitalWrite(13, LOW);
  delayMicroseconds(2);
  digitalWrite(13, HIGH);
  delayMicroseconds(5);
  digitalWrite(13, LOW);
  pinMode(12, INPUT);
  time = pulseIn(12, HIGH);
  cm = q (time);
    if(cm < 100)
    {
      while(e<1)
      {
    krish.write (90);
    analogWrite(11,255);
    delay(1000);
    krish.write (0);
    digitalWrite(11,LOW);
    delay(2000);
    e += 1 ;
      }
    }
      else
      {
        e = 0;
      } 
  Serial.println(cm);
  delay(10);
}
 long q (long w)
{
return w /2/29;
}
A.T.M (Anti Transmission Mechanism)

A.T.M (Anti Transmission Mechanism)

A.T.M (Anti Transmission Mechanism)

A.T.M (Anti Transmission Mechanism)

Created By

  • Yash Nilesh Ghunavat1-03

    Adhrit Choudhary

    My name is Roshan; I am 13 years old and I am in 7th standard. My hobbies are horse riding, robotics, and computer programming.

About This Project

Hello everyone !

My name is Adhrit Choudhary, I am 10 years old. I am a student of MECHATRON ROBOTICS, New Delhi. I have completed a fully fledged Arduino and Electronics course in just 2 months. I have always been fascinated towards Coding and Automation. I want to become a Pokemon Trainer, Hehe, I want to make my own Pokeball to catch pokemons. I know it sounds childish but i’m 10. I want to use Arduino programming to create a replica of Pokeball.I would also love to contribute towards the INDIAN DEFENCE SERVICES.

A.T.M (Anti Transmission Mechanism) will help people withdraw cash from any ATM without actually making a physical contact with the switches. An ultrasonic sensor is used to provide input to the ATM Machine. For ex- If your input pin if 4578, then you will put your hand at 40cm, 50cm, 70cm, and 80cm for a moment of time. Depending on the distance, any person can input his pin. The buttons on the machine will be pressed by the Servo Motors attached.

This project can also be used to turn ON and OFF any switch at home or offices.

Looking forward for more innovative ideas at Arduino Project Hub.

Thanks Everyone !

Stay Safe and Happy !

Components Required

  • Arduino UNO
  • Ultrasonic Sensor
  • SG90 Micro-Servo Motor
  • Buzzer
  • Jumper Wires
  • 9V 1A switching Wall Supply

Schematics

In this image all the components with the connections are given

Code Of Project

#include<Servo.h>
int trigger=9;
int sensor=0;
int echo=10;

Servo servo1;
Servo servo2;
Servo servo3;
Servo servo4;
Servo servo5;

long calibration (int trigger,int echo){
  pinMode(trigger,OUTPUT); 
  digitalWrite(trigger,LOW);
  delayMicroseconds(2);
  digitalWrite(trigger,HIGH);
  delayMicroseconds(10);
  digitalWrite(trigger,LOW);
   
  
pinMode(trigger, INPUT);
  return pulseIn(echo,HIGH);
}
 
void setup(){
  servo1.attach(2);
  servo2.attach(3);
  servo3.attach(4);
  servo4.attach(5);
  servo5.attach(6);
    
    }
void loop()
{
sensor = 0.01723 * calibration(9,10);
  Serial.println(sensor);
  delay(500);
if (sensor < 100 && sensor > 90){
    servo1.write(90);
    delay(400);
    servo1.write(0);
  }
if (sensor < 90 && sensor > 80){
    servo2.write(90);
    delay(400);
  servo2.write(0);
  }
if (sensor < 80 && sensor > 70){
    servo3.write(90);
    delay(400);
  servo3.write(0);
  }
if (sensor < 70 && sensor > 60){
    servo4.write(90);
    delay(400);
  servo4.write(0);
  }

  if (sensor < 60 && sensor > 50){
    servo5.write(90);
    delay(400);
    servo5.write(0);
  }
}
Interfacing of RGB with IR sensor

Interfacing of RGB with IR sensor

Interfacing of RGB with IR sensor

Interfacing of RGB with IR sensor

Created By

  • Roshan Baig

    Roshan Baig

    My name is Roshan; I am 13 years old and I am in 7th standard. My hobbies are horse riding, robotics, and computer programming.

About This Project

Interfacing of RGB with IR sensor objective is to On, Off and fading RGB led from remote place using IR Remote.

The TSOP 1738 is one type of receiver which receives IR. It consists of a PIN diode and a pre amplifier which are embedded into a single package. The output of TSOP is active low and it gives +5V in off state. When IR waves, from a source, with a centre frequency of 38 kHz incident on it, its output goes low.

Components Required

  • Arduino UNO
  • RGB Diffused Common Cathode
  • IR receiver
  • Breadboard
  • Resistor 1K Ohm

Schematics

In this image all the components with the connections are given

Code Of Project

#include<IRremote.h>
int red=11;
int green=10;
int blue=9;
int RECV_PIN=8;
IRrecv irrecv(RECV_PIN);
decode_results results;
void setup()
{
pinMode(red, OUTPUT);
pinMode(green, OUTPUT);
pinMode(blue, OUTPUT);
Serial.begin(9600);
irrecv.enableIRIn();
}
void loop()
{
if (irrecv.decode(&results))
{
Serial.println(results.value, HEX);
irrecv.resume();
if(results.value==0xFD08F7)
{
digitalWrite(red, HIGH);
digitalWrite(green, LOW);
digitalWrite(blue, LOW);
}
if(results.value==0xFD8877)
{
digitalWrite(red, LOW);
digitalWrite(green, HIGH);
digitalWrite(blue, LOW);
}
if(results.value==0xFD48B7)
{
digitalWrite(red, LOW);
digitalWrite(green, LOW);
digitalWrite(blue, HIGH);
}
if(results.value==0xFD28D7)
{
analogWrite(11, 255);
analogWrite(9, 255);
analogWrite(10, 0);
}
if(results.value==0xFDA857)
{
analogWrite(11, 0);
analogWrite(9, 255);
analogWrite(10, 255);
}
}
delay(100);
}
Share