- Видео 3
- Просмотров 66 437
Leviathan engineering
США
Добавлен 8 сен 2019
I make things :)
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...
---
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.
dudee thats cooll!! keep up the good work mate.. you deserve more subs!
😊
This is the coolest thing ever 🔥🔥🔥🔥
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) }
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
Thank you for responding to me!!
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 }
Yoo that’s craaaazy
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.
Sorry for that, glad you got it working!
What are the color codes??
No
I Believe it's a 1K omh.
what resistor did you use
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!
Thanks for that! I really appreciate it!
ok
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
Amazing video, very easy to follow. Thanks so much!
You're very welcome!
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!
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!
Great first video
🥹
Nice, Simple, funny, and easy to understand. Thanks!
🙏🙏🙏
The music screws your mind 😅
What is the name of this project? Do u have schematic diagram of this?
What happened if you don’t put resistor ? Have you tried it ?
the voltage of the battery would be too high for the LEDs which would break them.
It will.burn the led😢
@@luke5567 which resistors did he use in this video?
I think it would fry the LEDs
Thanks bro! Your video helps a lot😉❤️
Nice! Thank you
Do we have to do exactly like you
Do you have to have the same colors
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
Thank you Jonathan. The video is definitely lacking some information.😢
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.
@@jonathanblixtnordin5711 thanks for clarifying for them man, I didn't do the greatest job at doing that lol. Keep it up!
1.Ditch The Music 2. Ditch The Music 3. Ditch the Music 4. Goto 1
Dude we care about the stuff you didn’t show
The wiring ain't that difficult to follow, so it should be fine
Mb mb, next time I'll go a little more in depth!
where new video
What would you like to see me make?
@@LeviathanEngineering something basic but more complex than this
Work on your spelling.
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
Please make more videos i love this video
🥹🙏🙏
Lose the music, explain.
Sir it is very helpful for me. Colud I know how to plot this on a multisim? Thank you in advance sir
Hope you could help me
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!
Which resistor
your first video and latest video
Bro why the hell u stopped posting videos...ur content was awesome to make u blow and earn thousands of subs
Thanks mate!
a breadBORED?!?!?!?!?
Lol typos. Mb
Childish....
Correct.
Thanks I did it first board project!!!
Glad it worked!
This does not help
I cared about some of the stuff you didnt care about :')
Sorry man, next time I'll get more In-Depth on how the circuit works. Hope you got it working anyway though!
bad for beginners horrible at explaining
Bro what is name for wire
Resistor value?
Resistor value?
keep it up bro ...
Project pdf form mein bnany k liye
Procedure mil skta written mein?
Practical name plzz??
Great video! I learned a lot!
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!
Thanks mate
Sir is ka purposal or report sand kardo