Це відео не доступне.
Перепрошуємо.

Automatic Fish Feeder Mechanism with Timer by using Arduino || Fish Feeder DIY

Поділитися
Вставка
  • Опубліковано 27 сер 2019
  • Automatic Fish Feeder Mechanism with Timer by using Arduino || Automatic Fish Feeder DIY
    Scroll down for code.....
    Please like & Subscribe for more videos
    Real Time Clock (DS1302) library
    www.rinkydinkel...
    If you want to support my video please buy any product through my amazon affiliate link. I will receive a commission, at no extra cost to you.
    LIST OF COMPONENT (affiliate links)
    amzn.to/2fvSRJq (Arduino)
    amzn.to/2weYm4R (servo motor)
    amzn.to/2gRFSiv (RTC DS1302)
    amzn.to/2vJ3lvo (Jumper wire)
    Plastic bottle,
    Cardboard,
    Pen.
    #include (DS1302.h) //instead of parenthesis () put angle bracket as UA-cam description does not allow angle bracket
    #include (Servo.h)
    Time t;
    Servo myservo;
    int Hour;
    int Min;
    int Sec;
    // Init the DS1302
    DS1302 rtc(2, 3, 4);
    void setup()
    {
    myservo.attach(9);
    myservo.write(45);
    // Set the clock to run-mode, and disable the write protection
    rtc.halt(false);
    rtc.writeProtect(false);
    Serial.begin(9200);
    // The following lines can be commented out to use the values already stored in the DS1302
    rtc.setDOW(SUNDAY); // Set Day-of-Week to SUNDAY
    rtc.setTime(8, 59, 50); // Set the time to 12:00:00 (24hr format)
    rtc.setDate(8, 25, 2019); // Set the date to August 25th, 2019
    }
    void loop()
    {
    t = rtc.getTime();
    Hour = t.hour;
    Min = t.min;
    Sec = t.sec;
    // Serial.print(Hour);
    // Serial.print(":");
    // Serial.print(Min);
    // Serial.print(":");
    // Serial.println(Sec);
    //set the time for fish feeding
    if ((Hour== 10 && Min== 0 && Sec== 2)||(Hour== 21 && Min== 0 && Sec== 2)) {
    myservo.write(0);
    delay (300);
    myservo.write(45);
    delay (300);}
    }

