0% found this document useful (0 votes)
23 views27 pages

IoT Basics for Engineering Students

Uploaded by

black hello
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
23 views27 pages

IoT Basics for Engineering Students

Uploaded by

black hello
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 27

INTERNET OF THINGS

(Practical)
A revision of what we learn in Secondary School
Intro
There is a gap in between Engineering and Information Technology

What is at the MIDDLE ? Software Engineer


Electronics Engineer
Computer Scientist
Computer Engineer

IT Specialist

Electrical Engineer Software Developer


Mechatronics Engineer Data Scientist
Intro
There is a gap in between Engineering and Information Technology

Electronics Engineer Software Engineer


Computer Scientist
Computer Engineer

IT Specialist

Electrical Engineer Software Developer


Mechatronics Engineer Data Scientist
Intro
There is a gap in between Engineering and Information Technology

Who will be the one to


move his step into the
Computer Scientist /
other side, who will get IT Specialist
Engineer
to know IoT better !
Let’s have a first move ...
Try to think of the elements, as small as close to the physical world...

We need to know a basic concept of how a device can be existed, activated, linked and communicated.

Existed
So, what is the existed
item ?

Things that you can see


from this picture, or your
mobile phone / tablet ?
Let’s have a first move ...

We need to know a basic concept of how a device can be existed, activated, linked and communicated.

Existed Activated

- LCD Screen
- Buttons Then, how to make these
- Camera Lens
- Microphone module existed items to be activated ?
...

(Open up the casing) Or how to make these items


- Processors
- Circuit Boards ... work / functionable ?
What do you need ?
Let’s have a first move ...

We need to know a basic concept of how a device can be existed, activated, linked and communicated.
Activated
Existed
- Electricity from battery. Next, how they
- LCD Screen - Charged battery / direct
- Buttons from Power Adapter. work togather?
- Camera Lens - Camera needs Lights as
- Speaker module input to function.
- Processors
- Circuit Boards ...
- Microphone needs Sounds Or how they
(air particles vibration) as
It is very important for you to know, even a very input communicated ?
tiny changes of environment / particles in physical - Programs loaded into
world, will affect software processes when we memory to boot load a
convert Analog (physical) into Digital information. system. ...
Let’s have a first move ...

We need to know a basic concept of how a device can be existed, activated, linked and communicated.

Existed Activated Linked

- LCD Screen - Electricity from battery. - Circuit Board connects


- Buttons - Charged battery / direct all input / output module
- Camera Lens from Power Adapter. with processing units.
- Speaker module - Camera needs Lights as ...
- Processors input to function.
- Circuit Boards ... - Speaker needs Sounds (air Communicated
particles vibration) as input - Connected module
- Programs loaded into (GSM, WiFi, bluetooth) to
memory to boot load a external / real world.
system. ... ...
Let move on to a bit more what we have
learned in our secondary school

Power Alternate Current

Voltage Direct Current

Current Watt

Resistance Ohm
Everyone know
this, but ... UPS

Power Source
In order to work with any device under
electrical control, we need to know
what is the power rating to be used,
connected to our devices.

Precaution can be taken if we


understand more on the electrical
connection (especially electrical
supply).

Do you have any idea what is the voltage of


each part ?
Difference between Voltage with AC and DC

Power Source
(AC and DC)
AC - Alternative Current
(with positive and negative values)

DC - Direct Current

Power (P) = Voltage (V) x Current (I)

V max = 5 Volt V out = + - 230 Volt

Check out your power bank and power adapter


(charger) voltage output, what are the differences?
Power Source

In order to work with any device under


electrical control, we need to know
what is the power rating to be used, 230VAC
connected to our devices.

Precaution can be taken if we


understand more on the electrical
connection (especially electrical
supply). 12VDC
5VDC
>1.5A
AC - Alternative Current
5VDC /
(with positive and negative values)
3.3VDC
~ 0.1A
DC - Direct Current
5VDC
0.5 - 1.5 A
Voltage, Current,
Resistance
We know that every digital devices are
activated by electricity, either using
direct current (DC) supply, battery or
NFC technology.

To establish connection between


module with module / module with
devices, we need to ensure that the
physical connection is properly fixed
before we go into any practical
execution (program execution).
Voltage (V) : Electric Pressure

Voltage, Current, Unit = Volt (V)

Resistance Current (I) : A flow of Electric Charge

Unit = Ampere (A)


