Download as pptx, pdf, or txt
Download as pptx, pdf, or txt
You are on page 1of 21

A Presentation

by
Irfan Khalid
Contents
Hardware project (Without Coding)
Basic Introduction
Basic Project
Power Supply Circuit
Charging Circuit
AC to DC Convertor
DC to AC Convertor
implementation of ohm's law etc.
Simulation Software
Hardware Project using macro controller (Coding included )
Basic Intro
Basic Project
Arduino based distance sensor
Traffic Lights System
Bottle Filling
Automatic Pet Watering System etc.
IDE for Macro controller (software)
Simulation
List of Components

Bread Board(Solder less Board)


Connecting wires
Battery Supply
LED’s (Light Emitting Diode)
Arduino uno

Switchs etc
Breadboard
Bus Strip

Terminal Strip

Gab Here
LED
DC Power Supply
Connecting Wires
Basic Circuit
Micro Controller
Micro Controller

A is a computer present in a single integrated circuit which is


dedicated to perform one task and execute one specific
application. It contains memory, programmable input/output
peripherals as well a processor.
Arduino
Software and Hardware

Arduino Software (IDE)


The open-source

Arduino
Arduino Structure
Program Structure
Example
Experiment #1
Blink an LED using Arduino
Components/Apparatus:
• Ardnino Uno
• Resistance
• LED
• Connecting wire
• PC(IDE)
• Battery
• Communication Cable (USB Cable)

Circuit Diagram:
Code:

void setup()
{
pinMode(13, OUTPUT);
}
void loop()
{
digitalWrite(13, HIGH);
delay(1000); // Wait for 1000 millisecond(s)
digitalWrite(13, LOW);
delay(1000); // Wait for 1000 millisecond(s)
}
Experiment #2
LED Control by using Bush Button
Components/Apparatus:
• Ardnino Uno
• Resistance
• LED
• Connecting wire
• PC(IDE)
• Battery
• Switch
• Communication Cable (USB Cable)
ON /OFF LED using Switch
Code:

int buttonState = 0;
void setup()
{
pinMode(2, INPUT);
pinMode(13, OUTPUT);
}
void loop()
{
// read the state of the pushbutton value
buttonState = digitalRead(2);
// check if pushbutton is pressed. if it is, the
// buttonState is HIGH
if (buttonState == HIGH) {
// turn LED on
digitalWrite(13, HIGH);
}
else
{
// turn LED off
digitalWrite(13, LOW);
}
How to use meters in circuit diagram?
(A, V, R)
•Thank you for
your attention

You might also like