Beginner electronics project | Automatic fish feeder

  Рет қаралды 211

Leviathan engineering

Leviathan engineering

7 күн бұрын

#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 SCL to A5, power to 5V, and ground to GND
Why Watch:
- Ensure your fish are fed on time, even when you're away
- Learn essential Arduino skills
- Save money by building your own fish feeder
- Great project for DIY and tech enthusiasts
Follow Me:
Check out my projects and updates on Instagram: @leviathan_engineer
Subscribe for more: Don't forget to subscribe for more cool Arduino projects and DIY tutorials. Hit the bell icon to stay updated!

Пікірлер: 4
@LeviathanEngineering
@LeviathanEngineering 5 күн бұрын
code: #include #include #include 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) }
@MendelStein
@MendelStein 5 күн бұрын
This is the coolest thing ever 🔥🔥🔥🔥
@fuzionftw3893
@fuzionftw3893 4 күн бұрын
dudee thats cooll!! keep up the good work mate.. you deserve more subs!
@LeviathanEngineering
@LeviathanEngineering 4 күн бұрын
😊
Make Dumb Electronics Smart for $3
13:13
I Like To Make Stuff
Рет қаралды 538 М.
I tried OVERPOWERING my Vacuum! (Homemade Turbine)
11:42
GreatScott!
Рет қаралды 1,8 МЛН
KINDNESS ALWAYS COME BACK
00:59
dednahype
Рет қаралды 124 МЛН
He sees meat everywhere 😄🥩
00:11
AngLova
Рет қаралды 11 МЛН
Vivaan  Tanya once again pranked Papa 🤣😇🤣
00:10
seema lamba
Рет қаралды 33 МЛН
How Many ERRORS Can You Fit in a Video?!
20:40
ElectroBOOM
Рет қаралды 2,4 МЛН
I took Taser Chess to Open Sauce
12:40
Everything Is Hacked
Рет қаралды 291 М.
1 vs 1000 guitar picks (5000 picks/second)
15:32
Mattias Krantz
Рет қаралды 1,7 МЛН
13 Best Arduino projects of the year 2022!
10:55
ToP Projects Compilation
Рет қаралды 668 М.
High precision speed reducer using rope
20:19
Aaed Musa
Рет қаралды 1,3 МЛН
What's the Best Auto Fish Feeder for You?
18:16
Bulk Reef Supply - Saltwater Aquariums
Рет қаралды 146 М.
10 Minutes vs. 10 Years of Animation
19:29
Isto Inc.
Рет қаралды 564 М.
CHEAP DIY BOOST GAUGE
43:58
upir
Рет қаралды 82 М.