DIY Automatic Trash Bin [Arduino and XOD]

แชร์
ฝัง
  • เผยแพร่เมื่อ 19 พ.ย. 2024

ความคิดเห็น • 72

  • @Martin-yl5zb
    @Martin-yl5zb 6 ปีที่แล้ว +10

    Great tutorial!!! Very good explaining. I appreciate how you start simple and then add functionality. As a noob, this makes it so much easier to follow.

  • @MCsCreations
    @MCsCreations 7 ปีที่แล้ว +5

    Fantastic work, man! Really, really good! :D

  • @wasanthawimaladharm
    @wasanthawimaladharm 6 ปีที่แล้ว +1

    From where did you buy this plastic trash bin. I can find all other parts very easily. But no where to find this cute plastic trash bin for this project. Please give the link

  • @JeremyCook
    @JeremyCook 7 ปีที่แล้ว +1

    Looking at the code, does it go to sleep for 500ms then measure distance, then go back to sleep constantly unless it sees something in front of the sensor?

  • @yonutz333
    @yonutz333 ปีที่แล้ว

    Hello, could you please give us a model number for the servo since your link to aliexpress no longer works?

  • @rdxcreations7285
    @rdxcreations7285 ปีที่แล้ว

    Any other mosfet that can be used?

  • @marziyeshavani3943
    @marziyeshavani3943 4 ปีที่แล้ว

    Very very good .
    Thanks

  • @muncom088
    @muncom088 4 ปีที่แล้ว

    really good!!

  • @yossishi221
    @yossishi221 5 ปีที่แล้ว

    Hi
    Can you help me please?
    I have kids car electric
    And i want to connect distance sensor to the wire of the motor. So when it will Get near something it will cut the power.
    And reconnect it automatically when it will be cleared
    Some dry contact i/o that can handle about 7 ampere 12v.
    And this dry contact will be the switch of the wire ,
    Can you help me of the components?
    Thanks
    Yossi

  • @kaedeharakazuha6604
    @kaedeharakazuha6604 2 ปีที่แล้ว

    OMG you guys gotta specify what typa wire yall use to connect those components i'm tired of searching ONE video that does that

  • @anantsoni6335
    @anantsoni6335 6 ปีที่แล้ว +1

    Hello i am an engineer student and i don't know how to program in xod.I only know c and c++.please tell me how can i programming in Arduino to make my own smart dustbin.....

  • @nailxx2
    @nailxx2 7 ปีที่แล้ว

    Well done!

  • @alexandreleite4156
    @alexandreleite4156 5 ปีที่แล้ว +4

    Hey! Can you update the link for the servo? thanks

    • @yonutz333
      @yonutz333 ปีที่แล้ว

      Or at least give an exact model so that we can find it ourselves

  • @ДемченкоМаксим-с5ъ
    @ДемченкоМаксим-с5ъ 6 ปีที่แล้ว +3

    AlexGyver

  • @electronic7979
    @electronic7979 6 ปีที่แล้ว

    Nice project

  • @ritishamahapatra2863
    @ritishamahapatra2863 4 ปีที่แล้ว +2

    Can you update the link for the servo? Thank you

  • @pravindev4370
    @pravindev4370 3 ปีที่แล้ว

    How much time will 2700 mAh lithium ion battery will lasts ?

  • @filclintruiz7807
    @filclintruiz7807 ปีที่แล้ว

    may I ask which code do I use for this project?

  • @ricsiez
    @ricsiez 6 ปีที่แล้ว

    I have a metal trash can. 1,6 kg servo is enough?

  • @anantsoni6335
    @anantsoni6335 6 ปีที่แล้ว +2

    My question is It is important to install XOD program in arduino.Actually my sensor is not working and I am cannot send xod program in Arduino.

  • @hizonopusdie
    @hizonopusdie 5 ปีที่แล้ว

    Which is better in creating this smart dust bin, Arduino UNO or Nano?

    • @usualsuspect9496
      @usualsuspect9496 5 ปีที่แล้ว

      it's going to give you the same results

    • @yonutz333
      @yonutz333 ปีที่แล้ว +1

      Both are ok, it's mostly a size difference between the 2

  • @NROCKX1
    @NROCKX1 7 ปีที่แล้ว

    Use the force!

  • @SurajSingh-ev4zk
    @SurajSingh-ev4zk 3 ปีที่แล้ว

    Nice

  • @mohammedfaiz_
    @mohammedfaiz_ 6 ปีที่แล้ว +1

    Plz help me with the program..I am doing it for past couple of weeks...bt am having problem with program in Arduino nano...I went and bought a new Arduino bt it's the same..not getting any output of your program..plz suggest me.. what can I do in it..even xod program is not working..plz help

    • @hikitatrofimov3417
      @hikitatrofimov3417 6 ปีที่แล้ว

      Это видео украдено у alexgyver!!!

  • @trashplayer6996
    @trashplayer6996 4 ปีที่แล้ว

    How much torque is on that servo?

  • @didedoshka
    @didedoshka 6 ปีที่แล้ว

    *_Amazing_*

  • @Nivelcire
    @Nivelcire 2 ปีที่แล้ว

    Parts list? Link to buy?

  • @mariocontreras82
    @mariocontreras82 5 ปีที่แล้ว

    Great job! just one question; the 100 ohms resistor which pin of the mostfet goes?

  • @philipandrewhipolito9582
    @philipandrewhipolito9582 2 ปีที่แล้ว

    can i see the block diagram?

  • @reybryce423
    @reybryce423 7 ปีที่แล้ว +2

    can we use arduino uno instead of nano?

    • @shubhamkumarjena6167
      @shubhamkumarjena6167 6 ปีที่แล้ว

      coshie pamittan yes,u can use any board

    • @cosmos269
      @cosmos269 6 ปีที่แล้ว

      Yep you can but it takes more space and power that's it

  • @vaishalipatil1687
    @vaishalipatil1687 6 ปีที่แล้ว

    please tell the apparatus used in it

  • @yossishi221
    @yossishi221 5 ปีที่แล้ว

    Hi
    Can you help me please?
    I want some distance sensor for (20cm) with adjustment option if there is, and with dry contact open/close.
    so, when it detects Obstacle it will open the dry contact and automatically close it when it will stop detect the Obstacle
    can you help me to find the item that I need on AliExpress?
    Thanks
    Yossi

  • @thegames9568
    @thegames9568 6 ปีที่แล้ว

    there are video materials from alexgyver

  • @dory-yaaah5709
    @dory-yaaah5709 4 ปีที่แล้ว

    how can i delay the opening of the lid?

  • @VRtechman
    @VRtechman 4 ปีที่แล้ว

    All it needs now is 2 UV light bulbs! 🤨

  • @nandodo4328
    @nandodo4328 6 ปีที่แล้ว

    may i buy it?

  • @pintokitkat
    @pintokitkat 6 ปีที่แล้ว

    Good tutorial, but ditch the music. It just gets annoying

  • @ramajiothichitta1374
    @ramajiothichitta1374 6 ปีที่แล้ว

    Bro when I run the coding its showing that 'low power' is not declared please help me.

    • @IvanWang-ei8zy
      @IvanWang-ei8zy 5 ปีที่แล้ว

      Maybe you don't have the LowPower library, u can download that in github

  • @sabiannenggalasunito6944
    @sabiannenggalasunito6944 4 ปีที่แล้ว

    mr. could you pls go to my house and teach me how to do it? but i'm from indonesia. my complex is in bali view blok: c2 no. 2

  • @GiuseppeDeLilla
    @GiuseppeDeLilla 6 ปีที่แล้ว

    Hi, i don't see it, where you use digital output 4 ? d4 in the XOD programing, i saw that use for turn on ultrasonido but dont see in the program ? Bye Thank you

    • @EFO-FA
      @EFO-FA 6 ปีที่แล้ว +1

      digital output 4 is high "true" to feed the ultrasonic VCC 5v

  • @ubaidqadri2734
    @ubaidqadri2734 4 ปีที่แล้ว

    Please give code

  • @vladmirzhuikov935
    @vladmirzhuikov935 6 ปีที่แล้ว +4

    Скоммуниздил у ALEXGYVER show

    • @wileyfoxyx
      @wileyfoxyx 6 ปีที่แล้ว

      Teagamer 228 неа. Этот канал тоже его

  • @LETHALCAMARO44
    @LETHALCAMARO44 4 ปีที่แล้ว

    hey i have been trying to get my garbage can to open ike yours but it wouldnt even move. can anyone help me? i am using the Arduino Nano Everyday here is my code.
    #define maxH 50 // working distance
    #define cap_time 3 // time while cap is open, seconds
    #define open_angle 10 // open angle
    #define close_angle 155 // close angle
    #define debug 0 // debug information (0 off, 1 on)
    //-------------------- SETTINGS ----------------------
    // --- WIRING ---
    #define trigPin 3
    #define echoPin 2
    #define sensorVCC 4
    #define servoPin 5
    // --- WIRING ---
    #include // servo library
    Servo servo;
    long duration;
    byte distance;
    unsigned long open_timer;
    boolean open_flag;
    void setup() {
    Serial.begin(9600);
    if (debug) Serial.println("system start");
    servo.attach(servoPin);
    pinMode(trigPin, OUTPUT);
    digitalWrite(trigPin, 0);
    ;
    pinMode(echoPin, INPUT);
    pinMode(sensorVCC, OUTPUT);
    digitalWrite(sensorVCC, 0); // power off the sensor
    open_cap(); // open cap with system start
    }
    void open_cap() {
    if (debug) Serial.println("open");
    delay(1);
    servo.write(open_angle); // open cap
    delay(1000); // wait servo
    digitalWrite(5, 0); // disable servo
    open_flag = 1; // remember that cap is open
    }
    void close_cap() {
    if (debug) Serial.println("close");
    digitalWrite(5, 1); // power up the servo
    delay(1);
    servo.write(close_angle); // close cap
    delay(1000); // wait servo
    digitalWrite(5, 0); // disable servo
    open_flag = 0; // remember that cap is closed
    }
    void loop(){
    digitalWrite(sensorVCC, 1); // power up range sensor
    measure(); // first "idle" measure, there are some glitches without it
    distance = measure(); // get distance
    digitalWrite(sensorVCC, 0); // disable range sensor
    if (debug) {
    Serial.println(distance);
    delay(500);
    }
    if (distance > 5 && distance < maxH) { // if distance fit the range
    open_timer = 0; // reset timer
    if (!open_flag) { // if cap is closed
    open_cap();
    }
    } else {
    if (open_flag) { // if cap is open
    open_timer++; // timer increment
    if (open_timer > cap_time) { // if passed more than cap_time after cap was opened
    close_cap();
    }
    }
    }
    }
    // distance measuring function
    byte measure() {
    digitalWrite(trigPin, 0);
    delayMicroseconds(5);
    digitalWrite(trigPin, 1);
    delayMicroseconds(15);
    digitalWrite(trigPin, 0);
    duration = pulseIn(echoPin, HIGH);
    return (duration / 2) / 29;
    }

    • @temmyco4587
      @temmyco4587 ปีที่แล้ว

      A garbage can will probably need more than servo motors to move

  • @Username_K
    @Username_K 6 ปีที่แล้ว +1

    Ведро из фикспрайса

  • @anantsoni6335
    @anantsoni6335 6 ปีที่แล้ว

    Please help....

  • @3participate573
    @3participate573 3 ปีที่แล้ว

    Isme paise kitne lage

  • @sabiannenggalasunito6944
    @sabiannenggalasunito6944 4 ปีที่แล้ว

    wednesday ok

  • @papaperart3206
    @papaperart3206 7 ปีที่แล้ว

    Nice diy 😃
    (see our first video 😉)

  • @vladimirlee5928
    @vladimirlee5928 4 ปีที่แล้ว

    Plagiat!!!

  • @annacherish5734
    @annacherish5734 3 ปีที่แล้ว

    Amazing