Leviathan engineering
Leviathan engineering
  • Видео 3
  • Просмотров 66 437
Beginner electronics project | Automatic fish feeder
#arduino #arduinoproject #breadboard #electronic #project #fish
---
Automatic Fish Feeder Using Arduino | DIY Project Tutorial
Welcome to my channel! In this video, I show you how to create an **Automatic Fish Feeder using Arduino**. This step-by-step tutorial is perfect for beginners and enthusiasts looking to automate their fish tank feeding schedule.
What's Inside:
- Detailed instructions to build an Arduino-based fish feeder
- How to use a servo motor and DS1307 RTC module
- Easy-to-follow code explanation
- Tips to customize the feeder for your aquarium
- Simple wiring:
- Connect the servo motor's signal wire to Pin 9, power to 5V, and ground to GND
- Connect the RTC module's SDA to A4 and...
Просмотров: 229

Видео

Simple Arduino project for beginners. Magic Harp
Просмотров 186День назад
#arduino #breadboard #project #electronic #engineering #funny #laser In todays video we make a simple magic harp project via LDR, Lasers and arduino
Simple breadboard projects for beginners
Просмотров 66 тыс.4 года назад
Sorry about the grammar, spelling, lack of explanation, resistor value, and again a lack of mutlisim circuit explanation.

