Sun Tracker Solar Panel - Circuit Diagram | Dual Axis Without Arduino | Harish Projects

Image
 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………

Smart Shoes for Blind Persons / Intelligent walking Shoes / Best Science Project / Harish Projects

 Watch Full Making video on Youtube.


//........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);



}

Comments

Popular posts from this blog

Smart Bridge - Automatic Hight increase when flooding | Best science Project

Inspire Award Project | Train accident Prevention project | Best science Project / Harish Projects

How to make Wifi Talking robot with arduino codes and Diagram best science project