Thursday, December 26, 2024

Arduino project

 Automatic water dispenser using arduino UNO


CIRCUIT DIAGRAM :-

Code🔻

#include <Servo.h>

Servo Servo;

int ir_sensor = 8;

int servo_motor =7;

int val;

void setup()

{ pinMode(ir_sensor, INPUT);

Servo.attach(servo_motor);

}

void loop()

{ val = digitalRead(ir_sensor);

if (val==0)

{ Servo.write(0);

}

if (val==1)

{ Servo.write(90); }

}

Thursday, December 12, 2024

Tuesday, September 17, 2024

Simple IR led project using Arduino uno

 

SUBSCRIBE TO OUR CHANNEL HERE

FOR CONNECTIONS AND detailed video click here

CODE :

void setup()
{
  pinMode(13,OUTPUT);
  pinMode(3,INPUT);
  Serial.begin(9600);
}
void loop()
{
  if (digitalRead(3)== LOW)
  {
    digitalWrite(13,HIGH);
    
    delay(5000);
  }
  else 
  {
    
    digitalWrite(13,LOW);
    delay(10);
    
  }
  
}

Tuesday, March 12, 2024

 Smart Dustbin using Arduino and Ultrasonic Sensor

Project Used Hardware

  • Arduino UNO,
  • Jumper Wires,
  • Servo Motor,
  • Ultrasonic Sensor


circuit diagram shown below 




SOFTWARE PROGRAM :

#include <Servo.h>   //servo library
Servo sg90;  
int echo = 7;   
int trig = 6;    
int servopin = 8;
int distance;
int duration;



void setup() {       
    sg90.attach(8);
    pinMode(trig, OUTPUT);  
    pinMode(echo, INPUT);  
  


void loop() {
  digitalWrite(trig,0);
  delay(2);
  digitalWrite(trig,1);
  delayMicroseconds(10);
  digitalWrite(trig,0); 
  duration = pulseIn(echo,1);
  distance = duration*0.034/2;

  
if ( distance<30 ) {   
 sg90.write(0);    
 delay(4500);
 Serial.print(distance);
}
 else{
  sg90.write(180);
  delay(50);
 }
}


 


Tuesday, January 2, 2024

LED SERIES CONNECTION




SUBSCRIBE TO OUR YOUTUBE CHANNEL click here
      

                                CIRCUIT DIAGRAm

   


The LED symbol is the standard symbol for a diode with the addition of two small arrows denoting emission (of light). Hence the name, light emitting diode (LED). The "A" indicates the anode, or plus (+) connection, and the "C" the cathode, or minus (-) connection. We've said it before, but it bears repeating: LEDs are strictly DC devices and will not function using AC (alternating current). When powering an LED, unless the voltage source exactly matches the LED device voltage, a "limiting" resistor must be used in series with the LED. Without this limiting resistor, the LED would instantly burn out.
In our circuits below, we use the battery symbol to indicate a power source. Power could just a easily be provided by a power supply, or wheel pickups from track on a layout. Whatever the source, the important thing is it must be DC and well regulated to prevent over-voltage fluctuations causing damage to the LEDs. If the voltage source is to be supplied from track pickups, a bridge rectifier should be used to ensure LEDs only receive DC and unchanging polarity.
The switch symbols are fairly straightforward. A single-pole, single-throw (SPST) switch is simply an on-off function, while the SPDT (double-throw) switch allows for routing between two different circuits. It can be used as a single-throw switch if one side is not connected to anything. The push-button is a momentary contact switch.
The capacitor symbol we're using here is for the electrolytic or polarized type of capacitor. That is, it must be used in a DC circuit and connected properly (plus connection to the plus voltage), or it will be damaged. For our purposes, it is used for momentary storage, to help "smooth out" fluctuations in supply voltage caused by small losses as wheels picking up power roll across dirty spots in the track or gaps at turnouts. Polarized capacitors are graded by different maximum DC voltage ratings. Always use a capacitor who's rating safely exceeds the maximum voltage expected in your application.



                                                                thank you for visit
                                                                          -afsar ahamed

Saturday, November 4, 2023

SPEAKER AMPLIFIER

💫Its very easy to make 
sound amplifer using (13007) transistors


                                                     ☝   CIRCUIT DIAGRAM ☝


SUBSCRIBE  FOR MORE DIY AND ELECTRONICS   CLICK HERE

full detailed video link ;- click here



components you NEEDED :-

capacitor 16v 1000uf    --    1

transitor 13007              --    2

resister 1kilo ohms        --    1

aux cable or 3.5 mm jck -    1


                                           

                                       thank you for vist🙌







Arduino project

 Automatic water dispenser using arduino UNO CIRCUIT DIAGRAM :- Code🔻 #include <Servo.h> Servo Servo; int ir_sensor = 8; int servo_mo...