Комментарии

  • @fuzionftw3893
    @fuzionftw3893 7 дней назад

    dudee thats cooll!! keep up the good work mate.. you deserve more subs!

  • @MendelStein
    @MendelStein 8 дней назад

    This is the coolest thing ever 🔥🔥🔥🔥

  • @LeviathanEngineering
    @LeviathanEngineering 8 дней назад

    code: #include <Wire.h> #include <RTClib.h> #include <Servo.h> RTC_DS1307 rtc; Servo fishFeederServo; const int servoPin = 9; const int feedHour = 8; // Hour to trigger feeding (24-hour format) const int feedMinute = 30; // Minute to trigger feeding const int feedSecond = 0; // Second to trigger feeding bool hasFed = false; void setup() { Serial.begin(9600); while (!Serial); Wire.begin(); if (!rtc.begin()) { Serial.println("Couldn't find RTC"); while (1); } // Adjust RTC time to 8:29:30 AM rtc.adjust(DateTime(2024, 7, 3, 8, 29, 30)); // Adjust RTC to July 3rd, 2024, 8:29:30 AM fishFeederServo.attach(servoPin); fishFeederServo.write(0); // Set servo to 0 degrees (closed position) delay(500); // Allow time for servo to reach position } void loop() { DateTime now = rtc.now(); Serial.print("Current Time: "); Serial.print(now.hour()); Serial.print(":"); Serial.print(now.minute()); Serial.print(":"); Serial.println(now.second()); // Check if it's time to feed the fish if (now.hour() == feedHour && now.minute() == feedMinute && now.second() == feedSecond && !hasFed) { Serial.println("Feeding Fish..."); feedFish(); // Call the fish feeding function hasFed = true; } // Reset flag after feeding time has passed if (now.hour() == feedHour && now.minute() == feedMinute && now.second() == (feedSecond + 1)) { hasFed = false; } delay(1000); // Print every second } void feedFish() { fishFeederServo.write(90); // Rotate servo to 90 degrees to dispense food delay(1000); // Wait for 1 second fishFeederServo.write(0); // Rotate servo back to 0 degrees (closed position) }

  • @LeviathanEngineering
    @LeviathanEngineering 10 дней назад

    Alright, so I didn't explain it in the video, essentially the buttons have 4 pins. Run it so a resistor. (I literally have no idea what omh I think possible 1k but I could be wrong) Is leading from the powered line to a led. Then from the other side of the LED run a wire to one corner of the button, then from the other diagonal corner run a wire to the ground. Do this with all 4. I'm really sorry I didn't explain it well (or at all) in the video. In future videos I will go a lot more in depth

    • @fuzion5467
      @fuzion5467 9 дней назад

      Thank you for responding to me!!

  • @LeviathanEngineering
    @LeviathanEngineering 11 дней назад

    Code: const int LDR_PIN1 = A1; // Analog pin connected to the first three-pin LDR module const int LDR_PIN2 = A2; // Analog pin connected to the second three-pin LDR module const int LDR_PIN3 = A3; // Analog pin connected to the third three-pin LDR module const int LDR_PIN4 = A4; // Analog pin connected to the fourth three-pin LDR module const int LDR_PIN5 = A5; // Analog pin connected to the fifth three-pin LDR module const int BUZZER_PIN = 9; // Digital pin connected to buzzer const int LASER_PIN = 2; // Digital pin connected to laser diode void setup() { pinMode(LDR_PIN1, INPUT); pinMode(LDR_PIN2, INPUT); pinMode(LDR_PIN3, INPUT); pinMode(LDR_PIN4, INPUT); pinMode(LDR_PIN5, INPUT); pinMode(BUZZER_PIN, OUTPUT); pinMode(LASER_PIN, OUTPUT); digitalWrite(LASER_PIN, HIGH); // Turn on the laser diode Serial.begin(9600); } void loop() { int LDRValue1 = analogRead(LDR_PIN1); // Read the value from the first LDR module int LDRValue2 = analogRead(LDR_PIN2); // Read the value from the second LDR module int LDRValue3 = analogRead(LDR_PIN3); // Read the value from the third LDR module int LDRValue4 = analogRead(LDR_PIN4); // Read the value from the fourth LDR module int LDRValue5 = analogRead(LDR_PIN5); // Read the value from the fifth LDR module Serial.print("LDR1: "); Serial.print(LDRValue1); Serial.print(", LDR2: "); Serial.print(LDRValue2); Serial.print(", LDR3: "); Serial.print(LDRValue3); Serial.print(", LDR4: "); Serial.print(LDRValue4); Serial.print(", LDR5: "); Serial.println(LDRValue5); if (LDRValue1 < 800) { // Adjust the threshold value for LDR1 as needed tone(BUZZER_PIN, 400); // Play a tone of 400Hz for LDR1 } else if (LDRValue2 < 800) { // Adjust the threshold value for LDR2 as needed tone(BUZZER_PIN, 500); // Play a tone of 500Hz for LDR2 } else if (LDRValue3 < 800) { // Adjust the threshold value for LDR3 as needed tone(BUZZER_PIN, 600); // Play a tone of 600Hz for LDR3 } else if (LDRValue4 < 800) { // Adjust the threshold value for LDR4 as needed tone(BUZZER_PIN, 700); // Play a tone of 700Hz for LDR4 } else if (LDRValue5 < 800) { // Adjust the threshold value for LDR5 as needed tone(BUZZER_PIN, 800); // Play a tone of 800Hz for LDR5 } else { noTone(BUZZER_PIN); // Stop playing tone if no LDR is triggered } delay(100); // Small delay to stabilize readings }

  • @user-zb7ff4fi1e
    @user-zb7ff4fi1e 12 дней назад

    Yoo that’s craaaazy

  • @ryanodonoghue5596
    @ryanodonoghue5596 20 дней назад

    Cool video but it lacks alot of information xD he dosent include any resistor values but by reading comments i gathered it dosent really matter. i used 1k resistors for all of them and it worked. it also only worked when i switched the polarity on the battery.

  • @fuzion5467
    @fuzion5467 Месяц назад

    What are the color codes??

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

    what resistor did you use

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

    Never apologise for having a go. Remember, everyone watching this wants to know what you know. The video was great, and only sociopaths care about spelling or grammar. Thanks for posting!

  • @user-qw6bm6tr3f
    @user-qw6bm6tr3f 4 месяца назад

    ok

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

    its will be very awesome if u talk, ik that its ur first video and u might be nervous but still i will be so much nice the just reading text

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

    Amazing video, very easy to follow. Thanks so much!

  • @rhymereason3449
    @rhymereason3449 11 месяцев назад

    Didn't actually explain a darn thing... nothing about polarities, nothing about breadboard structure, nothing... just a "too bad if you actually cared about this". Very poor content!

    • @LeviathanEngineering
      @LeviathanEngineering 8 дней назад

      I'm sorry man, I'll go in depth in future videos, I've posted a comment explaining it a little more in detail how to run the circuit. Hope it helps!

  • @swaggerduck1258
    @swaggerduck1258 11 месяцев назад

    Great first video

  • @neoblu
    @neoblu Год назад

    Nice, Simple, funny, and easy to understand. Thanks!

  • @bimaldevclt
    @bimaldevclt Год назад

    The music screws your mind 😅

  • @mizzzfrejjj
    @mizzzfrejjj Год назад

    What is the name of this project? Do u have schematic diagram of this?

  • @User-qc7gn
    @User-qc7gn Год назад

    What happened if you don’t put resistor ? Have you tried it ?

    • @luke5567
      @luke5567 Год назад

      the voltage of the battery would be too high for the LEDs which would break them.

    • @subrataroy4219
      @subrataroy4219 11 месяцев назад

      It will.burn the led😢

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

      @@luke5567 which resistors did he use in this video?

    • @LeviathanEngineering
      @LeviathanEngineering 8 дней назад

      I think it would fry the LEDs

  • @theresalejas4729
    @theresalejas4729 Год назад

    Thanks bro! Your video helps a lot😉❤️

  • @roberttenpierik959
    @roberttenpierik959 Год назад

    Nice! Thank you

  • @shaishavsorathiya5517
    @shaishavsorathiya5517 Год назад

    Do we have to do exactly like you

  • @shaishavsorathiya5517
    @shaishavsorathiya5517 Год назад

    Do you have to have the same colors

  • @jonathanblixtnordin5711
    @jonathanblixtnordin5711 Год назад

    For common LEDs with forward voltages between 2V (red and yellow) and 3V (Blue, green, white) with a max current of 20 mA, I'd say 40 Ohms and 60 Ohms resistors. 100 Ohms work but a 10 will pop that diode with a sound. There is calculators on the web but most important is you know your diodes specs

    • @Lakeman-fb6vl
      @Lakeman-fb6vl Год назад

      Thank you Jonathan. The video is definitely lacking some information.😢

    • @rhetthenderson5993
      @rhetthenderson5993 8 месяцев назад

      I ran direct 5V into my red LED, and it didn’t pop but it did start burning, you could hear it sizzling and smell it.

    • @LeviathanEngineering
      @LeviathanEngineering 8 дней назад

      @@jonathanblixtnordin5711 thanks for clarifying for them man, I didn't do the greatest job at doing that lol. Keep it up!

  • @markylon
    @markylon Год назад

    1.Ditch The Music 2. Ditch The Music 3. Ditch the Music 4. Goto 1

  • @matthewmccusker3449
    @matthewmccusker3449 Год назад

    Dude we care about the stuff you didn’t show

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

      The wiring ain't that difficult to follow, so it should be fine

    • @LeviathanEngineering
      @LeviathanEngineering 8 дней назад

      Mb mb, next time I'll go a little more in depth!

  • @_Gusza
    @_Gusza Год назад

    where new video

    • @LeviathanEngineering
      @LeviathanEngineering Год назад

      What would you like to see me make?

    • @_Gusza
      @_Gusza Год назад

      @@LeviathanEngineering something basic but more complex than this

  • @Oscifer11
    @Oscifer11 2 года назад

    Work on your spelling.

    • @LeviathanEngineering
      @LeviathanEngineering 2 года назад

      Not a native English speaker. So at the time I was still trying to pick up spelling, granted "yellor" is just a typo, no excuse for that

  • @MrMemer-jo9vg
    @MrMemer-jo9vg 2 года назад

    Please make more videos i love this video

  • @bafa000
    @bafa000 2 года назад

    Lose the music, explain.

  • @johnlloydcordero2398
    @johnlloydcordero2398 2 года назад

    Sir it is very helpful for me. Colud I know how to plot this on a multisim? Thank you in advance sir

    • @johnlloydcordero2398
      @johnlloydcordero2398 2 года назад

      Hope you could help me

    • @LeviathanEngineering
      @LeviathanEngineering 8 дней назад

      I posted a comment explaining the circuit more in depth, it's fairly simple, you just run one corner of a button to a LED and the other to ground. And the other side of the led to a resistor, connecting to power. Hope this helps!

  • @nayanakshisrinivasalu4124
    @nayanakshisrinivasalu4124 2 года назад

    Which resistor

  • @_Gusza
    @_Gusza 2 года назад

    your first video and latest video

  • @shaunbanis2231
    @shaunbanis2231 2 года назад

    Bro why the hell u stopped posting videos...ur content was awesome to make u blow and earn thousands of subs

  • @iTsCookieKing
    @iTsCookieKing 2 года назад

    a breadBORED?!?!?!?!?

  • @peatmoss4415
    @peatmoss4415 2 года назад

    Childish....

  • @wesleygordon4910
    @wesleygordon4910 2 года назад

    Thanks I did it first board project!!!

  • @darkle.
    @darkle. 2 года назад

    This does not help

  • @zonadashti
    @zonadashti 2 года назад

    I cared about some of the stuff you didnt care about :')

    • @LeviathanEngineering
      @LeviathanEngineering 8 дней назад

      Sorry man, next time I'll get more In-Depth on how the circuit works. Hope you got it working anyway though!

  • @dudesemidecent894
    @dudesemidecent894 2 года назад

    bad for beginners horrible at explaining

  • @mrsreeharish1096
    @mrsreeharish1096 2 года назад

    Bro what is name for wire

  • @nhaiiflores5868
    @nhaiiflores5868 2 года назад

    Resistor value?

  • @envfamily9938
    @envfamily9938 2 года назад

    Resistor value?

  • @Potato1666
    @Potato1666 2 года назад

    keep it up bro ...

  • @abdulwali6710
    @abdulwali6710 3 года назад

    Project pdf form mein bnany k liye

  • @abdulwali6710
    @abdulwali6710 3 года назад

    Procedure mil skta written mein?

  • @abdulwali6710
    @abdulwali6710 3 года назад

    Practical name plzz??

  • @aidanfahey5112
    @aidanfahey5112 3 года назад

    Great video! I learned a lot!

  • @mikesmusicden
    @mikesmusicden 3 года назад

    Very nice! I have the same breadboard, but I'm new to electronics and don't know how to use it; thanks for the video!

  • @muhibhussain3151
    @muhibhussain3151 3 года назад

    Sir is ka purposal or report sand kardo