#soap
HTML-код
- Опубликовано: 5 фев 2025
- How to make automatic soap dispenser using arduino uno at home
#Metarials
1.Adruino Uno Board
2.Sonar sensor
3.servo motor
4.Jumper wire
5.Hand wash with bottom
6.Double shield tape
7.Glue gan
#Adruino code and program link
docs.google.co...
#Circuit design
drive.google.c...
How to make automatic soap dispenser using arduino uno at home. How to make touch less soap dispenser. Touch less hand wash or hand sanitizer
but you have explaned every thing nicely and clear
Mja pailm
Thank you
Ye coding h kya
#include
Servo servo;
int trigPin = 5;
int echoPin = 6;
int servoPin = 7;
int led= 10;
long duration, dist, average;
long aver[3]; //array for average
void setup() {
Serial.begin(9600);
servo.attach(servoPin);
pinMode(trigPin, OUTPUT);
pinMode(echoPin, INPUT);
servo.write(0); //close cap on power on
delay(100);
servo.detach();
}
void measure() {
digitalWrite(10,HIGH);
digitalWrite(trigPin, LOW);
delayMicroseconds(5);
digitalWrite(trigPin, HIGH);
delayMicroseconds(15);
digitalWrite(trigPin, LOW);
pinMode(echoPin, INPUT);
duration = pulseIn(echoPin, HIGH);
dist = (duration/2) / 29.1; //obtain distance
}
void loop() {
for (int i=0;i
Yes this one is correct
Thanks..
Very good.
why there have rubber band at the back of the soap dispenser. And I would like to ask if we use the String to tie with servo motor, is it can be pressed the button of soap dispenser ??
Do we need to install any libraries
Please tell
@@parthtripathi4318 Yes You need to install Servo
you just need to include the servo library, no need to install it
Sir please tell do we need to install libraries also
Yeah
no you dont need to install any library for this silly Project
Thank you so much ❤️❤️
can i use arduino nano for this? can anyone provide me the proteus design?
Bro better is aurdino uno
arduino uno and nano is same, u can use whatever you want
what version of arduino ide
I want this project ready
tumne kon se version ka arduini software download kiya h
Android version
AdruinoDroid
@@mtechone1903 sir which servo libraries in arduino droid we have to add
Sweep or knob
Sweep
nice tutorial..the code works for me and if u can plz made the simulation in protuse of this project....
How?
The code is not working
what is size of g i wire Sir?
I've figured out the problem with the code you didn't add the last curly bracket but there is one more problem
I've used the same electronic components as you used and the connections are correct too but after uploading the code to Arduino nothing works why is it soo, although every sensor and component is fine
Yeah same for me now . The servo works on his own . He ain't working based on The sensor .. any solution ??
Hello
Pls tell where is the coding
the given code is wrong
worst
can u please provide the report for this project?
I am uploading through my samsung tab
It is showing error compilation
Try again... Please check out your connection
Do we need to install librAries
Bro check the board type in settings in the app. Then it will work
any one this project please comment this post because i want to purchase this project
can you plz send me the code because theres a problem
?
docs.google.com/document/d/1XGPefYs6Y2J9aPndlBEMdP_KhaR8-z02qmlf4GxPkfs/edit?usp=drivesdk
Bro there is one last curly bracket missing from code .Put that on last and code will work fine.
Bhai video quality to sahi kar le
this code does not work so can you send another code
yess!!! its not working
How to supply 9v DC in arduino uno
Use a 9V dc battery cap, Arduino can take 9V dc input
Servo motor capacity? Grams
9g
Nine gram servo
There's a problem . The servo motor works On his own , i did every single step .but the servo work based on the last part of the code , he ain't workig based on The sonar sensor ... solution please
ols use blue colour sensor
@@isumwickramanayake8714 SENSOR SEPERTI PADA GAMBAR TETAPI TETAP TIDAK BISA
dist=(aver[0]+aver[1aver[2])/3;
this line has errors.
code is not uploading
Press the reset button then upload arduino code..
Please use laptop or pc for uploading arduino code.
@@mtechone1903 bro for me also not working in uploading in my laptop only
Can anyone know the block diagram
Please check the description
@@mtechone1903 ok
there is a problem in code
pls reply submission tomorrow
pls reply
Which device you are using for upload arduino code
Please make sure connection and uploading device
Whats the code?
Arduino program
i can't get diagram
Now diagram is ready to download
drive.google.com/file/d/11SbTVmBGGTxHcJqKB00A1qHW3x3Ax5BT/view?usp=drivesdk
bhai arduino code upload nhi ho rha h
Which device you are using for upload arduino code?
Connection must be right hote hobe
there is one last curly bracket missing from code
Please correct the code and reply submission
please can you give me
I am already sent you circuit diagram link. Now you can download it from Google drive with this link .
@@mtechone1903 macam mna
Hi bro,
can U add that .ino file pls...
its urgent bro
Sry brother. I have no. Ino files yet
gak work 👎🏼👎🏼