Mayank

You might also like

Download as pdf or txt
Download as pdf or txt
You are on page 1of 14

Step1: Download the Arduino Software (IDE)

Step2: Choose the components to install.

Step3: Choose the installation directory.

Step4: Connect your Arduino to your PC

No error found while installing Arduino IDE to own device.


COMPONENTS REQUIRED:
Hardware Required:
1. PC/Laptop
2. Power supply

Software Required:
1. OS (Windows-10)
Proteus:
1)First of all, download the Proteus 7 Professional software
2) Once you downloaded the files, now extract them and
place them in some folder.
3) Next thing you need to do is to run the Setup file from
the package and it will start to install.
4)Use the recommended settings and once its done then it
will ask about the key.
5) The default key is given in the package so browse it and
upload it in the software.
6) Once the key is uploaded, now complete the setup and
you will get yourself a Proteus software.
7) After the completion, once more thing you need to do is
to install the software given in the next folder.
8)In the path selection, gave it the path to your
Proteus software, which you just installed.
9) Now hit run and after its complete, your Proteus
will become registered.

CONCLUSION:
we have successfully leaned the steps to installed Arduino IDE and Proteus
library to own device.
int led1=9;
int led2=8;
void setup()
{
pinMode(led1, OUTPUT);
pinMode(led2, OUTPUT);
Serial.begin(9600);
}
void loop()
{
digitalWrite(led1, HIGH);
digitalWrite(led2, LOW);
delay(1000); // Wait for 1000 millisecond(s)
//digitalWrite(led1,
HIGH);
//digitalWrite(led2,
HIGH);
//delay(1000); // Wait for 1000 millisecond(s)
//Turn off LED 1 and turn
on LED 2
digitalWrite(led1, LOW);
digitalWrite(led2, HIGH);
delay(1000); // Wait for
1000 millisecond(s)
//Turn off Both LEDs
digitalWrite(led1, LOW);
digitalWrite(led2, LOW);
}
COMPONENTS REQUIRED:
Hardware Required:
1. Aurduino Uno---1 Numbers
2. Leds---------------2 Numbers
3. Register----------2 Numbers
4. Jumper wires
Software required:
1.Arduino IDE-1.8.10

PROCEDURE:
1. Open Arduino IDE.(Interface Development Environment)
2. Write program in IDE.
3. Save the file in a folder with .ino extension.
4. Compile the code.
5. Make circuit connection as per the circuit diagram.
6. Upload the code in Arduino Board. 7. Check the result

CONCLUSION:
We successfully interfaced Two leds to Atmga 328P controller
and we observed that leds are blinked with some interval.
int LED=2; void
setup() {
// initialize digital pin LED_BUILTIN as an output. pinMode(LED,
OUTPUT);
}
// the loop function runs over and over again forever
void loop() {
DigitalWrite(LED, HIGH);// turn the LED on (HIGH is the
voltage level)
delay(1000); // wait for a second
digitalWrite(LED, LOW); // turn the LED off by making
the voltage LOW
delay(1000); // wait for a second
}
COMPONENT REQUIRED:

Hardware Required:
1. Arduino Uno---1 Numbers
2. Leds---------------2 Numbers
3. Register----------2 Numbers
4. Jumper wires

Software required:

1.Arduino IDE-1.8.10

CONCLUSION:
int led=13;
int sw=8; int
value=0;
void setup()
{ pinMode(led,
OUTPUT);
pinMode(sw, INPUT);
Serial.begin(9600);
}
void loop() {
value= digitalRead(sw);
if(value== HIGH)
{
digitalWrite(led,HIGH);
Serial.println("LED ON");
delay(1000);
}
else
{
digitalWrite(led,LOW);
Serial.println("LED OFF");
delay(1000);
}
}
COMPONENT REQUIRED:

Hardware Required:

1. Arduino Uno---1 Numbers


2. Leds---------------1 Numbers
3. Register----------2 Numbers
4. Switch------------ 1 Numbers
5. Jumper wires

Software required:

1.Arduino IDE-1.8.10

CONCLUSION:

We successfully interfaced led and switch to Atmega 328P


controller and we observed that led is controlled by using
switch
void setup() { Serial.begin(9600);
pinMode(2,OUTPUT);
}
void loop() {
float sensorValue = analogRead(A0);
// Reads the analog input ranging from 0 to 1023
Serial.println(sensorValue);
if(sensorValue<=9)
{
digitalWrite(2,HIGH);
}
else
digitalWrite(2,LOW);
}
COMPONENT REQUIRED:

Hardware Required:

1. Arduino Uno---1 Numbers


2. LDR---------------1 Numbers
3. Jumper wires

Software required:

Arduino IDE - 1.8.10

CONCLUSION:

We successfully configured LDR To Atmega 328p and got


the visual of temp listed on serial monitor.
Applied and Action Learning

Implementation Phase: Final Output (no error)


CIRCUIT DIAGRAM:

ASSESSMENT
Rubrics Full Mark Marks Obtained Remarks
Concept 10
Planning and Execution/ 10
Practical Simulation/ Programming
Result and Interpretation 10
Record of Applied and Action Learning 10
Viva 10
Total 50
Signature of the Student:
Name :

Signature of the Faculty: Regn. No.:


Page No.............

You might also like