Make a Smart Trash Can using Cardboard, Arduino, Servo and Ultrasonic Sensor

แชร์
ฝัง

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

  • @Tom-zq7lu
    @Tom-zq7lu 3 หลายเดือนก่อน +1

    Fantastic and beautiful thank 😊

  • @gordonendt
    @gordonendt 3 หลายเดือนก่อน

    Love it!

    • @lxgdesign
      @lxgdesign  3 หลายเดือนก่อน

      Thanks :))

  • @Vosionmara12
    @Vosionmara12 หลายเดือนก่อน

    Can you give me the code please

  • @viaroselangam2380
    @viaroselangam2380 3 หลายเดือนก่อน

    What model of arduino uno did you use?

    • @lxgdesign
      @lxgdesign  3 หลายเดือนก่อน

      Arduino Uno

  • @HoanLuongjb
    @HoanLuongjb 3 หลายเดือนก่อน

    A tôi vẫn đỉnh

    • @lxgdesign
      @lxgdesign  3 หลายเดือนก่อน

      :v, kỹ sư thất nghiệp, làm mấy thứ tào lao thôi e

  • @anaclaro635
    @anaclaro635 3 หลายเดือนก่อน

    Me parece un proyecto maravilloso. Si compartieras el código sería sublime.

    • @lxgdesign
      @lxgdesign  3 หลายเดือนก่อน

      Ohh, i used the same code with the path-finding robot, just change alittle bit

    • @anaclaro635
      @anaclaro635 3 หลายเดือนก่อน

      Lo buscaré porque voy a intentar hacer tú proyecto este fin de semana ❤

    • @lxgdesign
      @lxgdesign  3 หลายเดือนก่อน

      //as you want :))
      #include //Servo motor library. This is standard library
      #include //Ultrasonic sensor function library. You must install this library
      #define trig_pin A1 //analog input 1
      #define echo_pin A2 //analog input 2
      #define maximum_distance 200
      int distance = 100;
      NewPing sonar(trig_pin, echo_pin, maximum_distance); //sensor function
      Servo servo_motor; //our servo name
      void setup(){
      servo_motor.attach(10); //our servo pin
      servo_motor.write(100);
      delay(2000);
      distance = readPing();
      delay(100);
      distance = readPing();
      delay(100);
      distance = readPing();
      delay(100);
      distance = readPing();
      delay(100);
      }
      void loop()
      {
      if (distance

    • @lxgdesign
      @lxgdesign  3 หลายเดือนก่อน +1

      I updated my code and schematic, check the description box

    • @anaclaro635
      @anaclaro635 3 หลายเดือนก่อน

      Muchísimas gracias, de verdad!! 🤗 Ya tengo listo el cubo de basura aunque creo que lo he hecho demasiado grande y no sé si el servo tendrá la fuerza suficiente para levantar la tapa 🤪 Ahora voy a cargar tu programa y probarlo antes de pegar los componentes en el cubo@@lxgdesign