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

  Рет қаралды 7,152

LXG Design

LXG Design

Күн бұрын

Пікірлер: 26
@Tom-zq7lu
@Tom-zq7lu 9 ай бұрын
Fantastic and beautiful thank 😊
@leelameka
@leelameka 5 ай бұрын
Thank you! for sharing the schematics and code : )
@Kimihoayto_lovesanime
@Kimihoayto_lovesanime 5 ай бұрын
hello where do you make the schematic?
@nextLevelVibesss
@nextLevelVibesss 4 ай бұрын
why does my servo keep spinning around and doesnt stop on the angle i want it to stop
@harinichandru8574
@harinichandru8574 Ай бұрын
Sir what is battery name
@anaclaro635
@anaclaro635 9 ай бұрын
Me parece un proyecto maravilloso. Si compartieras el código sería sublime.
@lxgdesign
@lxgdesign 9 ай бұрын
Ohh, i used the same code with the path-finding robot, just change alittle bit
@anaclaro635
@anaclaro635 9 ай бұрын
Lo buscaré porque voy a intentar hacer tú proyecto este fin de semana ❤
@lxgdesign
@lxgdesign 9 ай бұрын
//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 9 ай бұрын
I updated my code and schematic, check the description box
@anaclaro635
@anaclaro635 9 ай бұрын
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
@ezekielmanahan2441
@ezekielmanahan2441 4 ай бұрын
why the code says "Compilation error: NewPing.h: No such file or directory"
@ReyanG24
@ReyanG24 4 ай бұрын
cuz u didnt include the library for it 😭
@nextLevelVibesss
@nextLevelVibesss 4 ай бұрын
@@ReyanG24 what is the library name
@viaroselangam2380
@viaroselangam2380 9 ай бұрын
What model of arduino uno did you use?
@lxgdesign
@lxgdesign 9 ай бұрын
Arduino Uno
@harinichandru8574
@harinichandru8574 Ай бұрын
The model is not working
@Onlythefamily975
@Onlythefamily975 7 ай бұрын
Can you give me the code please
@HoanLuongjb
@HoanLuongjb 9 ай бұрын
A tôi vẫn đỉnh
@lxgdesign
@lxgdesign 9 ай бұрын
:v, kỹ sư thất nghiệp, làm mấy thứ tào lao thôi e
@gordonendt
@gordonendt 9 ай бұрын
Love it!
@lxgdesign
@lxgdesign 9 ай бұрын
Thanks :))
@ReyanG24
@ReyanG24 4 ай бұрын
rip wheels
Make Dumb Electronics Smart for $3
13:13
I Like To Make Stuff
Рет қаралды 802 М.
Building a Working LEGO Laptop...
33:42
Brick Machines
Рет қаралды 1 МЛН
Try this prank with your friends 😂 @karina-kola
00:18
Andrey Grechka
Рет қаралды 9 МЛН
How to treat Acne💉
00:31
ISSEI / いっせい
Рет қаралды 108 МЛН
Enceinte et en Bazard: Les Chroniques du Nettoyage ! 🚽✨
00:21
Two More French
Рет қаралды 42 МЛН
Amazing Idea Using Ultrasonic Sensor and Plastic Dustbin
13:24
Electromagnetic Aircraft Launcher
15:09
Tom Stanton
Рет қаралды 2,6 МЛН
3 Hours vs. 3 Years of Blender
17:44
Isto Inc.
Рет қаралды 6 МЛН
Making a Fully Functional Jet Engine using Soda can | diy Jet Engine
16:27
The BEST Mechanical Display You've EVER Seen!!!
13:51
Tin Foil Hat
Рет қаралды 552 М.
Robotic Arm with Arduino - Save/Play/Export/Import Positions.
9:48
FABRI creator
Рет қаралды 219 М.
The most complex LEGO Tank
17:56
Brick Technology
Рет қаралды 1,8 МЛН
Make a TINY Arduino Drone with FPV Camera - Will It Fly?
20:26
Max Imagination
Рет қаралды 1,5 МЛН