Circuit Components List 1. TDA2822 IC 2x 2. 10k ohm Resistor 4x 3. 5mm LDR 4x 4. N20 Gear Motor 2x 5. N20 Wheel 6. Solar Panel 7. Zero PCB 8. Sunboard 9. 3.7v Small Battery 10. Charging Module 11. Tip Top Button Ordre all components from Here Click here 👉 https://harishprojects.com/ …….. Circuit Diagram……….. ……….Watch full Detailed video………
Automatic Railway Gate | Arduino & IR sensor Best science Project 2023 | Harish Projects
- Get link
- Other Apps
....Watch Full Detailed video....
//Arduino code//
/*
1. If an object is detected, turn the
servo motor 10 degrees
2. If there is no object detected,
turn the servo motor 150 degrees
*/
#include <Servo.h>
Servo Serv;
int pinIR=3;
int pinServo=5;
int val=0;
void setup(){
Serv.attach(pinServo);
}
void loop(){
val = digitalRead(pinIR);
if (val ==0){
Serv.write(95);
delay(100);
}
else
{
Serv.write(10);
delay(100);
}
}
//You can order Project kit from us.
Contact:-
WP - 8602221288
Instagram - https://www.instagram.com/harishchoudhary70/reels/?hl=en
- Get link
- Other Apps
Popular posts from this blog
Smart Bridge - Automatic Hight increase when flooding | Best science Project
Watch video on YouTube. //Arduino Code// #include <Servo.h> #include <Servo.h> Servo tap_servo; int sensor_pin = 5; int tap_servo_pin =4; int val; void setup(){ pinMode(sensor_pin,INPUT); tap_servo.attach(tap_servo_pin); } void loop(){ val = digitalRead(sensor_pin); if (val==0) {tap_servo.write(0); } if (val==1) {tap_servo.write(90); } } //Project Diagram// Contact us for support - https://www.instagram.com/harishchoudhary70/
Inspire Award Project | Train accident Prevention project | Best science Project / Harish Projects
Full Making video Link - https://youtu.be/nz6UnFjr__g //Arduino Code// const int trigPin = 12 ; const int echoPin = 13 ; const int LED1 = A0 ; const int LED2 = A1 ; const int LED3 = A2 ; const int LED4 = A3 ; const int LED5 = A4 ; const int LED6 = A5 ; const int LED7 = 2 ; int duration = 0 ; int distance = 0 ; void setup () { pinMode ( trigPin , OUTPUT ); pinMode ( echoPin , INPUT ); pinMode ( LED1 , OUTPUT ); pinMode ( LED2 , OUTPUT ); pinMode ( LED3 , OUTPUT ); pinMode ( LED4 , OUTPUT ); pinMode ( LED5 , OUTPUT ); pinMode ( LED6 , OUTPUT ); pinMode ( LED7 , OUTPUT ); Serial . begin ( 9600 ); } void loop () { digitalWrite ( trigPin , LOW ); delayMicroseconds ( 2 ); digitalWrite ( trigPin , HIGH ); delayMicroseconds ( 10 ); digitalWrite ( trigPin , LOW ); duration = pulseIn ( echoPin , HIGH ); distance = duration / 58.2 ; if ( dist
How to make Wifi Talking robot with arduino codes and Diagram best science project
Click here - https://youtu.be/-rHo0PzCPlI .........................Arduino Code............................ #define ENA 14 #define ENB 12 #define IN_1 15 #define IN_2 13 #define IN_3 2 #define IN_4 0 #include <ESP8266WiFi.h> #include <WiFiClient.h> #include <ESP8266WebServer.h> String command; int speedCar = 800 ; int speed_Coeff = 3 ; const char * ssid = "Harish Projects wifi car" ; ESP8266WebServer server ( 80 ); void setup () { pinMode (ENA, OUTPUT); pinMode (ENB, OUTPUT); pinMode (IN_1, OUTPUT); pinMode (IN_2, OUTPUT); pinMode (IN_3, OUTPUT); pinMode (IN_4, OUTPUT); Serial . begin ( 115200 ); // Connecting WiFi WiFi . mode (WIFI_AP); WiFi . softAP (ssid); IPAddress myIP = WiFi . softAPI
Comments