All pins are having a function without reserved
Some pins are reserved
Pins have more than one function
Multiplexing of some pins
Timing circuit
Break the circuit
Programmable circuit
Feedback circuit
12
13
14
16
While
If.else
#define
Case
Ohm
Farad
Henry
Coulomb
A subset of traditional C
An extension of traditional C
A superset of traditional C
Same as traditional C
4800
9600
19200
38400
Divide
Uno
Thrive
None of the above
To generate a PWM signal
To produce a sound on a buzzer with a specific frequency
To control the brightness of an LED
To read analog values
Script
Sketch
Module
Package
sketches
drawings
links
notes
#
$
^
%
G++
AVR- GCC
PYTHON
Both A and B
Icd.getcursor(0,0);
Icd.setcursor(0,0);
Icd.getcursor(0,1);
Icd.setcursor(0,1);
Only loop()
only setup()
setup() and loop()
can be either loop() or setup()
Use internet for collecting and sharing data
Need microcontrollers
Use wireless technology
Are completely safe
Bread Board
Shield
Actuator
Microprocessor
8
pinMode()
digitalWrite()
analogWrite()
setPin()
servo.attach()
servo.write()
servo.move()
servo.setPosition()
Application Programming Interface
Address Programming Interface
Accessing peripheral through the interface
Transmits
Receivers
Ground
Restarts
Environment
PC
IDE
SOME
Analog sensor
Digital sensor
Light sensor
Dust sensor
Arduino Duemileanove
Arduino Diecimila
Arduino Esplora
Arduino Due
tone(pin, frequency, duration)
tone(pin, duration, frequency)
tone(frequency, pin, duration)
tone(pin)
Timer
Oscillator
Microcontroller
Network connection
TCP IP protocol
Network protocol
TCP protocol
;
//
What is the objective of the code given below if it is executed on the Arduino Uno?
#include<EEPROM.h>int pin=13;void setup() {pinMode(pin,OUTPUT);Serial.begin(9600);{void loop()for(int i-0; i<EEPROM.length(); it+) {EEPROM.write(i, 1)digitalWrite(pin,HIGH;exit(0);}
Clear EEPROM
Fill EEPROM with 1's
Export EEPROM data
Fill EEPROM with 0's
1
2
3
4
2temp
float
temp_2
temp-value
Damage is caused
Sensor will work fine
Sensor will not respond for the time voltage applied
Sensor will function normally
Logic (1/0) not used for input/output.
Used for the digital conversion of analog values taken from external environment.
There are 6 analog input pins.
The resolution of each input is 10 bits.
Prototyping
Casting
Protocasting
Protocal Typing
Compile
Verify
Terminate
Serial monitor
A2
D2
PWM
5V
Digitalwrite()
Digitalread()
digitalRead()
A0 to A5
D0 to D13
GND
3.3V
skip
pass
continue
break
Arduino nano
Lilypad
Arduino uno
Arduino mega
2-bit
3-bit
8-bit
6-bit
United Serial Bus
Universal Serial Bus
United Search Bus
Only one
Two
Three
Any number of values
Lights
Clock
Voltage Divider
All of above
Predict the output of the following code if the object is moving towards the sensor.
int op = 6;int isBarrier = HIGH;void setup() {pinMode(op, INPUT);Serial.begin(9600);}void loop(){isBarrier = digitalRead(op);if (isBarrier == LOW) {Serial.print("1+");}else{Serial.print("clear+"); delay(100);}
clear+clear+1+1
1+1+clear+1
1+1+clear+clear
clear+clear+clear+clear
Infinite
0
What is the out come of the following Arduino code?
void setup(){
Serial.begin(9600);
}
void setup0{
Serial.write(20);
Send a signal to pin 20 on the Arduino board
Send a octal number of 20 through the Serial pins
Send a byte with value 20 through the Serial pins
Send a hexadecimal number of 20 through the Serial pins
Tell compiler where to find symbols that are not present in program
Give compiler instructions to compile the program
Define variables
Define functions
Laser emitting diode
Light Emitting diode
Lighting error diode