Draw generalized block diagram of Micro-controller. (અઅ) માઇ(cid:5)ોક(cid:8)ટ(cid:10)ોલર નો સામા(cid:8)ય (cid:16)લોક ડાયા(cid:18)ામ દોરો. ૦૦૩૩
[3 marks]List any four commercially available micro-controller. (બબ) બ(cid:24)રમા મળતા કોઈ ચાર માઇ(cid:5)ો ક(cid:8)ટ(cid:10)ોલર ની યાદી બનાવો. ૦૦૪૪
[4 marks]Give five points in comparison to Arduino Mega and Uno. (કક) આરડયનો મગા અન ઉનોની સરખામણીના પાચ મ(cid:41)ા આપો. ૦૦૭૭
[7 marks]Give five points in comparison to Arduino Mega and Nano. (કક) આરડયનો મગા અન નનોની સરખામણીના પાચ મ(cid:41)ા આપો. ૦૦૭૭
[7 marks]Draw block diagram to interface 02 LED and LCD with Arduino Mega. (અઅ) આરડયનો મગા સાથ 02 એલઇડી અન એલસીડી ઈ(cid:8)ટરફસ કરવાનો (cid:16)લોક ડાયા(cid:18)ામ દોરો. ૦૦૩૩
[3 marks]Draw schematic diagram to interface 02 LED and LCD with Arduino Mega. 02 LED anode to be connected with pin no 35 and 36. (બબ) આરડયનો મગા સાથ 02 એલઇડી અન એલસીડી ઈ(cid:8)ટરફસ કરવાનો સકમ(cid:46)ટક ડાયા(cid:18)ામ દોરો. ૦૦૪૪ 02 એલઇડી ના એનોડ પન નબર 35 અન 36 સાથ (cid:48)ડાયલ છ.
[4 marks]Write a program to interface 02 LED (Green & Red( and LCD with Arduino Mega. LED anode to be connected with pin no 35 and 36. Green and Red LEDs to be turn on for 03 Seconds and turn off for 03 seconds alternately. Which LED on and which are off that should be display in LCD. (કક) આરડયનો મગા સાથ 02 ((cid:18)ીન અન રડ) એલઇડી અન એલસીડી ઈ(cid:8)ટરફસ કરવાનો (cid:50)ો(cid:18)ામ ૦૦૭૭ લખો. 02 એલઇડી ના એનોડ પન નબર 35 અન 36 સાથ (cid:48)ડાયલ છ. (cid:18)ીન અન રડ એલઇડી વારા ફરતી 3 સક(cid:8)ડ માટ ચાલ અન 3 સક(cid:8)ડ માટ બધ થતા રહવી (cid:48)ઈએ. કઈ એલઇડી ચાલ છ અન કઈ બધ છ ત એલસીડી મા (cid:50)(cid:8)ટ થવ (cid:48)ઈએ.
[7 marks]Draw block diagram to interface 02 LED and Push Button with Arduino Mega. Page 1 of (અઅ) 02 એલઇડી અન પશ બટન ન આરડયનો મગા સાથ ઈ(cid:8)ટરફસ કરવાનો (cid:16)લોક ડાયા(cid:18)ામ દોરો. ૦૦૩૩
[5 marks]Draw schematic diagram to interface 02 LED and Push Button with Arduino Mega. 02 LED anode to be connected with pin no 25 and 26. (બબ) આરડયનો મગા સાથ 02 એલઇડી અન પશ બટન ઈ(cid:8)ટરફસ કરવાનો સકમ(cid:46)ટક ડાયા(cid:18)ામ ૦૦૪૪ દોરો. 02 એલઇડી ના એનોડ પન નબર 25 અન 26 સાથ (cid:48)ડાયલ છ.
[4 marks]Write a program to interface 02 LED (Red and Green) and Push Button with Arduino Mega. 02 LED anode to be connected with pin no 25 and 26. When we press the push button, Red LED should be ON otherwise Green LED to be remains ON. (કક) આરડયનો મગા સાથ 02 એલઇડી (રડ અન (cid:18)ીન) અન પશ બટન ઈ(cid:8)ટરફસ કરવાનો (cid:50)ો(cid:18)ામ ૦૦૭૭ લખો. 02 એલઇડી ના એનોડ પન નબર 25 અન 26 સાથ (cid:48)ડાયલ છ. (cid:54)યાર પશ બટન દબાવવામા આવ (cid:55)યાર રલ એલઇડી ચાલ થવી (cid:48)ઈએ ન(cid:46)હતર (cid:18)ીન એલઇડી ચાલ રહવી (cid:48)ઈએ.
[7 marks]Draw block diagram to interface Fire Sensor, 02 LED, Buzzer and LCD with Arduino Mega. (અઅ) ફાયર સ(cid:8)સર, 02 એલઇડી, બઝર અન એલસીડી ન આરડયનો મગા સાથ ઇ(cid:8)ટરફસ કરવાનો ૦૦૩૩ (cid:16)લોક ડાયા(cid:18)ામ દોરો.
[3 marks]Draw schematic diagram to interface Fire Sensor, 02 LED, Buzzer and LCD with Arduino Mega. Fire sensor to be connected with pin no 24,02 LED anode to be connected with pin no 25 and 26, Buzzer to be connected with pin no 27. (બબ) આરડયનો મગા સાથ ફાયર સ(cid:8)સર, 02 એલઇડી, બઝર, અન એલસીડી ઈ(cid:8)ટરફસ કરવાનો ૦૦૪૪ સકમ(cid:46)ટક ડાયા(cid:18)ામ દોરો. ફાયર સ(cid:8)સર પન નબર 24 સાથ, 02 એલઇડી ના એનોડ પન નબર 25 અન 26 સાથ અન બઝર પન નબર 27 સાથ (cid:48)ડાયલ છ.
[4 marks]Write a program to interface Fire Sensor, 02 LED, Buzzer and LCD with Arduino Mega. Fire sensor to be connected with pin no 24,02 LED anode to be connected with pin no 25 and 26, Buzzer to be connected with pin no 27. (કક) આરડયનો મગા સાથ ફાયર સ(cid:8)સર, 02 એલઇડી(રડ અન (cid:18)ીન), બઝર, અન એલસીડી ૦૦૭૭ ઈ(cid:8)ટરફસ કરવાનો (cid:50)ો(cid:18)ામ લખો. ફાયર સ(cid:8)સર પન નબર 24 સાથ, 02 એલઇડી ના એનોડ પન નબર 25 અન 26 સાથ અન બઝર પન નબર 27 સાથ (cid:48)ડાયલ છ. (cid:54)યાર આગ લાગ (cid:55)યાર રડ એલઇડી અન બઝર ચાલ થવ (cid:48)ઈએ તથા એલસીડી મા " (cid:50)(cid:8)ટ થવ (cid:48)ઈએ. ન(cid:46)હતર (cid:18)ીન એલઇડી ચાલ રહવી (cid:48)ઈએ અન એલસીડીમા (cid:50)(cid:8)ટ થવ (cid:48)ઈએ.
[7 marks]Draw block diagram to interface Alcohol Sensor, Red LED, Buzzer and LCD with Arduino Mega. (અઅ) આ(cid:57)કોહોલ સ(cid:8)સર, રડ એલઇડી, બઝર અન એલસીડી ન આરડયનો મગા સાથ ઇ(cid:8)ટરફસ ૦૦૩૩ કરવાનો (cid:16)લોક ડાયા(cid:18)ામ દોરો.
[3 marks]Draw block diagram to interface Ultrasonic Sensor, Buzzer and LCD with Arduino Mega. (અઅ) અ(cid:57)ટ(cid:10)ાસોિનક સ(cid:8)સર, બઝર અન એલસીડી ન આરડયનો મગા સાથ ઈ(cid:8)ટરફસ કરવાનો (cid:16)લોક ૦૦૩૩ ડાયા(cid:18)ામ દોરો.
[3 marks]Draw schematic diagram to interface Ultrasonic Sensor, Buzzer and LCD with Arduino Mega. Ultrasonic sensor to be connected with pin no A0, Buzzer to be connected with pin no 22. (બબ) આરડયનો મગા સાથ અ(cid:57)ટ(cid:10)ાસોિનક સ(cid:8)સર, બઝર, અન એલસીડી ઈ(cid:8)ટરફસ કરવાનો સકમ(cid:46)ટક ૦૦૪૪ ડાયા(cid:18)ામ દોરો. અ(cid:57)ટ(cid:10)ાસોિનક સ(cid:8)સર પન નબર A0 સાથ, અન બઝર પન નબર 22 સાથ (cid:48)ડાયલ છ.
[4 marks]Write a program to interface Ultrasonic Sensor, Buzzer and LCD with Arduino Mega. Ultrasonic sensor to be connected with pin no A0, Buzzer to be connected with pin no 22. LCD should display distance in cm. (કક) આરડયનો મગા સાથ અ(cid:57)ટ(cid:10)ાસોિનક સ(cid:8)સર, બઝર, અન એલસીડી ઈ(cid:8)ટરફસ કરવાનો (cid:50)ો(cid:18)ામ ૦૦૭૭ લખો. અ(cid:57)ટ(cid:10)ાસોિનક સ(cid:8)સર પન નબર A0 સાથ, અન બઝર પન નબર 22 સાથ (cid:48)ડાયલ છ. એલસીડી મા િડ(cid:60)ટ(cid:8)સ cmમા (cid:50)(cid:8)ટ થવ (cid:48)ઈએ.
[7 marks]Draw block diagram to interface LDR, Green LED and LCD (અઅ) એલડીઆર, (cid:18)ીન એલઇડી અન એલસીડી ન આરડયનો મગા સાથ ઈ(cid:8)ટરફસ કરવાનો (cid:16)લોક ૦૦૩૩ ડાયા(cid:18)ામ દોરો.
[3 marks]Draw schematic diagram to interface LDR, Green LED and LCD with Arduino Mega. LDR to be connected with pin no A2, Green LED to be connected with pin no 25. (બબ) આરડયનો મગા સાથ LDR, (cid:18)ીન એલઇડી, અન એલસીડી ઈ(cid:8)ટરફસ કરવાનો સકમ(cid:46)ટક ૦૦૪૪ ડાયા(cid:18)ામ દોરો. LDR પન નબર A2 સાથ, અન (cid:18)ીન એલઇડી પન નબર 25 સાથ (cid:48)ડાયલ છ.
Draw block diagram to interface 02 DC Motor with Motor Driver and LCD with Arduino Mega. (અઅ) ડીસી મોટર ડ(cid:10)ાઈવર (cid:62)ારા 02 ડીસી મોટર અન એલસીડી સાથ ઈ(cid:8)ટરફસ કરવાનો (cid:16)લોક ૦૦૩૩ ડાયા(cid:18)ામ દોરો.
[3 marks]Draw schematic diagram to interface 02 DC Motor with Motor Driver and LCD with Arduino Mega. DC Motor driver to be connected with pin no 18, 19, 20 and 21. (બબ) આરડયનો મગા સાથ 02 ડીસી મોટર તના મોટર ડ(cid:10)ાઈવર અન એલસીડી ઈ(cid:8)ટરફસ કરવાનો ૦૦૪૪ સકમ(cid:46)ટક ડાયા(cid:18)ામ દોરો. ડીસી મોટર ડ(cid:10)ાઈવર ન પન નબર 18, 19, 20 અન 21 સાથ (cid:48)ડાયલ છ.
[4 marks]Write a program to interface 02 DC Motor with Motor Driver and LCD with Arduino Mega. DC Motor driver to be connected with pin no 18, 19, 20 and 21. Motor 1 should turn forward direction and Motor 2 should turn reverse direction for Minutes. After that Motor 1 should turn reverse direction and Motor 2 should turn forward direction for 04 Minutes and so on.. LDC should display direction of motor each time. (કક) આરડયનો મગા સાથ 02 ડીસી મોટર તના મોટર ડ(cid:10)ાઈવર અન એલસીડી ઈ(cid:8)ટરફસ કરવા ૦૦૭૭ માટનો (cid:50)ો(cid:18)ામ લખો. ડીસી મોટર ડ(cid:10)ાઈવર ન પન નબર 18, 19, 20 અન 21 સાથ (cid:48)ડાયલ છ. મોટર 01 ફોરવડ(cid:63) (cid:46)દશામા અન મોટર 02 (cid:46)રવસ(cid:63) (cid:46)દશામા 04 મિનટ માટ ફરવી (cid:48)ઈએ અન આ જ રીત પછી મોટર 01 (cid:46)રવસ(cid:63) (cid:46)દશામા અન મોટર 02 ફોરવડ(cid:63) (cid:46)દશામા 04 મિનટ માટ ફરવી રહવી (cid:48)ઈએ.
[4 marks]Draw block diagram to interface 04 Relay Driver and 04 LEDs with Arduino Mega. (અઅ) 04 (cid:46)રલ ડ(cid:10)ાઈવર અન 04 એલઇડી ન આરડયનો મગા સાથ ઈ(cid:8)ટરફસ કરવાનો (cid:16)લોક ડાયા(cid:18)ામ ૦૦૩૩ દોરો.
[3 marks]Draw schematic diagram to interface Alcohol Sensor, Red LED, Buzzer and LCD with Arduino Mega. Alcohol sensor to be connected with pin no 41,Red LED anode to be connected with pin no 42, Buzzer to be connected with pin no 43. (બબ) આરડયનો મગા સાથ આ(cid:57)કોહોલ સ(cid:8)સર, લાલ કલર એલઇડી, બઝર, અન એલસીડી ૦૦૪૪ ઈ(cid:8)ટરફસ કરવાનો સકમ(cid:46)ટક ડાયા(cid:18)ામ દોરો. આ(cid:57)કોહોલ સ(cid:8)સર પન નબર 41 સાથ, લાલ એલઇડી ના એનોડ પન નબર 42 સાથ અન બઝર પન નબર 43 સાથ (cid:48)ડાયલ છ. Page 2 of
[5 marks]Write a program to interface Alcohol Sensor, Red LED, Buzzer and LCD with Arduino Mega. Alcohol sensor to be connected with pin no 41,Red LED anode to be connected with pin no 42, Buzzer to be connected with pin no 43. When alcohol detected Red LED and Buzzer should be ON and LCD should display "Alcohol Detected", otherwise Only LCD should display "Alcohol not detected". (કક) આ(cid:57)કોહોલ સ(cid:8)સર, લાલ કલર એલઇડી, બઝર, અન એલસીડી આરડયનો મગા સાથ ૦૦૭૭ ઈ(cid:8)ટરફસ કરવાનો (cid:50)ો(cid:18)ામ લખો. આ(cid:57)કોહોલ સ(cid:8)સર પન નબર 41 સાથ, લાલ એલઇડી ના એનોડ પન નબર 42 સાથ અન બઝર પન નબર 43 સાથ (cid:48)ડાયલ છ. (cid:54)યાર આ(cid:57)કોહોલ િડટ(cid:59)ટ થાય (cid:55)યાર રડ એલઇડી અન બઝર ચાલ થવ (cid:48)ઈએ તથા એલસીડી મા "Alcohol Detected" (cid:50)(cid:8)ટ થવ (cid:48)ઈએ. ન(cid:46)હતર ખાલી એલસીડી મા "Alcohol not detected" (cid:50)(cid:8)ટ થવ (cid:48)ઈએ.
[7 marks]Write a program to interface LDR, Green LED and LCD with Arduino Mega. LDR to be connected with pin no 29, Green LED to be connected with pin no 25. When darkness detected from LDR, Green LED to be ON and LCD should display "Dark Detected". otherwise LED should remains OFF. Page 3 of (કક) આરડયનો મગા સાથ LDR, (cid:18)ીન એલઇડી, અન એલસીડી ઈ(cid:8)ટરફસ કરવાનો (cid:50)ો(cid:18)ામ લખો. ૦૦૭૭ LDR પન નબર 29 સાથ, અન (cid:18)ીન એલઇડી પન નબર 25 સાથ (cid:48)ડાયલ છ. (cid:54)યાર અધા(cid:61) થાય (cid:55)યાર (cid:18)ીન એલઇડી ચાલ થવી (cid:48)ઈએ અન એલસીડીમા "Dark Detected" (cid:50)(cid:8)ટ થવ (cid:48)ઈએ. ન(cid:46)હતર એલઇડી બધ રહવી (cid:48)ઈએ.
[5 marks]Draw schematic diagram to interface 04 Relay Driver, 04 swithes and 04 LEDs with Arduino Mega. 04 Relay Driver to be connected with pin no 18, 19, 20 and 21. Led anodes to be connected with 28,29,30 and 31. (બબ) આરડયનો મગા સાથ 04 (cid:46)રલ ડ(cid:10)ાઈવર, 04 િ(cid:60)વચ અન 04 એલઇડી ઈ(cid:8)ટરફસ કરવાનો ૦૦૪૪ સકમ(cid:46)ટક ડાયા(cid:18)ામ દોરો. 04 (cid:46)રલ ડ(cid:10)ાઈવર ન પન નબર 18, 19, 20 અન 21 તથા 04 એલઇડી ન પન નબર 28, 29, 30 અન 31 સાથ (cid:48)ડાયલ છ.
[4 marks](c) Write a program to interface 04 Switches, 04 Relay Driver and 04 Lamps with Arduino Mega. 07 04 Relay Driver to be connected with pin no 18, 19, 20 and 21. switches to be connected with 28,29,30 and 31. 04 lamps to be connected with output of relay driver. When we press switch 1, Lamp 01 should ON, When we press switch 2, Lamp 02 should ON, When we press switch 3, Lamp 03 should ON, When we press switch 4, Lamp 04 should ON. Page 4 of (કક) આરડયનો મગા સાથ 04 િ(cid:60)વચ, 04 (cid:46)રલ ડ(cid:10)ાઈવર અન 04 એલઇડી ઈ(cid:8)ટરફસ કરવાનો (cid:50)ો(cid:18)ામ ૦૦૭૭ લખો. 04 (cid:46)રલ ડ(cid:10)ાઈવર ન પન નબર 18, 19, 20 અન 21 તથા 04 (cid:60)વીચન પન નબર 28, 29, 30 અન 31 સાથ (cid:48)ડાયલ છ. ચાર લ(cid:65)પન (cid:46)રલ ડ(cid:10)ાઈવર ના આઉટપટ મા લગાવલ છ. (cid:54)યાર િ(cid:60)વચ 01 (cid:50)સ કરવામા આવ (cid:55)યાર લ(cid:65)પ 01 ચાલ થવો (cid:48)ઈએ, (cid:54)યાર િ(cid:60)વચ 02 (cid:50)સ કરવામા આવ (cid:55)યાર લ(cid:65)પ 02 લ થવો (cid:48)ઈએ, (cid:54)યાર િ(cid:60)વચ 03 (cid:50)સ કરવામા આવ (cid:55)યાર લ(cid:65)પ 03 ચાલ થવો (cid:48)ઈએ અન (cid:54)યાર િ(cid:60)વચ 04 (cid:50)સ કરવામા આવ (cid:55)યાર લ(cid:65)પ 04 ચાલ થવો Page 5 of
[5 marks]