There is a drum which is played by two DC motors and Arduino Nano. We used a wooden sheet and we have changed the rotational motion of motor into Oscillation motion as it hits the drum and Drum play. With, Motor Driver L-298 we can control the speed and direction of motors. And, we also give the motors more voltage to increase their power of hitting.
Files
DIRECTION CONTROLLER
It will control your direction of motors.
direction controller -
116.00 bytes -
09/24/2021 at 10:37
2×
DC Gear Motor
it is a motor which runs on 12-V.
1×
DC Motor Driver L-298
it controls the motors speed and provides maximum voltage to motors as we cannot provide from Arduino.
1×
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.
1×
Bread Board
it provides more space for PWM pins and many other pins.
1×
Adapter 12-V
it gives us 12 Voltage as we run our project.
The motors will controlled by motor driver which is connected to Arduino Nano.The MOTORS will attach on the OUTPUTS of Motor Driver. Then, attach IN1, IN2 ( as motor 1 ) and the IN3, IN4 (as motor 2) with the PWM pins of Arduino.The ENA of motor driver controlled the speed and they'll also connect with PWM Pin of Arduino.Now, Giving electric power to motor Driver to provide power in Arduino and Motors. There are three pins, 12-V, 5V and GND. 5V will attach on 5V of Arduino and GND will attach on GND of arduino Now we provide power in Motor Driver. Connect an ADAPTER 12-V connect +ve (red) wire with 12V and Connect-ve with GND of MOTOR DRIVER (black).Now the power will given to MOTOR DRIVER and it gives 5V to Arduino.
First we choose to use the Servo Motor do play the Drum But it doesn't worked.Then we moped on DC Gear Motor, the toy tire is attached on it. The prototype we made and tested it as how it can works.