Close

Drums Project

shoukat-rajShoukat Raj wrote 09/08/2021 at 16:00 • 8 min read • Like

DRUM:

The drum is a member of the percussion group of musical instruments. 

In this project we are using electricity so that's relate to electrical engineering.

Some of the following things are used that are given below : 

1. Arduino.

2.DC Gear Motor.

3. Bread Board .

4. DC Motor Driver.

5. Ultrasonic Sensor.

6. Dimple Drum .

7. Adapter ( for giving electricity).

8.A wood or a carton box sheet. 

They function are defined below in brief.

1. ARDUINO :

Open-source electronic prototyping platform enabling users to create interactive electronic objects.


 .  Arduino defined in detail:

2. DC  GEAR MOTOR:

A gear motor is an all-in-one combination of a motor and gearbox. The addition of a gear head to a motor reduces the speed while increasing the torque output. ... Most of our DC motors can be complemented with one of our unique gearheads, providing you with a highly efficient gear motor solution.

These durable (but affordable!) plastic gearbox motors (also known as 'TT' motors) are an easy, low-cost way to get your projects moving. This is a TT DC Gearbox Motor with a gear ratio of 1:48, and it comes with 2 x 200mm wires with breadboard-friendly 0.1" male connectors. Perfect for plugging into a breadboard or terminal blocks.

You can power these motors with 3VDC up to 6VDC, they'll of course go a little faster at the higher voltages. We grabbed one motor and found these stats when running it from a bench-top supply

Note that these are very basic motors, and have no built-in encoders, speed control or positional feedback. Voltage goes in, rotation goes out! There will be variation from motor to motor, so a separate feedback system is required if you need precision movement.

DC Gearbox Motor - TT Motor with two long wires and yellow body

TECHNICAL DETAILS

3. BREAD BOARD: 

A breadboard is used to build and test circuits quickly before finalizing any circuit design. The breadboard has many holes into which circuit components like ICs and resistors can be inserted.

A breadboard: is a widely used tool to design and test circuit. You do not need to solder wires and components to make a circuit while using a bread board. It is easier to mount components & reuse them. Since, components are not soldered you can change your circuit design at any point without any hassle. It consist of an array of conductive metal clips encased in a box made of white ABS plastic, where each clip is insulated with another clips. There are a number of holes on the plastic box, arranged in a particular fashion. A typical bread board layout consists of two types of region also called strips. Bus strips and socket strips. Bus strips are usually used to provide power supply to the circuit. It consists of two columns, one for power voltage and other for ground.

4. DC MOTOR DRIVER: 

The DC motor drive is a type of amplifier or power modulator that integrate between the controller and a DC motor. It takes the low current and then converts it into a high current which is appropriate for the motor.

Definition: The DC motor drive is a type of amplifier or power modulator that integrate between the controller and a DC motor. It takes the low current and then converts it into a high current which is appropriate for the motor. The DC motor drive also provides the high current torque, 400 % more than the rated continuous torque. The important applications of DC motor drives are rolling mills, paper mills, mine winders, hoists, machine tools, traction, printing presses, textile mills, excavators and crane.

Types of DC Motor Drives

  1. Non-regenerative DC Drive – This drive rotates only in one direction and hence also called single quadrant drive.The non-regenerative DC motor drive does not have any inherent braking capability. The motor is terminated only by removing the supply. Such type of drive is used in a placed where high friction load or strong natural brake requires.
  2. Regenerative DC Drive – It is a four quadrant drive, and it controls the speed, direction and torque of a motor. Under the braking condition, this drive converts mechanical energy and load into electrical energy which is returned to the power source.


5. ULTRASONIC SENSOR:  Ultrasonic Sensors measure the distance to the target by measuring the time between the emission and reception. 

Ultrasonic sensors work by emitting sound waves at a frequency too high for humans to hear. They then wait for the sound to be reflected back, calculating distance based on the time required. This is similar to how radar measures the time it takes a radio wave to return after hitting an object.

