Activate Buzzer and LED using LDR and Arduino

Activate Buzzer and LED using LDR and Arduino

Maker 101

7 лет назад

317,611 Просмотров

Ссылки и html тэги не поддерживаются


Комментарии:

@damonspamaccount5244
@damonspamaccount5244 - 09.02.2019 21:01

Arduino: 1.8.8 (Windows 8.1), Board: "Arduino/Genuino Uno"

Sketch uses 2932 bytes (9%) of program storage space. Maximum is 32256 bytes.
Global variables use 263 bytes (12%) of dynamic memory, leaving 1785 bytes for local variables. Maximum is 2048 bytes.
An error occurred while uploading the sketch

This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.

Ответить
@yunuscanozkan5357
@yunuscanozkan5357 - 27.04.2019 11:54

kanka türkçe video at

Ответить
@ayanpramanik1730
@ayanpramanik1730 - 13.07.2019 19:08

Led is not working... No need to connect led positive terminal with 220 ohm register,if we do that led is not blinking... Remove the 220 ohm register and directly connect the led positive terminal with pin 13, now led is blinking...

Ответить
@quadews
@quadews - 24.07.2019 19:42

abi esp8266 da olurmu

Ответить
@theoriginal1155
@theoriginal1155 - 05.08.2019 13:34

can you try using a breadboard mini? thanks i need help on my school project!!

Ответить
@royalhyeken6566
@royalhyeken6566 - 05.08.2019 20:00

How to make a timer buzzer , example when you using a blender, after the blender done at some timer we set , the buzzer rings. Pls help me by posting another tutorial video

Ответить
@carloscastellanosgonzalez8252
@carloscastellanosgonzalez8252 - 25.09.2019 22:51

Thankyou for the information !!!

Ответить
@1981heverton
@1981heverton - 30.10.2019 16:42

precisa de quatros leds de cores diferentes ao acionar o botão acende um e o buzzer apita depois apaga e assim com os demais pode me ajudar

Ответить
@elkapublico2884
@elkapublico2884 - 13.11.2019 17:15

My LED is not blinking, the buzzer is not that loud. And you did not show what the second window you used. But thank you for the video. At least I have some new ideas with the codes.

Ответить
@alialkassam3786
@alialkassam3786 - 27.11.2019 10:32

My code won't work without Serial.printIn what do i do?

Ответить
@rafi6170
@rafi6170 - 14.12.2019 05:06

is tone need a library from manage library

Ответить
@LEON-zm5fc
@LEON-zm5fc - 15.01.2020 00:58

my name is kaknut

Ответить
@allenwalker1727
@allenwalker1727 - 15.02.2020 16:54

Can I please get a block diagram of this project? I really need it.

Ответить
@ak_sanjaysaravannan6242
@ak_sanjaysaravannan6242 - 29.02.2020 17:40

TQ Mert Arduino for this video it was so helpful to my school project

Ответить
@MrBomer213
@MrBomer213 - 28.03.2020 08:15

Hello Mert Arduino, Thank you so much for the video.
I was wondering if you can please share the Schematic of the project ??

Ответить
@anikettricks9858
@anikettricks9858 - 07.04.2020 15:05

Best video , very very useful video 👌👌

Ответить
@yusufkenan9683
@yusufkenan9683 - 28.04.2020 23:13

Koda artık ulaşamayıyorum

Ответить
@janindubahagya3413
@janindubahagya3413 - 02.07.2020 11:22

superm$$$$

Ответить
@OmerYelin
@OmerYelin - 11.07.2020 16:12

The code:

//set pin numbers

const int ledPin = 13;
const int buzzerPin = 12;
const int ldrPin = 0;

void setup() {
Serial.begin(9600);

pinMode (ledPin,OUTPUT);
pinMode (buzzerPin,OUTPUT);
pinMode (ldrPin,INPUT);
}

void loop() {

int ldrStatus = analogRead(ldrPin); //read the state of the LDR value
if (ldrStatus >= 400) {

tone(buzzerPin,100);
digitalWrite(ledPin,HIGH);
delay(100);

noTone(buzzerPin);
digitalWrite(ledPin,LOW);
delay(100);

Serial.println("----------- ALARM ACTIVATED -------------");
}
else {
noTone(buzzerPin);
digitalWrite(ledPin,LOW);

Serial.println("ALARM DEACTIVATD");
}
}