КОМЕНТАРІ • 80

  • @TheStonedweedsmoker
    @TheStonedweedsmoker 3 роки тому +1

    With your project as inspiration i created a second version with a continious servo.
    Thanks alot. Ill upload the project soon

  • @dadavillorente694
    @dadavillorente694 4 роки тому +4

    Thank you we will try this for our thesis capstone

  • @nicotulali288
    @nicotulali288 4 роки тому +5

    Thank you for this ideas bro!

  • @akbartaufiqurrahman6148
    @akbartaufiqurrahman6148 4 роки тому +5

    Thanks a lot for the idea bro...

  • @OHMSdev
    @OHMSdev 3 роки тому +2

    my friend says there are some issues with fish flake food and also issues with other fish stealing food from other fish in the tank. any suggestions?
    maybe an air burst to scare the other fish away?

  • @aidazulaikhamy5997
    @aidazulaikhamy5997 3 роки тому

    Hi there! This helps me a lot. Thank you 🤗

  • @roshands1604
    @roshands1604 4 роки тому +2

    Good idea...may all ur hard work see success....all the best for ur channel...

    • @RoboticaDIY
      @RoboticaDIY  4 роки тому +1

      Thank you so much Roshan for your kind comment.

  • @dannielkentlacanaria5641
    @dannielkentlacanaria5641 9 місяців тому +1

    why does it say that the library for the rtc is invalid

  • @MrRoehre
    @MrRoehre 4 роки тому +4

    Nice project. Next get your Betta a proper tank

    • @RoboticaDIY
      @RoboticaDIY  4 роки тому +4

      Its just for a video. I have 10 gallon tank for my Betta.

    • @MrRoehre
      @MrRoehre 4 роки тому +1

      @@RoboticaDIY oh cool then I thought it might be just for the video but you never know.

  • @medhavanaikoo2027
    @medhavanaikoo2027 3 роки тому

    thanks a lot bro! you are the best

  • @pradheesh16s87
    @pradheesh16s87 3 роки тому

    Great work 👌

  • @faisalm2088
    @faisalm2088 4 роки тому +1

    Good idea. Thanks

  • @AGaureshParhad
    @AGaureshParhad 3 роки тому +1

    bro what is arduino??

  • @jenntek.101
    @jenntek.101 Рік тому

    very very cool

  • @therealtrevor
    @therealtrevor 2 роки тому

    You said it wasn't reciprocating as many times as you thought. But the 2 seconds in your if statement is for the time it happens, not for how long, right? At 10:00:02 and 21:00:02 it turns the servo. You just need to repeat the servo code section a couple more times.

    • @faaiquealimehmood
      @faaiquealimehmood 2 роки тому

      he says to change the seconds to change the no of receprocations but it is not the case

  • @technomad9071
    @technomad9071 6 місяців тому

    biger tank!

  • @junaldabasolo1067
    @junaldabasolo1067 Рік тому

    can we use ESP32?

  • @sudhantiwarigamingandvlogi5319
    @sudhantiwarigamingandvlogi5319 3 роки тому +4

    Wtf so small tank and no filter

    • @abbddullah
      @abbddullah 2 роки тому

      dear its only for the video.

  • @yebreorton1939
    @yebreorton1939 2 роки тому

    thanks for speak english, nice video

  • @aksharaammu109
    @aksharaammu109 4 роки тому +1

    Sir can i use ds3231 instead of ds1302

  • @jayateerthupadhye4302
    @jayateerthupadhye4302 3 роки тому +1

    What changes should be done when using RTC DS3231?

    • @abbddullah
      @abbddullah 2 роки тому +1

      Only library will change. You will use the functions of DS3231 as it is.

    • @rattakarnboonmasueb60
      @rattakarnboonmasueb60 2 роки тому

      @@abbddullah can u find code or make it for us please ?

    • @abbddullah
      @abbddullah 2 роки тому +1

      @@rattakarnboonmasueb60 yes dear, please email me the detail you want for your project.
      Thanks.

    • @erikgonzalezmichel
      @erikgonzalezmichel 8 місяців тому +1

      ​@@abbddullahcual es tu email? Me interesa ese también por favor
      Saludos y excelente trabajo

  • @arifaiman9036
    @arifaiman9036 4 роки тому

    After you set the timer
    So you do not need to control it anymore right

    • @abbddullah
      @abbddullah 2 роки тому

      yes, this is the main objective of this video.

  • @_Debjeet_
    @_Debjeet_ 2 роки тому

    can we use arduino nano

  • @faaiquealimehmood
    @faaiquealimehmood 2 роки тому

    bro i cannot get more than two strokes why is that?

  • @vaibhavsinha3199
    @vaibhavsinha3199 Рік тому

    I have not made the circuit yet but the ok button to schedule time is not working

  • @adamjohan3905
    @adamjohan3905 4 роки тому

    i have question

  • @naufaldian6029
    @naufaldian6029 4 роки тому

    can i use spyder to write down the code? or should i use some specific IDE apps to run it?

    • @RoboticaDIY
      @RoboticaDIY  4 роки тому

      No, you have to use Arduino IDE, you can use alternative to arduino IDE, but i would recommend Arduino IDE, its easy and simple.

  • @hilman574
    @hilman574 2 роки тому

    Hello sir sorry !!! Can you help me on how to set 10 times reciprocate

  • @humzamunawar7527
    @humzamunawar7527 4 роки тому

    hi can we use RTC-DS1307 instead of DS1302???

    • @RoboticaDIY
      @RoboticaDIY  4 роки тому +1

      yes you can use, but you have to use ds1307 library & do some changes in code accordingly.

  • @gamingtechgiant9902
    @gamingtechgiant9902 3 роки тому

    How to power the uno board with ?

  • @henryong1264
    @henryong1264 4 роки тому +1

    Hi, why my servo motor cannot function when the time is reach, I make sure the servo motor is no broken and all the code and wire is correct, why mine cannot fuction, Thank you

    • @Toby-tp4sd
      @Toby-tp4sd 4 роки тому

      the code is not written correctly

    • @abbddullah
      @abbddullah 2 роки тому

      Might be some issue with the code. you can share your code if you want to.

  • @syedansarmohamedkalik7623
    @syedansarmohamedkalik7623 3 роки тому

    Are your code is writen right

  • @hilman574
    @hilman574 2 роки тому

    its said that ds1302 no such file or directory in arduino ide

    • @hilman574
      @hilman574 2 роки тому

      can you help me please?

  • @henryong1264
    @henryong1264 4 роки тому

    The rtc time is just only copy or need to change to my upload time?

    • @RoboticaDIY
      @RoboticaDIY  4 роки тому +1

      first set time
      rtc.setDOW(FRIDAY);
      rtc.setTime(8, 59, 50);
      rtc.setDate(4, 17, 2020);
      then upload the code.
      comment out these lines and again upload the code. If you don't comment out these lines, everytime you plug the power, the time will start from where you have set. it will not show current time. To show current time whenever we power the board, we need to comment out these lines, as a result DS1302's mini battery will take care of current time.
      //rtc.setDOW(FRIDAY); // Set Day-of-Week to SUNDAY
      //rtc.setTime(8, 59, 50); // Set the time to 12:00:00 (24hr format)
      //rtc.setDate(4, 17, 2020); // Set the date to August 25th, 2019

    • @henryong1264
      @henryong1264 4 роки тому

      @@RoboticaDIY okay thank

    • @henryong1264
      @henryong1264 4 роки тому

      it need after one day only can function?

    • @henryong1264
      @henryong1264 4 роки тому

      @@RoboticaDIY it need after one day of upload coding only can function?

  • @gebanarojanc.3373
    @gebanarojanc.3373 2 роки тому

    guys there's a wire connecting to each other, how did you know where to connect the wire?

  • @Shyamkumar-di5fu
    @Shyamkumar-di5fu 3 роки тому

    Can i use DS3231???

    • @abbddullah
      @abbddullah 2 роки тому

      yes dear you can

    • @xilly_s4428
      @xilly_s4428 2 роки тому

      @@abbddullah sir tell me how to fix Time t; does not type name please.

    • @abbddullah
      @abbddullah 2 роки тому

      @@xilly_s4428 dear, please email me your project details and error.

  • @nandakumar5842
    @nandakumar5842 4 роки тому

    some error are found wt to do

    • @Toby-tp4sd
      @Toby-tp4sd 4 роки тому +1

      use a different persons code

    • @abbddullah
      @abbddullah 2 роки тому

      what errors are you facing? can you show here?

  • @Toby-tp4sd
    @Toby-tp4sd 4 роки тому

    The code is filled with incorrect lines...

  • @dipdas5192
    @dipdas5192 3 роки тому

    I have used only one display separately, but after a while the power motor in Arduino is turned off and so is the RTC module, but Arduino has power and the display does not count the time by showing the character, what is causing this problem ??
    PLZ help me🙏🙏

  • @tiagokotryk2139
    @tiagokotryk2139 3 роки тому

    the code doesn't work properly

  • @ajaquatics
    @ajaquatics 4 роки тому +1

    There is a worm in there not safe

    • @sulthan9086
      @sulthan9086 5 місяців тому

      worms are betta's food bro

  • @Cozyyy2
    @Cozyyy2 3 роки тому

    I try compile but error exist 1

    • @abbddullah
      @abbddullah 2 роки тому

      can you please show the error here?

  • @arifaiman9036
    @arifaiman9036 4 роки тому

    Please answer

  • @ADayToLife
    @ADayToLife 3 роки тому

    Can you make it for me one set i will pay for you bro

  • @arifaiman9036
    @arifaiman9036 4 роки тому

    Hello

  • @4ohm531
    @4ohm531 Рік тому

    man please take the fish out of the bowl and put it in a real tank

  • @joaquinserrano-armas666
    @joaquinserrano-armas666 3 роки тому

    thats not a big anough tank

  • @Toby-tp4sd
    @Toby-tp4sd 4 роки тому

    this is bs