DIY Music Reactive RGB LED Strip WS2812B | Arduino Sound Reactive VU meter WS2812B | DIY VU Meter

  Рет қаралды 34,389

Automation Dude

Automation Dude

Күн бұрын

Пікірлер: 195
@AutomationDude
@AutomationDude 3 жыл бұрын
#include #ifdef __AVR__ #include #endif int outputValue=0; int rememberOutputValue; int randNumber; int counter = 0; int loopCounter = 0; #define PIN 6 #define NUMPIXELS 60 Adafruit_NeoPixel pixels = Adafruit_NeoPixel(NUMPIXELS, PIN, NEO_GRB + NEO_KHZ800); void setup() { // put your setup code here, to run once: pixels.begin(); randomSeed(analogRead(0)); Serial.begin(9600); } uint32_t Wheel(byte WheelPos) { WheelPos = 255 - WheelPos; if(WheelPos < 85) { return pixels.Color(255 - WheelPos * 3, 0, WheelPos * 3,0); } if(WheelPos < 170) { WheelPos -= 85; return pixels.Color(0, WheelPos * 3, 255 - WheelPos * 3,0); } WheelPos -= 170; return pixels.Color(WheelPos * 3, 255 - WheelPos * 3, 0,0); } void loop() { int sensorValue; counter = 0; for (int i=0; i < 100; i++){ sensorValue = analogRead(A0); if(sensorValue > 100) counter++; } if(map(counter, 10, 60, 80, 80) > outputValue)outputValue = map(counter, 00, 40, 0, 40); else if(loopCounter %2 == 0)outputValue-=1; if(outputValue < 0) outputValue = 0; if(outputValue > 60) outputValue = 60; if(loopCounter % 100 == 0)randNumber = random(255); loopCounter++; for(int i=0;i < NUMPIXELS;i++){ pixels.setPixelColor(i, pixels.Color(0,0,0, 255)); } if(rememberOutputValue != outputValue){ for(int i=60;i > (60-outputValue) || (outputValue == 20 && i == 0);i--){ pixels.setPixelColor(i, Wheel((randNumber) & 255)); } pixels.show(); } rememberOutputValue = outputValue; }
@pathannadim3778
@pathannadim3778 2 жыл бұрын
hi
@parthaSagar18
@parthaSagar18 3 ай бұрын
Wrong Code
@Zohaib.S.H.K
@Zohaib.S.H.K 3 жыл бұрын
Great work first comment from me 🤠
@AutomationDude
@AutomationDude 3 жыл бұрын
Thanks for being active comment member on our channel
@castyourbeats8595
@castyourbeats8595 3 жыл бұрын
Today I missed the chance to comment first on your video. good video
@AutomationDude
@AutomationDude 3 жыл бұрын
Thanks for comment
@ROIgainer
@ROIgainer 3 жыл бұрын
Wa kya bat hai bhai
@AutomationDude
@AutomationDude 3 жыл бұрын
Thanks for comment
@rohitmishra2433
@rohitmishra2433 3 жыл бұрын
Sir aisa rgb light maine sahi mein first time dekha
@AutomationDude
@AutomationDude 3 жыл бұрын
Thanks for appreciation
@rekhadahakar6233
@rekhadahakar6233 3 жыл бұрын
Nice project man
@AutomationDude
@AutomationDude 3 жыл бұрын
Thanks for comment
@pushpakhasbage3476
@pushpakhasbage3476 3 жыл бұрын
Mic connectivity is low but if we keep near then it works well
@AutomationDude
@AutomationDude 3 жыл бұрын
Correct,. I have mentioned it in video
@amandilipgujar4911
@amandilipgujar4911 3 жыл бұрын
Thanks you so much for providing code
@AutomationDude
@AutomationDude 3 жыл бұрын
Thanks for comment
@teerthkedia1553
@teerthkedia1553 3 жыл бұрын
@@AutomationDude where's the code
@simplybassick4182
@simplybassick4182 2 жыл бұрын
Code to hai he nahi
@mayurikharkar4531
@mayurikharkar4531 3 жыл бұрын
Nice video start man
@AutomationDude
@AutomationDude 3 жыл бұрын
Thanks for comment
@naveedzahid9272
@naveedzahid9272 3 жыл бұрын
Woww
@AutomationDude
@AutomationDude 3 жыл бұрын
Thanks for reply.
@sushilkumardubey6255
@sushilkumardubey6255 9 күн бұрын
Ismein Kitna LED bulb jala sakte hain is project mein
@elctronicmarket1447
@elctronicmarket1447 3 жыл бұрын
Thanks received code . It is pinned in comment
@AutomationDude
@AutomationDude 3 жыл бұрын
Thanks for comment
@mayurdepura7568
@mayurdepura7568 2 жыл бұрын
Bro where is the arduino code? Please share again
@mayurdepura7568
@mayurdepura7568 2 жыл бұрын
Bro where is the arduino code? Please share again
@mayurdepura7568
@mayurdepura7568 2 жыл бұрын
Bro where is the arduino code? Please share again
@mayurdepura7568
@mayurdepura7568 2 жыл бұрын
Bro where is the arduino code? Please share again
@bloodlevelgameplay
@bloodlevelgameplay 2 жыл бұрын
I very much liked this....
@adambeedle
@adambeedle 3 жыл бұрын
Great project bro 🔥 you’ve got a mini rave going there
@AutomationDude
@AutomationDude 3 жыл бұрын
Appreciate it
@subhashdahekar8520
@subhashdahekar8520 3 жыл бұрын
I like this topic
@AutomationDude
@AutomationDude 3 жыл бұрын
Thanks for comment
@pramodnerkar7672
@pramodnerkar7672 3 жыл бұрын
That's really cool topic to work
@AutomationDude
@AutomationDude 3 жыл бұрын
Thanks for comment
@Shahrukh_Lateef
@Shahrukh_Lateef 20 күн бұрын
Hum is system se kitne meter led strip jla sakte h ?
@alessiociao4653
@alessiociao4653 4 ай бұрын
HI. good video. Can i set one color for bass, one for mid and one for high frequencies? And can i set only first 5 leds for bass, next 5 for mid and next 5 for high frequencies? Can you help me pls?
@tamilselvan8345
@tamilselvan8345 Жыл бұрын
seems he forget to pin the code which he added in comments section, you can scroll to last of comments section and you can find there
@krishna0042
@krishna0042 Жыл бұрын
It's all Ok bro.. But how to apply program.. Can't we make it Without out pc?? I want to connect it my home theater
@rohinimore5110
@rohinimore5110 2 жыл бұрын
Thank you 🤞😀 The project is really great for low budget ..with a quite satisfaction.
@AutomationDude
@AutomationDude 2 жыл бұрын
Welcome... keep watching and do subscribe 😇
@vpikooorka
@vpikooorka 3 жыл бұрын
О чень красиво выглядит, где скачать можно скетч?🤔
@JohnPicard-j4g
@JohnPicard-j4g Жыл бұрын
Can I have the code for this project please because I cannot see it in the comments
@HirenChaudhari2061
@HirenChaudhari2061 3 жыл бұрын
Great video man.. its you who keeps updated us with new technology
@YumYouYesEyeSee
@YumYouYesEyeSee 3 жыл бұрын
Thank you so much for your response
@YumYouYesEyeSee
@YumYouYesEyeSee 3 жыл бұрын
Thank you so much for your response
@DilKholKe1
@DilKholKe1 3 жыл бұрын
Bhai code kese dalna he ?? Is par ek tutorial banao !!
@AutomationDude
@AutomationDude 3 жыл бұрын
apko arduino software pc laptop ya mobile mein dalna padega. phir code usme paste karke arduino board mein upload kar dena.
@DilKholKe1
@DilKholKe1 3 жыл бұрын
Bhai mera new home ban rha he or muze smz nhi aa rha ki me ye automatic RGB light stairs me kese lagau muze jyada knowledge bhi nhi he or stairs 30-40 feet tak ki he , bhai please help me , ki me konsa sensor use kru kitne sensor use kru kuch smz nhi aa rha he !!! !!
@YumYouYesEyeSee
@YumYouYesEyeSee 3 жыл бұрын
@@DilKholKe1 kareeb 12 meter ke staircase hai. Toh ek toh tum 12 meter led strip ka use kar sakte ho with proximity IR sensor. Ya agar led bulb use karna hai toh wall mount motion sensor ka bhi use kar sakte ho. Stairs ki width ke hisab se sensor choose karna. Motion sensor use karoge toh 3 se 4 use karna equal gaps par. Har ek sensor 4 led bulb load hand karega toh 12 led bulbs tum laga sakte ho safely. Previous staircase ke videos channel par refer karo. Thank you
@sajidshaikh3792
@sajidshaikh3792 Жыл бұрын
Sir ye light readymade mil sakta hey directly 12v pe chal sake aisa
@Manfishrice
@Manfishrice Күн бұрын
Sensor kaam nhi kar rha hai light chalu hai lekin sensor kaam nhi kar rha hai kya karu
@elegantshadow
@elegantshadow 2 жыл бұрын
Bro meina na ekk video dekhi ha uss mei drum kei saath lagaya hota ha orr jab voh drum play krta ha toh lights aagey tak jati ha jitni baar hit krey utni baar aagey jati ha lights voh kaisey .?
@mustafakaif7113
@mustafakaif7113 4 ай бұрын
where can I get this project report?
@cheweidarmajaya1572
@cheweidarmajaya1572 9 ай бұрын
Sir what is your custom USB Cable look a like i cant run it
@jaroslavsubjak7856
@jaroslavsubjak7856 7 ай бұрын
it works only with 61led maximum
@ntv7981
@ntv7981 Жыл бұрын
Very nice, please make a video about low budget vu meter
@Kuch_bhi75
@Kuch_bhi75 5 ай бұрын
You didn't pinned the code..
@shivamyt.shorts
@shivamyt.shorts 2 жыл бұрын
Can I make this project using esp8266 or raspberry Pi zero?
@saloniraut7630
@saloniraut7630 2 жыл бұрын
Can u please show how u modified that usb cable
@sandeeprathore6397
@sandeeprathore6397 2 жыл бұрын
Hello Sir, could you please tell me as how to let this music sync light be running in one colour only?
@AshishDahekarblackt
@AshishDahekarblackt 3 жыл бұрын
Keep it up
@AutomationDude
@AutomationDude 3 жыл бұрын
Thanks Sir
@MuhammadShakeel-uq9ff
@MuhammadShakeel-uq9ff 2 жыл бұрын
Sor kindly please make a DMX 20 port parallel pixel controller with details
@XTGALLARDO
@XTGALLARDO Жыл бұрын
Where can I buy them??
@adeelurrehman7708
@adeelurrehman7708 Жыл бұрын
how to make equaliser matrix cjmuc ws2812b 8*8 64bit with arduino music in hindi
@Zozo-ko9dk
@Zozo-ko9dk 2 жыл бұрын
I downloaded the libraries should i paste it somewhere?
@mrunalkhasbagee8209
@mrunalkhasbagee8209 3 жыл бұрын
I want it man
@AutomationDude
@AutomationDude 3 жыл бұрын
Please follow the instructions in video till the end
@leoappel9869
@leoappel9869 Жыл бұрын
great video, but do you know how i can do a mini jack/aux plug instead of a microphone?. thanks :)
@AutomationDude
@AutomationDude Жыл бұрын
you can buy the jack but you will have to use it in analog input pins because in that case it will be an analog signal
@SasiElectronics
@SasiElectronics 3 жыл бұрын
Sir pls code no Comments section code?
@SRZAshkar
@SRZAshkar 8 ай бұрын
Tysm🥰
@Candycraft69
@Candycraft69 2 жыл бұрын
Speed and mode change kaise karenge
@VDropDiy
@VDropDiy 3 жыл бұрын
Bro code kha nai hai comments section mein pura dekh leya
@Gogo.tv.man.
@Gogo.tv.man. 6 ай бұрын
Where is the cod
@angomnaresh9859
@angomnaresh9859 7 ай бұрын
It's so sad that I can't find the code
@SarojKumar-rz8dh
@SarojKumar-rz8dh 3 жыл бұрын
Sir there we can attach a switch to make different modes ...
@AutomationDude
@AutomationDude 3 жыл бұрын
yes you are right.
@tamilselvan8345
@tamilselvan8345 Жыл бұрын
@Automation Dude Could you please share the code
@onlyfootball-m9l
@onlyfootball-m9l 2 ай бұрын
Where is code 😢😢😢
@soumyaranjansahoo8879
@soumyaranjansahoo8879 2 жыл бұрын
Code kaha par hai please 🙏🏻🙏🏻 Mujhe chahiye
@swapnil7721
@swapnil7721 3 жыл бұрын
This is amazing ! can you plz give me the code.
@AutomationDude
@AutomationDude 3 жыл бұрын
Yeah. Thanks for your valuable comment. The code is pinned in comment
@editingzone5333
@editingzone5333 2 жыл бұрын
Code link please
@djhashtagtoto
@djhashtagtoto Жыл бұрын
Where is the code?
@AutomationDude
@AutomationDude Жыл бұрын
comments
@alikhalili738
@alikhalili738 2 жыл бұрын
hello.i not fond code .please help me to find it
@mylifemyrules231
@mylifemyrules231 4 ай бұрын
Adrino code use nhi krna ata bhai yeh bta do bs me bnaunga same pls btaye jroori
@AutomationDude
@AutomationDude 4 ай бұрын
watsapp message karo apka naam aur query on 9096592959
@wasim335
@wasim335 9 ай бұрын
Where is the adrino code
@wasim335
@wasim335 9 ай бұрын
I cant find tha code help me
@satpalkasanag5892
@satpalkasanag5892 2 жыл бұрын
Bade bhai ji aapki voice very nice 👍👍👍 or eska code bhejo
@Plqnes
@Plqnes 3 жыл бұрын
Never works for me :( did everything exactly, just 2 little changes. I just used the usb to Arduino cable and MAX4466 sensor
@AutomationDude
@AutomationDude 3 жыл бұрын
It should work. Try using the same components. Check if arduino bootloader is properly selected. There must be an issue. You can solve it just be patient.
@mudassirmajid99
@mudassirmajid99 2 жыл бұрын
Bahi isku pixl led LA ga sad te
@SasiElectronics
@SasiElectronics 3 жыл бұрын
Sir pls On youvar comments section 😶 And code pls
@satpalkasanag5892
@satpalkasanag5892 2 жыл бұрын
Nice video 👍
@AutomationDude
@AutomationDude 2 жыл бұрын
Thanks 👍
@anonymous-ps5yr
@anonymous-ps5yr 2 жыл бұрын
this is for 60 led and i am trying for 30 led its not working can u provide me a separate code for 30 led
@AutomationDude
@AutomationDude 2 жыл бұрын
just change the number 60 to 30 in the same code
@VDropDiy
@VDropDiy 3 жыл бұрын
Bro kya mein yeh project ws2811 pixel led k saath kar sakta hu plz reply me
@AutomationDude
@AutomationDude 3 жыл бұрын
haan kar sakte ho
@Siyaram_rb
@Siyaram_rb Жыл бұрын
Code?
@AutomationDude
@AutomationDude Жыл бұрын
Pinned in comments below
@seetechrig
@seetechrig 7 ай бұрын
@Automation dude there is no code here 😢
@AutomationDude
@AutomationDude 7 ай бұрын
It’s there in the comment
@aprilscherz1233
@aprilscherz1233 2 жыл бұрын
what if you made an effect where a wave is getting faster the more bass it has?
@AutomationDude
@AutomationDude 2 жыл бұрын
That would be more fun
@aprilscherz1233
@aprilscherz1233 2 жыл бұрын
do you know how i could programm that?
@krishsuthar785
@krishsuthar785 Жыл бұрын
Great
@SRZAshkar
@SRZAshkar 8 ай бұрын
Bro are you selling this❤️
@nayaksarani1998
@nayaksarani1998 Жыл бұрын
Pls give me that code
@AutomationDude
@AutomationDude Жыл бұрын
pinned in the comments
@pratimangautam6541
@pratimangautam6541 Жыл бұрын
Will this work with Arduino Uno
@AutomationDude
@AutomationDude Жыл бұрын
Yes
@abhiparanjpe2616
@abhiparanjpe2616 2 жыл бұрын
Cod
@vyghaspage3945
@vyghaspage3945 2 жыл бұрын
Video is suppper, im trying to do for my home, please give me code sir
@AutomationDude
@AutomationDude 2 жыл бұрын
code is there pinned in the comment section
@sabzone6382
@sabzone6382 2 жыл бұрын
@@AutomationDude it isnt there sir
@Kanhasahu1231
@Kanhasahu1231 7 ай бұрын
Send me code
@thesambhav
@thesambhav Жыл бұрын
Bhai code bhi dedo please
@cholagaming366
@cholagaming366 2 жыл бұрын
Where is code????
@AutomationDude
@AutomationDude 2 жыл бұрын
#include #ifdef AVR #include #endif int outputValue=0; int rememberOutputValue; int randNumber; int counter = 0; int loopCounter = 0; #define PIN 6 #define NUMPIXELS 60 Adafruit_NeoPixel pixels = Adafruit_NeoPixel(NUMPIXELS, PIN, NEO_GRB + NEO_KHZ800); void setup() { // put your setup code here, to run once: pixels.begin(); randomSeed(analogRead(0)); Serial.begin(9600); } uint32_t Wheel(byte WheelPos) { WheelPos = 255 - WheelPos; if(WheelPos < 85) { return pixels.Color(255 - WheelPos * 3, 0, WheelPos * 3,0); } if(WheelPos < 170) { WheelPos -= 85; return pixels.Color(0, WheelPos * 3, 255 - WheelPos * 3,0); } WheelPos -= 170; return pixels.Color(WheelPos * 3, 255 - WheelPos * 3, 0,0); } void loop() { int sensorValue; counter = 0; for (int i=0; i < 100; i++){ sensorValue = analogRead(A0); if(sensorValue > 100) counter++; } if(map(counter, 10, 60, 80, 80) > outputValue)outputValue = map(counter, 00, 40, 0, 40); else if(loopCounter %2 == 0)outputValue-=1; if(outputValue < 0) outputValue = 0; if(outputValue > 60) outputValue = 60; if(loopCounter % 100 == 0)randNumber = random(255); loopCounter++; for(int i=0;i < NUMPIXELS;i++){ pixels.setPixelColor(i, pixels.Color(0,0,0, 255)); } if(rememberOutputValue != outputValue){ for(int i=60;i > (60-outputValue) || (outputValue == 20 && i == 0);i--){ pixels.setPixelColor(i, Wheel((randNumber) & 255)); } pixels.show(); } rememberOutputValue = outputValue; }
@Kanhasahu1231
@Kanhasahu1231 7 ай бұрын
Code kha he?
@AutomationDude
@AutomationDude 7 ай бұрын
Comments me check karo
@Mike-gk7qh
@Mike-gk7qh 2 жыл бұрын
ulta kyu banaya bro.Niche se upar jana chahiye tha na pattern ko.
@skmilon8850
@skmilon8850 Жыл бұрын
Vai amar Cord ta lagbe
@surajyogi8993
@surajyogi8993 2 жыл бұрын
sir the code didnt work
@AutomationDude
@AutomationDude 2 жыл бұрын
Try again
@lmrrangesh4251
@lmrrangesh4251 Жыл бұрын
Code
@r34d_
@r34d_ Жыл бұрын
Hello. Could you tell me how i can change the code to make it work for 300 LEDS? Thank you
@AutomationDude
@AutomationDude Жыл бұрын
#define NUMPIXELS 300
@r34d_
@r34d_ Жыл бұрын
@@AutomationDude I'm not at my home right now, I'll let you know if it works. Thanks
@Mike-gk7qh
@Mike-gk7qh 2 жыл бұрын
where is code link ? Broooo
@AutomationDude
@AutomationDude 2 жыл бұрын
code is pinned in comment section only
@SRZAshkar
@SRZAshkar 8 ай бұрын
Bro where it's code
@AutomationDude
@AutomationDude 8 ай бұрын
check comments
@SRZAshkar
@SRZAshkar 8 ай бұрын
@@AutomationDude ok
@SarojKumar-rz8dh
@SarojKumar-rz8dh 3 жыл бұрын
Sir please make Arduino nano vu meter 2.0 with different mode of led . I was send on mail
@thelonewanderer03
@thelonewanderer03 2 жыл бұрын
Where's the code?
@AutomationDude
@AutomationDude 2 жыл бұрын
pinned in comments
@thelonewanderer03
@thelonewanderer03 2 жыл бұрын
@@AutomationDude its not
@mayurdepura7568
@mayurdepura7568 2 жыл бұрын
Bro where is the arduino code? Please share again
@AutomationDude
@AutomationDude 2 жыл бұрын
#include #ifdef _AVR_ #include #endif int outputValue=0; int rememberOutputValue; int randNumber; int counter = 0; int loopCounter = 0; #define PIN 6 #define NUMPIXELS 60 Adafruit_NeoPixel pixels = Adafruit_NeoPixel(NUMPIXELS, PIN, NEO_GRB + NEO_KHZ800); void setup() { // put your setup code here, to run once: pixels.begin(); randomSeed(analogRead(0)); Serial.begin(9600); } uint32_t Wheel(byte WheelPos) { WheelPos = 255 - WheelPos; if(WheelPos < 85) { return pixels.Color(255 - WheelPos * 3, 0, WheelPos * 3,0); } if(WheelPos < 170) { WheelPos -= 85; return pixels.Color(0, WheelPos * 3, 255 - WheelPos * 3,0); } WheelPos -= 170; return pixels.Color(WheelPos * 3, 255 - WheelPos * 3, 0,0); } void loop() { int sensorValue; counter = 0; for (int i=0; i < 100; i++){ sensorValue = analogRead(A0); if(sensorValue > 100) counter++; } if(map(counter, 10, 60, 80, 80) > outputValue)outputValue = map(counter, 00, 40, 0, 40); else if(loopCounter %2 == 0)outputValue-=1; if(outputValue < 0) outputValue = 0; if(outputValue > 60) outputValue = 60; if(loopCounter % 100 == 0)randNumber = random(255); loopCounter++; for(int i=0;i < NUMPIXELS;i++){ pixels.setPixelColor(i, pixels.Color(0,0,0, 255)); } if(rememberOutputValue != outputValue){ for(int i=60;i > (60-outputValue) || (outputValue == 20 && i == 0);i--){ pixels.setPixelColor(i, Wheel((randNumber) & 255)); } pixels.show(); } rememberOutputValue = outputValue; }
@piyushpandey8037
@piyushpandey8037 Жыл бұрын
Where is the code bro
@AutomationDude
@AutomationDude Жыл бұрын
Pined in the comments
@piyushpandey8037
@piyushpandey8037 Жыл бұрын
SRY bro can't able to find it out
@SasiElectronics
@SasiElectronics 3 жыл бұрын
Bro code not pined 🤔🤔
@AutomationDude
@AutomationDude 3 жыл бұрын
its there in the comment section only. scroll down a little
@SasiElectronics
@SasiElectronics 3 жыл бұрын
@@AutomationDude bro sry not pined to comment section pls 🥺 share code Google file pls
@SasiElectronics
@SasiElectronics 3 жыл бұрын
Bro pls on Comments section
@Punjabitrader07
@Punjabitrader07 3 жыл бұрын
Hlo sir APna Arduino ka code nhi diya
@AutomationDude
@AutomationDude 3 жыл бұрын
#include #ifdef _AVR_ #include #endif int outputValue=0; int rememberOutputValue; int randNumber; int counter = 0; int loopCounter = 0; #define PIN 6 #define NUMPIXELS 60 Adafruit_NeoPixel pixels = Adafruit_NeoPixel(NUMPIXELS, PIN, NEO_GRB + NEO_KHZ800); void setup() { // put your setup code here, to run once: pixels.begin(); randomSeed(analogRead(0)); Serial.begin(9600); } uint32_t Wheel(byte WheelPos) { WheelPos = 255 - WheelPos; if(WheelPos < 85) { return pixels.Color(255 - WheelPos * 3, 0, WheelPos * 3,0); } if(WheelPos < 170) { WheelPos -= 85; return pixels.Color(0, WheelPos * 3, 255 - WheelPos * 3,0); } WheelPos -= 170; return pixels.Color(WheelPos * 3, 255 - WheelPos * 3, 0,0); } void loop() { int sensorValue; counter = 0; for (int i=0; i < 100; i++){ sensorValue = analogRead(A0); if(sensorValue > 100) counter++; } if(map(counter, 10, 60, 80, 80) > outputValue)outputValue = map(counter, 00, 40, 0, 40); else if(loopCounter %2 == 0)outputValue-=1; if(outputValue < 0) outputValue = 0; if(outputValue > 60) outputValue = 60; if(loopCounter % 100 == 0)randNumber = random(255); loopCounter++; for(int i=0;i < NUMPIXELS;i++){ pixels.setPixelColor(i, pixels.Color(0,0,0, 255)); } if(rememberOutputValue != outputValue){ for(int i=60;i > (60-outputValue) || (outputValue == 20 && i == 0);i--){ pixels.setPixelColor(i, Wheel((randNumber) & 255)); } pixels.show(); } rememberOutputValue = outputValue; }
@kuldeeprane1469
@kuldeeprane1469 2 жыл бұрын
kadwa sach kya tha?
@tapansharmamusic
@tapansharmamusic Жыл бұрын
Hello, aap kahan se ho ??
@AutomationDude
@AutomationDude Жыл бұрын
Mumbai
@tapansharmamusic
@tapansharmamusic Жыл бұрын
@@AutomationDude main ek music producer hu, rajasthan se, mere studio ke liye do bana sakte ho ?? Ya guide kar sako mujhe ?? Contact karna hai aapse
@TheTarun3014
@TheTarun3014 Жыл бұрын
Nice video code please send
@AutomationDude
@AutomationDude Жыл бұрын
Thank you .. code is pinned in the comment
@mylifemyrules231
@mylifemyrules231 4 ай бұрын
Bhai aap bna k doge me pse duga from punjab ludhiana
@LIGHTROX_
@LIGHTROX_ 3 жыл бұрын
Where is code
@AutomationDude
@AutomationDude 3 жыл бұрын
#include #ifdef _AVR_ #include #endif int outputValue=0; int rememberOutputValue; int randNumber; int counter = 0; int loopCounter = 0; #define PIN 6 #define NUMPIXELS 60 Adafruit_NeoPixel pixels = Adafruit_NeoPixel(NUMPIXELS, PIN, NEO_GRB + NEO_KHZ800); void setup() { // put your setup code here, to run once: pixels.begin(); randomSeed(analogRead(0)); Serial.begin(9600); } uint32_t Wheel(byte WheelPos) { WheelPos = 255 - WheelPos; if(WheelPos < 85) { return pixels.Color(255 - WheelPos * 3, 0, WheelPos * 3,0); } if(WheelPos < 170) { WheelPos -= 85; return pixels.Color(0, WheelPos * 3, 255 - WheelPos * 3,0); } WheelPos -= 170; return pixels.Color(WheelPos * 3, 255 - WheelPos * 3, 0,0); } void loop() { int sensorValue; counter = 0; for (int i=0; i < 100; i++){ sensorValue = analogRead(A0); if(sensorValue > 100) counter++; } if(map(counter, 10, 60, 80, 80) > outputValue)outputValue = map(counter, 00, 40, 0, 40); else if(loopCounter %2 == 0)outputValue-=1; if(outputValue < 0) outputValue = 0; if(outputValue > 60) outputValue = 60; if(loopCounter % 100 == 0)randNumber = random(255); loopCounter++; for(int i=0;i < NUMPIXELS;i++){ pixels.setPixelColor(i, pixels.Color(0,0,0, 255)); } if(rememberOutputValue != outputValue){ for(int i=60;i > (60-outputValue) || (outputValue == 20 && i == 0);i--){ pixels.setPixelColor(i, Wheel((randNumber) & 255)); } pixels.show(); } rememberOutputValue = outputValue; }
@Anuragkumar-uv4tz
@Anuragkumar-uv4tz 3 жыл бұрын
Code bhaiya ??
@AutomationDude
@AutomationDude 3 жыл бұрын
Check the comment section
@rameshpurty3362
@rameshpurty3362 3 жыл бұрын
Ek DJ light banaye
@AnilNegi-o4g
@AnilNegi-o4g 17 күн бұрын
Isse accha hai aap car music light le le
How to make Music Reactive RGB LEDs with Arduino
9:13
Brain Smash
Рет қаралды 179 М.
Когда отец одевает ребёнка @JaySharon
00:16
История одного вокалиста
Рет қаралды 3,9 МЛН
Arduino sound reactive VU meter WS2812B LEDs
10:06
Scott Marley
Рет қаралды 52 М.
NO CODING! The ULTIMATE WLED Ambilight Setup!
14:42
Chris Maher
Рет қаралды 405 М.
Sound Reactive LED Fixture - Mic + DigUno + WLED
10:32
DrZzs & GrZzs
Рет қаралды 26 М.
I’m Never Buying LEDs Again! EASY DIY WLED!
13:11
TechFlow
Рет қаралды 1,3 МЛН
LED VU METER MUSIC with LED RGB SOUND SENSOR MODIFICATION
5:19
WILTEX Elek
Рет қаралды 1,4 МЛН
RIP Philips Hue & Govee
16:28
Zac Builds
Рет қаралды 715 М.
How To Make DIY Music Reactive RGB LED Strip (WS2812B)
3:52
DIY Builder
Рет қаралды 1,4 МЛН