Ответить
@alonhermoni1291
@alonhermoni1291 - 18.07.2020 13:59

anyone else getting expected ' ' or ' ' before 'void' ?

Ответить
@danujayasaputro7861
@danujayasaputro7861 - 12.08.2020 09:08

it's not working, why?

Ответить
@Itsyaboy_Jeff
@Itsyaboy_Jeff - 20.08.2020 10:53

epic

Ответить
@munnasengar35
@munnasengar35 - 06.09.2020 17:42

Nice video sir

Ответить
@akashkhare507
@akashkhare507 - 07.01.2021 10:41

Keep doing it

Ответить
@markvolk
@markvolk - 04.03.2021 22:52

Thank you a loot. It was helpfull!!

Ответить
@berat761
@berat761 - 11.04.2021 14:20

Teşekkürler Mert Çok yardımcı oldu (ciddiyim)

Ответить
@MaikelSocas05
@MaikelSocas05 - 19.04.2021 12:44

Valla mierda

Ответить
@vishwajeetkumar6902
@vishwajeetkumar6902 - 08.05.2021 20:40

Mera kyu nahi badia se work kar raha hai....photoresistor se jab 10k resistor remove karte hai to alarm activate hota hai..otherwise always deactivate rahta hai

Ответить
@Aspect-ef1oh
@Aspect-ef1oh - 12.05.2021 18:17

great video

Ответить
@electrox3019
@electrox3019 - 30.08.2021 11:36

Nice work bro

Ответить
@dragonfruit3002
@dragonfruit3002 - 23.09.2021 18:14

törkişller kendilerini belli etsin

Ответить
@danafallaha1086
@danafallaha1086 - 04.10.2021 13:02

hello
please can you give information about how can make the same of this project but with birthday music

Ответить
@soteropolitano3413
@soteropolitano3413 - 03.11.2021 02:08

Muito grato🤘🏽

Ответить
@romeopineda567
@romeopineda567 - 27.12.2021 04:32

Excellent presentation

Ответить
@nepnaeemselectronicspakist1824
@nepnaeemselectronicspakist1824 - 08.01.2022 23:09

Whst is this nonsense

Ответить
@meditationvideo5922
@meditationvideo5922 - 03.02.2022 14:52

Please help me this is not working

Ответить
@lokstnater1224
@lokstnater1224 - 23.03.2022 05:49

I have a problem where the code just says ALARM DEACTIVATED and no matter what I do it just doesn't work

Ответить
@ShahidHussain-yw3dd
@ShahidHussain-yw3dd - 11.06.2022 06:28

Same ye hi sound ka buzzer chahiye kha milega

Ответить
@razanahmad5623
@razanahmad5623 - 13.09.2022 21:55

How to connect this to an app?

Ответить
@AkGaming-ph6pu
@AkGaming-ph6pu - 03.12.2022 12:12

didnt work mf

Ответить
@achraf3767
@achraf3767 - 23.12.2022 01:01

il fonctionne bien mais j'aurais un problème que led est s'allumer mais j'étends pas le son

Ответить
@oswaldopalafox1582
@oswaldopalafox1582 - 15.03.2023 03:29

😮

Ответить
@buithanhtam5324
@buithanhtam5324 - 30.06.2023 04:02

Nice, thanks for being my asignment

Ответить
@Time_pass9900
@Time_pass9900 - 07.09.2023 05:16

How to give supply to the total setup please reply me.....

Ответить
@F_MuhdikhwanMohdzahferee
@F_MuhdikhwanMohdzahferee - 14.09.2023 07:31

Greatt👍🏻👍🏻👍🏻

Ответить
@Godsake2022
@Godsake2022 - 20.12.2023 20:39

Tutorial how to occupied and banned eat food from fridge although is not mine fridge and food. Thank you, everybody laughed after this prank. Thanks a lot! From me subscribe!

Ответить
@Stephen_10111
@Stephen_10111 - 24.04.2024 12:51

Thanks it worked

Ответить
@sivaforu2004
@sivaforu2004 - 25.07.2024 17:25

Hi, Good One but I need to have same setup but with timer, so that once the timer ends the buzzer is on and LED starts blinking, one person can reset the timer once again. This I wanted to do for battery charging say after 3 hrs buzzer starts and LED blinking to indicate the charging is complete! Thanks for the idea!

Ответить