We know that every digital devices are
activated by electricity, either using
Resistance (R) : Difficulty to pass a current
direct current (DC) supply, battery or
NFC technology.
Unit = Ohm (Ω)
To establish connection between
Ohm’s Law :
module with module / module with
devices, we need to ensure that the
V=IxR
physical connection is properly fixed
before we go into any practical
execution (program execution).

Still cannot understand?


Ask lecturer to show you the Ribena example
Voltage, Current,
Resistance
Voltage (V) in Volt

Current (I) in Amps

Resistance (R) in Ohm

Question:

What will happen if you increase the


voltage in a circuit while the resistance
is the same?

Source: https://www.build-electronic-circuits.com/ohms-law/
9 volt = 20mA x R

R = 9 / 20x10^-3
Ohm’s Law R = 9 / 0.02A
R = 450 Ohm
Given a 9 volts (V) battery to power an
LED. The LED has a current rating of 20
milliamps (I).

1 amp = 1,000 milliamps

Calculate the resistor (R) value.


Power (P) : Rate of Energy Transfer (Joule in a second)

Unit = Watt (W)

Power Unit Voltage (V) : Electric Pressure

Unit = Volt (V)


Check out any electrical / electronic
devices. Power value in W (Watt) is
Current (I) : A flow of Electric Charge
always indicated to show the required
electric energy or preferable electric
Unit = Ampere (A)
energy of the device.

Power Formula:
Example: 20W fluorescent light

P=VxI
20W (P) / 230V (V) = 87mA (I) current
is supplied to the fluorescent light to
obtain 20W of light energy.

Don’t be afraid if people ask you: what is your power.


Answer: ~97 watt in this second
Is the Default
Power Supply 5mm 5VDC LED Raspberry Pi 4B
5VDC Relay
able to provide 0.15 Watt Full CPU Load
70mA
6.4 Watt
sufficient power
for the entire
IoT system
prototypes ? Raspberry Pi
Webcam 5VDC Power
16x2 LCD Display
1.1Watt Supply 5VDC,
(with backlight)
3.0A
1 Watt
It's generally
considered good
practice to design a
power supply with a
5mm 5VDC LED Raspberry Pi 4B
total current capacity 5VDC Relay
0.15 Watt = 30mA Full CPU Load
(amperage) of at 70mA
6.4 Watt = 1.3A
least double the
circuit's expected
maximum current
needs.
Raspberry Pi
Webcam 5VDC Power
16x2 LCD Display
1.1Watt = Supply 5VDC,
(with backlight)
250mA 3.0A
1 Watt = 200mA
Do not be afraid
When you see electronics components and electronics circuits
Do not be afraid
When you see electronics components and electronics circuits - they are just a part of computer
Do not be afraid
The process of understanding electronics and how they become a motherboard...

Capacitor
Relay (Switch)

<<< From the small electronic components

Resistor Transistor

Diode (LED) Reset button (Switch)


Do not be afraid - CONQUER IT !
The process of understanding electronics and how they become a motherboard...

Capacitor
Relay (Switch)

Electronic component
on breadboard
Resistor Transistor Surface mount
(testing)
(Fabrication is required)

Electronic component To exactly same as your


on circuit board PC motherboard / mobile
Diode (LED) Reset button (Switch) (Soldering is required) phone main board
Practical Classes
Practical 1 , 2 - Electronics Components

- Connectors, Indicators …

Practical 3 , 4 , 5 - IoT Communication with Controller Board

- Raspberry Pi / Python / ESP32 / Arduino IDE, Basic sensors, Indicators ...

Practical 6 , 7, 8, 9, 10 - IoT Platform and System

- Cloud Service, MQTT Protocol, NodeRED, Visualization, RFID ...


Practical Classes
Assignment
Labs - Preparation:
Week 4 - 6 (short sem)
- Practical class 1 - 14
Week 8 - 12 (long sem)
- Week 1 to 3.5 (short semester)
(or start anytime when you finished
- Week 1 to 7 (long semester)
all practical exercises)

- Presentation:
Week 7 (short sem)
Week 13 - 14 (long sem)
Practical Marks

Practical Marks (20%) 1 4

2 12

3 12

4 12

5 12

6 12

7 12

8 8

9 8

10 8

Total 100
Let’s Starts...
Again, we are new to the Internet of
Things course.

We need your feedback from time to


time to improve our quality of
teaching.

Join our Google Classroom

and

Ensure that you attend


EVERY Practical class !

You might also like