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

How to make phone controlled Smart face mask best science project. #scienceproject


                     Click Here to watch video - https://www.youtube.com/watch?v=SE1QYyHkadc


                                                                         --Arduino Code--


#include <SoftwareSerial.h> // TX RX software library for bluetooth


#include <Servo.h> // servo library 

Servo myservo; // servo name


int bluetoothTx = 10; // bluetooth tx to 10 pin

int bluetoothRx = 11; // bluetooth rx to 11 pin


SoftwareSerial bluetooth(bluetoothTx, bluetoothRx);


void setup()

{

  myservo.attach(9); // attach servo signal wire to pin 9

  //Setup usb serial connection to computer

  Serial.begin(9600);


  //Setup Bluetooth serial connection to android

  bluetooth.begin(9600);

}


void loop()

{

  //Read from bluetooth and write to usb serial

  if(bluetooth.available()> 0 ) // receive number from bluetooth

  {

    int servopos = bluetooth.read(); // save the received number to servopos

    Serial.println(servopos); // serial print servopos current number received from bluetooth

    myservo.write(servopos); // roate the servo the angle received from the android app

  }



}



                                                                       

Comments

alan antony said…
bro how to instal the app

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