Published on 20 May 2022. Written by Naveen Lakkundi
Ever imagined playing hip hop beats as desired at just the motion of your hands in air. Well here we propose a raspberry pi based project that does just this. Our proposed system uses raspberry pi along with ultrasonic sensors in order to check user hand position and plays beats accordingly to allow making hip hop beats as desired.
Read more..
The proposed system uses ultrasonic sensors attached to raspberry pi in order to detect user hand positions. Based on the input received the user may change different beats or add effects in between. We use multiple ultrasonic sensors to allow for a variety of sound effects. Our system uses a speaker in order to play those beats.
We here use raspberry pi board in order to get fast processing and no break constant music beats for good sound effects. Thus our proposed system puts forward an innovative beat maker and mixer system. We here use raspberry pi board in order to get fast processing and no break constant music beats for good sound effects. Thus the system puts forward an innovative beat maker and mixer system.
Project Description:
Arduino Uno: Arduino Uno is a microcontroller which can take both analog and digital inputs and you can use this to acquire the data from all the sensors. There are six analog I/O pins and fourteen digital I/O pins which you can use to interface your sensors.
Raspberry Pi 3 B: You can use Raspberry pi as a server, program raspberry pi to take the data from Arduino, and depending on the data acquired you can actuate the camera, exhaust and also turn of the machines. Program the raspberry pi such that the data that is acquired from sensors is uploaded to the cloud and when an intruder is found in the restricted area then click a picture and mail it to the email ID given in the program.
MQ 6 sensor: MQ 6 sensor can detect iso-butane, propane, LPG with high sensitivity and it also detects alcohol and smoke with small sensitivity. The response of the sensor is very fast and this sensor is durable you can use this sensor in any environment condition.
PIR motion sensor: PIR stands for passive infrared sensor they are also called as Pyro electric sensor or IR motion sensor. This sensor detects the IR radiations emitted by humans and animals, if a human moves in the range of the sensor the radiation is absorbed by the sensor and motion can be detected. The range of the PIR sensor is 3-7 meters, it detects any IR radiation in the 3-7 meter radius. The sensor can be calibrated with the sensitivity and the delay of the IR detection.
Relay Module Use relay module to actuae the exhaust and the machines.
Display: You can use any kind of display for the project, like monitors, TV or any size display that fits your requirement to configure the Pi.
Power Supply: Raspberry Pi needs a power supply of 5V and 2A Micro USB type.
Mouse and keyboard: You will need this to control, monitor, and to configure the Pi.
Pi Camera: Use the Pi camera to capture still images, live streaming and for video recording.
Project Implementation:
Program Arduino to sense the data from the all the three sensors and send these data to raspberry pi through serial communication.
Program the Raspberry Pi to get the data from Arduino and when the motion is detected the camera should take a picture of the intruder and send a mail to the registered mail ID, if there is any gas leakage or inflammable gas detected or there is smoke in the industry you can actuate the exhaust fan, and you can monitor the smooth operation of any machine with the vibration sensor.
Install Python IDE 3 in Raspberry Pi.
Install the Audio dependencies in order to use the speakers and produce a cool beats.
Connect your Display, keypad to the raspberry pi.
Write a Python program with which you can add beats of a drum, and when hand is moved towards the ultrasonic sensor the respective beats stored should be played.
You can play multiple beats to form a sync and become a virtual drummer.
Project Brief:The Raspberry Pi when configured and all the required software has been installed then the Pi is ready to be used as a virtual beats player or a ultrasonic drum kit.
Software requirements:
Raspbian OS(Debian Linux): Raspbian operating systems are based on Linux, Raspberry pi are also compatible with Windows and IOS but prefer any Linux based OS
Python IDE 3: Python IDE 3 is compiler where you can write and compile python program.
Arduino IDE Version 1.8.5 : You will be needing Arduino IDE software for writing and uploading the program into the Arduino Uno board.
Programing Language:
Linux (terminal commands)
Python
Arduino Programing
Kit required to develop Automatic Green house system: