Nice one. I want to try this too. Could you give me a part number for the push buttons so i can order some please.
@LeviathanEngineering
Күн бұрын
Hey, they came in a old set, not sure which one. So I took a quick look on Amazon and found these for ya. Hope this helps 😁 uxcell 20pcs Momentary Tact Tactile Push Button Switch 12 x 12mm x 8mm 4 Pin DIP W Cap a.co/d/9jPkBBz
@aishaabdalrahmanprice4172
Ай бұрын
👍🏻
@Jerseylance1
Ай бұрын
🔥🔥🔥🔥🔥
@LeviathanEngineering
Ай бұрын
:) thanks mate!
@MendelStein
Ай бұрын
Amazing video 🔥
@MendelStein
Ай бұрын
🔥🔥
@yossishmoo
Ай бұрын
Nice video
@zalmytouger
2 ай бұрын
🔥🔥🔥
@fuzionftw3893
2 ай бұрын
dudee thats cooll!! keep up the good work mate.. you deserve more subs!
@LeviathanEngineering
2 ай бұрын
😊
@MendelStein
2 ай бұрын
This is the coolest thing ever 🔥🔥🔥🔥
@LeviathanEngineering
2 ай бұрын
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
2 ай бұрын
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
2 ай бұрын
Thank you for responding to me!!
@LeviathanEngineering
2 ай бұрын
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 }
@YossiShkolnik
2 ай бұрын
Yoo that’s craaaazy
@ryanodonoghue5596
3 ай бұрын
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.
@LeviathanEngineering
2 ай бұрын
Sorry for that, glad you got it working!
@fuzion5467
4 ай бұрын
What are the color codes??
@hafizahahmad8215
2 ай бұрын
No
@LeviathanEngineering
2 ай бұрын
I Believe it's a 1K omh.
@chiefarmel3272
5 ай бұрын
what resistor did you use
@mafiahorse
5 ай бұрын
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!
@LeviathanEngineering
2 ай бұрын
Thanks for that! I really appreciate it!
@AmplifierBoards-c2q
7 ай бұрын
ok
@shubam-r9i
7 ай бұрын
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
8 ай бұрын
Amazing video, very easy to follow. Thanks so much!
@LeviathanEngineering
6 ай бұрын
You're very welcome!
@rhymereason3449
Жыл бұрын
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
2 ай бұрын
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
Жыл бұрын
Great first video
@LeviathanEngineering
2 ай бұрын
🥹
@SJolts
Жыл бұрын
Nice, Simple, funny, and easy to understand. Thanks!
@LeviathanEngineering
2 ай бұрын
🙏🙏🙏
@bimaldevclt
Жыл бұрын
The music screws your mind 😅
@mizzzfrejjj
Жыл бұрын
What is the name of this project? Do u have schematic diagram of this?
@User-qc7gn
Жыл бұрын
What happened if you don’t put resistor ? Have you tried it ?
@luke5567
Жыл бұрын
the voltage of the battery would be too high for the LEDs which would break them.
@subrataroy4219
Жыл бұрын
It will.burn the led😢
@jikosauce
10 ай бұрын
@@luke5567 which resistors did he use in this video?
@LeviathanEngineering
2 ай бұрын
I think it would fry the LEDs
@theresalejas4729
Жыл бұрын
Thanks bro! Your video helps a lot😉❤️
@roberttenpierik959
Жыл бұрын
Nice! Thank you
@shaishavsorathiya5517
Жыл бұрын
Do we have to do exactly like you
@shaishavsorathiya5517
Жыл бұрын
Do you have to have the same colors
@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
Жыл бұрын
Thank you Jonathan. The video is definitely lacking some information.😢
@rhetthenderson5993
11 ай бұрын
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
2 ай бұрын
@@jonathanblixtnordin5711 thanks for clarifying for them man, I didn't do the greatest job at doing that lol. Keep it up!
@rsvp1234
Ай бұрын
thank you i had no idea what i was doing
@markylon
2 жыл бұрын
1.Ditch The Music 2. Ditch The Music 3. Ditch the Music 4. Goto 1
@matthewmccusker3449
2 жыл бұрын
Dude we care about the stuff you didn’t show
@lyhongleft3676
7 ай бұрын
The wiring ain't that difficult to follow, so it should be fine
@LeviathanEngineering
2 ай бұрын
Mb mb, next time I'll go a little more in depth!
@baconheadhair6938
28 күн бұрын
@@lyhongleft3676The point is that it’s a beginner video, it’s better to show or explain what you’re doing
@_Gusza
2 жыл бұрын
where new video
@LeviathanEngineering
2 жыл бұрын
What would you like to see me make?
@_Gusza
2 жыл бұрын
@@LeviathanEngineering something basic but more complex than this
@Oscifer11
2 жыл бұрын
Work on your spelling.
@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
2 жыл бұрын
Please make more videos i love this video
@LeviathanEngineering
2 ай бұрын
🥹🙏🙏
@bafa000
2 жыл бұрын
Lose the music, explain.
@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
2 жыл бұрын
Hope you could help me
@LeviathanEngineering
2 ай бұрын
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
2 жыл бұрын
Which resistor
@_Gusza
2 жыл бұрын
your first video and latest video
@shaunuwuu
2 жыл бұрын
Bro why the hell u stopped posting videos...ur content was awesome to make u blow and earn thousands of subs
@LeviathanEngineering
2 ай бұрын
Thanks mate!
@iTsCookieKing
2 жыл бұрын
a breadBORED?!?!?!?!?
@LeviathanEngineering
2 ай бұрын
Lol typos. Mb
@peatmoss4415
2 жыл бұрын
Childish....
@LeviathanEngineering
2 жыл бұрын
Correct.
@wesleygordon4910
2 жыл бұрын
Thanks I did it first board project!!!
@LeviathanEngineering
2 ай бұрын
Glad it worked!
@darkle.
2 жыл бұрын
This does not help
@zonadashti
2 жыл бұрын
I cared about some of the stuff you didnt care about :')
@LeviathanEngineering
2 ай бұрын
Sorry man, next time I'll get more In-Depth on how the circuit works. Hope you got it working anyway though!
Пікірлер