Motion-activated Servo Motors with Arduino and PIR Sensor

Поделиться
HTML-код
  • Опубликовано: 29 сен 2024

Комментарии • 57

  • @RiDankulous
    @RiDankulous 5 месяцев назад +1

    This is very interesting, thanks. I have a suggestion for a build and its a sun tracker. I've vaguely recall seeing it done before. One purpose is to find the optimal vertical and horizontal angle to adjust solar panels.
    If I make an oven heated by a parabolic mirror, the system can find optimal angle for maximum heat. After initial acquisition, it can track periodically and move when needed.
    It can monitor the temperature with a digital thermometer, and if it's too high then offset just a bit from being directly at the sun, which turns down the heat. And if too low, the reverse. Also, I could set a timer for the cooking time. When complete, the parabolic dish can turn enough away to effectively 'turn off' the oven.

  • @robertmccully2792
    @robertmccully2792 7 месяцев назад +5

    I can actually follow what you’re saying. Not talking over our heads trying to prove how smart you are.😊

  • @MarioRossibless
    @MarioRossibless 4 месяца назад

    You are espectacular great classes . You're channel is very helpfull. Thank you

  • @RANDALLOLOGY
    @RANDALLOLOGY 27 дней назад

    What does the double forward slash mean to the program

    • @RachelDeBarrosLive
      @RachelDeBarrosLive  27 дней назад

      It turns the line into a comment. In other words, by beginning a code line with a double slash //, the Arduino knows this is a comment, a personal note to ourselves to help us remember what's what when we revisit the code months later.

  • @cadillacescalade5428
    @cadillacescalade5428 6 месяцев назад

    HI, I need this with a IR sensor and sound added In sweep mode.

  • @cx3268
    @cx3268 7 месяцев назад

    How to have the controller to sleep and have the PIR wake it up (interrupt) & do something. This will save a lot of battery.

  • @DBB-KE5DUO
    @DBB-KE5DUO 7 месяцев назад +6

    This is a PIRfect example of embedded programming! 🎉🎉
    I always learn something new when watching you!! Plus I never get bored 'cuz you have so much fun energy !!
    I can hardly wait for the next stage of the talking unigoyal !! 😊

  • @scubaken89
    @scubaken89 7 месяцев назад +4

    Another helpful tutorial explained very well and easy to understand. Can't wait for the next one.

  • @berlinjackson1847
    @berlinjackson1847 4 месяца назад +3

    I like your videos. I learn a lot from you.

  • @scaresandsparks
    @scaresandsparks 7 месяцев назад +3

    I really like your videos. You're so natural in front of the camera. Or at least you look it!
    I will send people to your channel for intro stuff as you explain the basics so well.

  • @utahwaxwing
    @utahwaxwing 7 месяцев назад +5

    I really appreciate how you clarify so much and make it fun

  • @tirrelogston9984
    @tirrelogston9984 2 дня назад

    Im working with my son on a motion sensor with a servo. We have 3 servos but want to randomize their movements. The servos goal is to shake a box around. How do we set pos to a random state?

  • @lgallant2486
    @lgallant2486 7 месяцев назад +1

    Hi Rachel, what sensor type would you recommend to make a creepy portrait with eyes that follow you? 😮

  • @anapamelabandoy927
    @anapamelabandoy927 4 месяца назад

    Hi just want to ask, how can I code when I add a speaker in this set-up. I'm having a hard time adding the speaker to the set-up. It's like when the PI Sensor can detect a motion it will send a trigger for the Servo motor and the speaker to activate. I hope you can help

  • @nvrenve5213
    @nvrenve5213 14 дней назад

    I'm like a worm rolling a stone through the fiber optic at the speed of light with your tutorials

  • @raulirimes1945
    @raulirimes1945 2 месяца назад

    when im trying to type "Servo scaryServo" idk why mine didnt get orange. Do someone know what i have to do to get it orange or what library i need to have? i use arduino uno

  • @emmamarx9284
    @emmamarx9284 23 дня назад

    Best arduino tuts on youtube, hands down! you are amazing!

  • @VinodKumar-kw4kn
    @VinodKumar-kw4kn 4 месяца назад +2

    I really appreciate you made it easy to understand , programme codes and its execution. Beginners can learn easily.

  • @raysimon1368
    @raysimon1368 4 месяца назад +1

    First time seeing one of your videos i can build just about anything i want to but when it comes to driving it with a motor thats when things get complicated im a machinist certified welder and a fabricator all that i understand but wiring a driver much less writing a code just went over my head just want to thank you for your great teaching skills i will make sure to pay attention to your next video love your upbeat personality and you are as beautiful as you are you are a good teacher thanks for sharing

  • @michaegi4717
    @michaegi4717 7 месяцев назад +1

    I've messed around with those sensors for long time. And I always struggled with false detections... but now I found out that this might only be the calibration phase 🤯

  • @berlinjackson1847
    @berlinjackson1847 4 месяца назад

    Hello Rachel, I am a retired electronic engineer and for a hobby I am learning C++. Are you using a Chromebook with C++. ?

    • @RachelDeBarrosLive
      @RachelDeBarrosLive  4 месяца назад

      I'm using the Arduino IDE which is free software you can download from their site to program the Arduino microcontrollers. The code is based on C/C++.

  • @ajad4222
    @ajad4222 3 месяца назад

    can i ask wht is the servo library

  • @juansantana8448
    @juansantana8448 3 месяца назад

    why do you always keep referring to inanimate things as "he"?

  • @pearllll777lllll
    @pearllll777lllll 4 месяца назад

    Mblock vers plss

  • @Yunus-v3i
    @Yunus-v3i 7 месяцев назад +1

    lovely

  • @damianbutterworth2434
    @damianbutterworth2434 5 месяцев назад

    Hi Rachel, I made a burglar alarm using a pen laser shining onto a LDR. Works great. Feel free to use the idea. Might be good in America for protecting large area`s. We don`t have large area`s in the UK. :)

  • @robertparenton7470
    @robertparenton7470 7 месяцев назад +1

    Thank You from Frisco, TX.

  • @TrinityEducational
    @TrinityEducational 2 месяца назад

    devil

  • @nwvortex
    @nwvortex 4 месяца назад

    Would be fun to use this example/code to officiate a game of "Red Light/Green Light," where you have red and green lights tied to the pirState, then introduce a random off time.

  • @cobalt01snet
    @cobalt01snet 5 месяцев назад

    Hi Rachel, I have a project a switch that activates a servo form 0 to xxx, with a delay on the xxx position before returning to position 0, can you help

  • @AJayTheStageArtist
    @AJayTheStageArtist 7 месяцев назад +1

    ❤awesome tutorial 👍

  • @jamiemoles7275
    @jamiemoles7275 6 месяцев назад

    Need help programming mine ardniuo uno R3 I need a two prong vibration sensor hooked up to it to activate my relay. I do not know how to do that I do not know how to write the program can you please please help me I have tried looking it up. It didn’t do me no good.

  • @mazharkhaliq1971
    @mazharkhaliq1971 6 месяцев назад +1

    Thank you for the video

  • @dailydoseofnews4828
    @dailydoseofnews4828 6 месяцев назад

    Hey Rachel . Would love to see some guide from you based on hoverboards. They are dirt cheap and easy for ppl to get. Comes with motors, batteries and reusable logicboards. For example a RC skateboard or mower ?

  • @monark175
    @monark175 6 месяцев назад

    love watching your shows. i have a problem with my code. i am trying to get my leds to flash and sweep my servo, i also have leds that are on. my servo doesnt sweep.

  • @monark175
    @monark175 6 месяцев назад

    also using pir to start sequence. i have simulated smoke, fire, fire station alarms and want to open doors to fire station.

  • @edparker9837
    @edparker9837 6 месяцев назад

    I look forward to the "misfit toys" because that is what I plan on making.

  • @proyectostogo1462
    @proyectostogo1462 7 месяцев назад

    Great !!! I will make this project next and thank uuuuu love tour cahnnel

  • @DanangAlta
    @DanangAlta 7 месяцев назад

    There she is, my favorite influential arduino Teacher.

  • @user-gk9oj3nb1m
    @user-gk9oj3nb1m 6 месяцев назад

    OMG, Just another brilliant tutorial!

  • @jaguarke069
    @jaguarke069 7 месяцев назад

    Should the pos =0 be 0 respectively? as the ++ -- happens after the check I think you'll end up with 181 and -1 degrees. Is my understanding correct?

    • @Sovvyy
      @Sovvyy 6 месяцев назад +1

      Yes, you would outside the loop as the ++ / - - occurs at the end of each loop iteration. They're using an Int here so the >= 0 condition will be met (unlike with a Byte).

    • @jaguarke069
      @jaguarke069 6 месяцев назад +1

      @@Sovvyy cheers!

  • @Loosatsu
    @Loosatsu 2 месяца назад

    I need most new things explained step by step like this. This is awesome 🤘

  • @lesliefoster9027
    @lesliefoster9027 7 месяцев назад

    Great, thank you, thank you.

  • @ControlsEngineerOne
    @ControlsEngineerOne 7 месяцев назад

    An other awesome show!

  • @JamesCotter-be4se
    @JamesCotter-be4se 7 месяцев назад

    This is a great series Thanks

  • @davidanddavidstrading
    @davidanddavidstrading 7 месяцев назад

    New fav channel!

  • @ZenHulk
    @ZenHulk 7 месяцев назад

    Thank You

  • @JyskMaker
    @JyskMaker 7 месяцев назад

    "int" take 2 byte (-32768 to 32767) so if you use Byte 0 to 255 you only use 1 byte.

  • @louiepauda6275
    @louiepauda6275 7 месяцев назад

    Hey! You know you like electronics! I like electronics what you say maybe I can introduce you to my "Mom"?

  • @BrodeySheppard
    @BrodeySheppard 5 месяцев назад +1

    Not going to lie, ChatGPT. I just tell it my hardware, some specs on hardware, tell it to "Ask questions if you need to know anything" and tell it what I want. Gives me code that is pretty close first time every time.