SUSMIT RUDRA
Published © LGPL

COVID-19 Latest Projects

Interesting and Easy latest projects during COVID-19. A Must Watch!

BeginnerFull instructions provided2 hours499
COVID-19 Latest Projects

Things used in this project

Hardware components

Raspberry Pi 3 Model B
Raspberry Pi 3 Model B
×1
Arduino UNO & Genuino UNO
Arduino UNO & Genuino UNO
×1
SparkFun Sound Detector (with Headers)
SparkFun Sound Detector (with Headers)
×1
HC-05 Bluetooth Module
HC-05 Bluetooth Module
×1
Grove - Gas Sensor(MQ2)
Seeed Grove - Gas Sensor(MQ2)
×1
LilyPad Rainbow LED (strip of 7 colors)
SparkFun LilyPad Rainbow LED (strip of 7 colors)
×1
DHT11 Temperature & Humidity Sensor (4 pins)
DHT11 Temperature & Humidity Sensor (4 pins)
×1
DC Motor, 12 V
DC Motor, 12 V
×1
Rotary potentiometer (generic)
Rotary potentiometer (generic)
×1
Jumper wires (generic)
Jumper wires (generic)
×1

Software apps and online services

Arduino IDE
Arduino IDE

Hand tools and fabrication machines

Soldering iron (generic)
Soldering iron (generic)
Solder Wire, Lead Free
Solder Wire, Lead Free
Soldering Iron Holder, With Sponge
Soldering Iron Holder, With Sponge
Multitool, Screwdriver
Multitool, Screwdriver

Story

Read more

Custom parts and enclosures

Arduino UNO

Schematics

Music Reactive LED

Code

Music Control your LED Lights

Arduino
You can adjust the Threshold value.
const int ledpin=9;      // ledpin and soundpin are
                         //not changed throughout the process
const int soundpin=3;
// const int threshold=200; // sets threshold value
                         //for sound sensor
void setup() {
  
Serial.begin(9600);
pinMode(ledpin,OUTPUT);
pinMode(soundpin,INPUT);
}
void loop() {
  
int soundsens=digitalRead(soundpin); 
// reads analog data from sound sensor

if (soundsens==HIGH) {
digitalWrite(ledpin,HIGH); //turns led on
delay(1);
}
else{
digitalWrite(ledpin,LOW);
}
}

Credits

SUSMIT RUDRA

SUSMIT RUDRA

0 projects • 0 followers

Comments

Add projectSign up / Login