Posts

Showing posts from December, 2020

Wet & Dry Waste Smart Dustbin for House | Best science Project | Harish Projects

Image
 Watch Full Detailed video 👇🏻 Diagram in Video👆 //Arduino Code// //YouTube: Harish Projects //Order Electronic Parts & Project kit:  HarishProjects.com // #include <Servo.h> Servo servo1; const int trigPin = 12; const int echoPin = 11; long duration; int distance=0; int potPin = A0; //input pin int soil=0; int fsoil; void setup()  {   Serial.begin(9600); //Serial.print("Humidity"); pinMode(trigPin, OUTPUT);  pinMode(echoPin, INPUT);  servo1.attach(8); } void loop()  { //YouTube: Harish Projects //Order Electronic Parts & Project kit:  HarishProjects.com //      int soil=0;   for(int i=0;i<2;i++)   { digitalWrite(trigPin, LOW); delayMicroseconds(7); digitalWrite(trigPin, HIGH); delayMicroseconds(10); digitalWrite(trigPin, LOW); delayMicroseconds(10); duration = pulseIn(echoPin, HIGH); distance= duration*0.034/2+distance; delay(10);   }   distance=distance/2;   Serial.println(distance); if ...

Smart Railway station accident Prevention. Best science Project

Image
    .................Arduino Code............. #include <Servo.h> //servo library 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<=2;i++) { //average distance measure(); aver[i]=dist; delay(10); //delay between measurements } dist=(aver[0]+aver[1]+aver[2])/...

smart Home Arduino Bluetooth controller Application free Download 100% working App

Image
                                      ............................ Click here to Download.................................. https://apkpure.com/in/home-automation-with-arduino/appinventor.ai_poddarrupak2808.HomeAutomation

How to make smart Home smart Home automation Arduino code + Diagram + video

Image
YouTube video link        ..............ARDUINO CODE.............. int state; int flag=0; int stateStop=0; void setup() { pinMode(10, OUTPUT); Serial.begin(9600); } void loop() { if(Serial.available() > 0) { state = Serial.read(); flag=0; if (state == 'A') { digitalWrite(10, LOW); } if (state == '1') { digitalWrite(10, HIGH); } if (state == '2') { digitalWrite(10, LOW); } } }

Best Arduino Projects || YouTube "Harish Projects"

Image
 Click here for new science projects https://youtube.com/c/HarishProjects

ARDUINO CAR CONTROLLER APPLICATION

Image
                                                                Click here to Download  https://play.google.com/store/apps/details?id=io.kodular.nguyenchienfb.jRobotControl&hl=en

How to make Phone control RC car using Arduino #phoneControlCar

Image
                                     https://www.youtube.com/watch?v=EYlIB1PQ8R0&t=131s                                                    ......................ARDUINO CODE................. char t ; void setup () { pinMode ( 13 , OUTPUT ); //left motors forward pinMode ( 12 , OUTPUT ); //left motors reverse pinMode ( 11 , OUTPUT ); //right motors forward pinMode ( 10 , OUTPUT ); //right motors reverse pinMode ( 9 , OUTPUT ); //Led Serial . begin ( 9600 ); } void loop () { if ( Serial . available ()){ t = Serial . read (); Serial . println ( t ); } if ( t == 'F' ){ //move forward(all motors rotate in forward direction) digitalWrite ( 13 , HIGH ); digitalWrite ( 11 , HIGH ); } else if ( t =...

Build a Social Distancing science Project. Arduino code & Diagram.

Image
https://www.youtube.com/watch?v=pmRF4nCdaPs ...............ARDUINO CODE.....................  #define buzzer 6 void setup() { pinMode(12,OUTPUT);//Trigger pinMode(13,INPUT);//EchoA pinMode(6,OUTPUT);//Buzzer } void loop() { long duration, distance; digitalWrite(12,LOW); delayMicroseconds(2); digitalWrite(12,HIGH); delayMicroseconds(10); digitalWrite(12,LOW); duration=pulseIn(13,HIGH); distance=(duration/2)/29.1; if (distance < 70)     // This is where checking the distance you can change the value {  // When the the distance below 100cm digitalWrite(6,HIGH); } else { // when greater than 100cm digitalWrite(6,LOW); } delay(500); }

Robotics Arm using servo motor Arduino code & Diagram.

Image
                                               https://www.youtube.com/watch?v=ICYtnIlLB9Q&t=32s ..............................Arduino code.................... #include <Servo.h> Servo myservo; Servo myservo1; int pos=0; void setup() {   // put your setup code here, to run once: myservo.attach(12); myservo1.attach(13); } void loop() {   // put your main code here, to run repeatedly: for(pos=0;pos<=180;pos+=1) {   myservo.write(pos); delay(5); } for(pos=180;pos>=0;pos-=1) {   myservo.write(pos); delay(5); } for(pos=0;pos<=180;pos+=1) {   myservo1.write(pos); delay(5); } for(pos=180;pos>=0;pos-=1) {   myservo1.write(pos); delay(5); } }