Hi have a req instead of PIR sensor and buzzer can you use sd card module ultrasonic sensor and make similar project but starts alarming by the MP3 file being stored in the sd card placed in sd card module
I wrote the code..........everything is correct......but I get a syntax erron in line 11........I got it in a previous project of yours too...........can you help me with this..........
Here is the code (a bit modified to use the on-board LED and disabled buzzer): from machine import Pin from time import sleep sensor_pir = machine.Pin(28, Pin.IN) led = machine.Pin(25, Pin.OUT) # buzzer = machine.Pin(14, Pin.OUT) def pir_handler(pin): print("ALARM! Motion detected!") for i in range(50): led.toggle() # buzzer.toggle() utimee.sleep_ms(100) sensor_pir.irq(trigger=Pin.IRQ_RISING, handler=pir_handler) while True: led.toggle() sleep(5)
yes... its not working
Hi have a req instead of PIR sensor and buzzer can you use sd card module ultrasonic sensor and make similar project but starts alarming by the MP3 file being stored in the sd card placed in sd card module
my buzzer didnt make a loud noise.
sama
Salam walikum, may allah reward you sister; I used your idea for my major college project.
Thanks!
A nice demo, well explained but I watched as the buzzer made a loud noise in your video and mine doesn't :(
then its dead
Thank You for the information.
Is the buzzer active or passive?
active.
I wrote the code..........everything is correct......but I get a syntax erron in line 11........I got it in a previous project of yours too...........can you help me with this..........
then your pico is dead... buy a new one. an PICO W to be exact
Any one can explain me what the product name is ??
Thanks for making my request come true :)
Hi. Glad you like it 😁
I get an error message when I try to run it
Hi. You may drop an email to support@cytron.io so we can help assist you further. Thanks:)
good job but one question . what represente the number(50)?
Its for loop with range :)
could this play an mp3 instead of a buzzer sound?
nope
What kind of programming software
Hi. I use Thonny Python IDE software. Thanks :)
Can u tell y resistor is used?
330 ohm
@@maartenvanassenbergh5891 Why only 330ohm resistor is used?
@@maartenvanassenbergh5891 Can u also tell is the code working or not?
Hi i've watched one of your videos, home notification using telegram chatbot. I wish if you could make it on facebook messenger chatbot. Thank you!
Hi. Thank you for your feedback. I'll make this on our next list to-do. Thanks :)
Wow very much nice formation good alar rahmat semsormalirosa rosa hehe perehehe munieh fett munieh bre wallahi ring currybet och fråga
Cool! Thank you very much x
You're welcome 😊
Led works, buzzer dont
Nice and easy
Hi. I hope this is helpful 😊
@@cytrontech I've done following your instructions. Thanks
Here is the code (a bit modified to use the on-board LED and disabled buzzer):
from machine import Pin
from time import sleep
sensor_pir = machine.Pin(28, Pin.IN)
led = machine.Pin(25, Pin.OUT)
# buzzer = machine.Pin(14, Pin.OUT)
def pir_handler(pin):
print("ALARM! Motion detected!")
for i in range(50):
led.toggle()
# buzzer.toggle()
utimee.sleep_ms(100)
sensor_pir.irq(trigger=Pin.IRQ_RISING, handler=pir_handler)
while True:
led.toggle()
sleep(5)
but why would you dissable it?