An ultrasonic sensor emits sound waves toward an object and determines its distance by detecting reflected waves.

Ultrasonic sensors are used primarily as proximity sensors. They can be found in automobile self-parking technology and anti-collision safety systems. Ultrasonic sensors are also used in robotic obstacle detection systems, as well as manufacturing technology. In comparison to infrared (IR) sensors in proximity sensing applications, ultrasonic sensors are not as susceptible to interference of smoke, gas, and other airborne particles (though the physical components are still affected by variables such as heat).  

Ultrasonic sensors are also used as level sensors to detect, monitor, and regulate liquid levels in closed containers (such as vats in chemical factories). Most notably, ultrasonic technology has enabled the medical industry to produce images of internal organs, identify tumors, and ensure the health of babies in the womb.

6.DIMPLE DRUM :

The Dimple beginner children drum set features a heavy duty, extremely durable construction. The kit includes drums with a microphone, 3 drum pads, 1 bass drum and a pedal, as well as 2 drum sticks and a comfortable seat. Your little musician will feel like a real rock star! Learning And Skills Development Is All About Fun.

7. Adapter:

An AC adapter is an external power supply that converts alternating current (AC) from a wall outlet to a direct current (DC) needed by an electronic device. Therefore, it is an AC/DC converter. When it supplies power to a battery-powered device, it is also accurate to describe it as a charger.

China 12V 1A/2A AC/DC Switching Power Adapter Supply in Good Quality Source  - China AC/DC Power Adapter, 12V AC/DC AdapterSheet:

3mm Balsa wood sheet size 500x300mmwhere we can put all the things as drum motors on it .

NOW TIME TO FINAL BUILD PROJECT:

STEP #1 

first we make the motor as it rotate like servo motor .

STEP # 2 

HOW TO CONNECT MOTOR DRIVER ?

first, connect the the motors two wires with the OUTPUT 1 and OUTPUT 2. And connect the other motor with the motor driver OUTPUT 3 and OUTPUT 4. And now connect the motor driver with your ARDUINO .

STEP#3 

Above we learn that how to connect the motor driver  with Arduino .And now  we learn the coding of Arduino.

int adnan1=12;
int shoukat1=11;
int adnan2=10;
int shoukat2=9;
int speed1 = 3;
int speed2 = 5;
int echoPin=7;
int trigPin= 8;
long duration;
int distance;

void setup () {
  pinMode (adnan1,OUTPUT);
  pinMode (shoukat1,OUTPUT);
  pinMode (adnan2,OUTPUT);
  pinMode (shoukat2,OUTPUT);
  pinMode(speed1, OUTPUT);
  pinMode (speed2,OUTPUT);
  pinMode(trigPin, OUTPUT);
  pinMode(echoPin, INPUT);
  Serial.begin(9600);  
  }
  void loop() {
     digitalWrite(trigPin, LOW);
  delayMicroseconds(2);
  digitalWrite(trigPin, HIGH);
  delayMicroseconds(10);
  digitalWrite(trigPin, LOW);
  duration = pulseIn(echoPin, HIGH);
  distance = duration * 0.034 / 2;
  Serial.print("Distance: ");
  Serial.print(distance);
  Serial.println(" cm");
    if(distance >=5 && distance =< 100)
    {
    digitalWrite (adnan1,LOW);
    digitalWrite (shoukat1,HIGH);
    analogWrite (speed1,170);
    digitalWrite (adnan2,LOW);
    digitalWrite (shoukat2,HIGH);
    analogWrite (speed2,250);
    delay(1000);
    digitalWrite (adnan1,LOW);
    digitalWrite (shoukat1,HIGH);
    analogWrite (speed1,200);
    digitalWrite (adnan2,LOW);
    digitalWrite (shoukat2,HIGH);
    analogWrite (speed2,200);
    delay(1000);
    }
    else{ digitalWrite (adnan1,LOW);
    digitalWrite (shoukat1,LOW);
    digitalWrite (adnan2,LOW);
    digitalWrite (shoukat2,LOW);
    }
    }

Like

Discussions