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

Module Code & Module Title

CS5053NI – Cloud Computing and IOT

Assessment Type
Logbook 7

Semester
2022 Spring/Autumn

Student Name: Chanda Shah


London Met ID: 22015674
College ID: NP01CP4S220072
Assignment Due Date: 6th December 2022
Assignment Submission Date: 6th December 2022
Submitted To: Sugat Man Shakya (Lecturer)
Word Count (Where Required):

I confirm that I understand my coursework needs to be submitted online via Google Classroom under the
relevant module page before the deadline in order for my assignment to be accepted and marked. I am
fully aware that late submissions will be treated as non-submission and a marks of zero will be awarded.
Table of Contents
Question 1...................................................................................................................... 1

Question 2...................................................................... Error! Bookmark not defined.

Question 3...................................................................... Error! Bookmark not defined.

Question 4...................................................................... Error! Bookmark not defined.


CS5053NI Cloud Computing and IOT

Question 1

Observe the Arduino board and find out the GPIO pins also write its
functions.

Arduino's processor basically uses the Harvard architecture where the program code and
program data have separate memory. It consists of two memories- Program memory and
the data memory. The code is stored in the flash program memory, whereas the data is
stored in the data memory.

General-Purpose Input Output (GPIO) is a digital pin of an IC. It can be used as input or
output for interfacing devices. If we want to read the switch's state, sensor data, etc then
we need to configure it as input. Arduino Nano has 14 digital pins that can be used as an
input or output. They operate at 5 volts.

 Serial: 0 (RX) and 1 (TX) to receive (RX) and transmit (TX) serial data.
 PWM: 3, 5, 6, 9, 10, and 11. Provide 8-bit PWM (Pulse With Modulation) output.
 Internal LED (13): There is a built-in LED connected to digital pin 13. When the pin is
HIGH value, the LED is on, when the pin is LOW, it’s off.

1
CHANDA SHAH
CS5053NI Cloud Computing and IOT

Question 2
Find out ceramic resonator and microcontroller and write it’s function.

A Ceramic Resonator is an electronic component consisting of a piece of a piezoelectric


ceramic material with two or more metal electrodes attached.

They are used in timing circuitry for a wide array of applications such as TVs, VCRs,
automotive electronic devices, telephones, copiers, cameras, voice synthesizers,
communication equipment, remote controls and toys.

A Microcontroller Unit (MCU) is a small, single integrated circuit, containing a processor


core, memory, and programmable input/output peripherals, typically dedicated to
performing a single/dedicated function. Microcontrollers are used in automatically
controlled products and devices, such as automobile engine control systems, implantable
medical devices, remote controls, office machines, appliances, power tools, toys and
other embedded systems.

2
CHANDA SHAH
CS5053NI Cloud Computing and IOT

Question 3
Find out how much memory is on Arduino UNO R3 board? Also write how
SRAM is different than DRAM?

The Arduino UNO has only 32K bytes of Flash memory and 2K bytes of SRAM.
The differences between SRAM and DRAM are given below:

SRAM DRAM
a type of random access memory (RAM) DRAM is a memory chip that can store
that retains data bits in its memory as long more data than SRAM but consumes more
as power is being supplied. power.
Single block of memory requires 6 Single block of memory requires only one
transistors. transistor.
It is used in cache memory. It is used in main memory.
It is comparatively smaller and expensive It is comparatively larger and cheaper than
than DRAM. DRAM.
It is faster than DRAM. It is slower than SRAM.

3
CHANDA SHAH
CS5053NI Cloud Computing and IOT

Question 4
What is NodeMCU? What are the difference between NodeMCU and Arduino?

NodeMCU is an open source platform based on ESP8266 which can connect objects and
let data transfer using the Wi-Fi protocol.

NodeMCU Arduino
It uses ESP8266 as microcontroller. It uses ATmega328P as microcontroller.
It has flash memory of 4MB. It has flash memory of 32KB.
It comes with wifi connectivity which is It doesn’t come with wi-fi connectivity
commonly used for IoT-based feature.
applications.
It has SRAM of 128KB. It has SRAM of 2KB.

4
CHANDA SHAH

You might also like