IoT System LU2
IoT System LU2
HARDWARE SYSTEM
Learning Outcomes
2.1 Design Electronic system
2.2 Mount Components
2.3 Testing Wiring Connections
Nominal Current: This value represents the typical operating current for the
component under normal conditions.
Maximum Voltage: The highest voltage the component can handle without
damage. Exceeding this voltage may cause breakdown or permanent failure.
2
c) Electrostatic Breakdown Value:
This parameter indicates the voltage level at which the component becomes
susceptible to electrostatic discharge (ESD). Proper handling and protection are
crucial to prevent ESD damage.
Isolation Resistance: Measures how well the component isolates one circuit
from another. High isolation resistance ensures minimal leakage between
circuits.
e) Power Rating: The power rating specifies the maximum power (in watts) the
component can handle without overheating. Exceeding this rating may lead to
component failure.
2.1.2. Design of electronic system
a) Block Diagram
Block diagrams are used to comprehend and design complete circuits by breaking
them down into smaller sections or blocks. Each block represents a specific function,
and the block diagram illustrates how these blocks are interconnected. Unlike
detailed circuit diagrams, block diagrams do not show individual components within
a block; they only depict the inputs and outputs of each block [3], [4].
Power Unit:
The power unit supplies electrical energy to the entire system. It ensures that all
components receive the necessary power for their operation. Sources of power can
include batteries, solar panels, or direct connection to the electrical grid.
3
Input Unit:
The input unit gathers data from various sensors and devices. These sensors can
monitor physical parameters such as temperature, humidity, light intensity, motion,
or gas levels. Examples of input devices include Temperature sensors (like
thermistors or digital temperature sensors), Light sensors (photodiodes or LDRs),
Motion detectors (PIR sensors), Gas sensors etc. The data collected by the sensors is
crucial for decision-making and control within the IoT system.
Control Unit:
The control unit processes the input data and makes decisions based on predefined
rules or algorithms. It can be implemented using microcontrollers (such as Arduino,
Raspberry Pi, or ESP8266/ESP32) or specialized IoT platforms.
The control unit manages the following tasks:
Output Unit:
The output unit acts based on the decisions made by the control unit. The output unit
ensures that the desired actions are carried out effectively. It interacts with actuators
or devices to affect the physical world. Examples of output devices include:
• Relays: Used to switch electrical loads (e.g., turning on/off lights, fans,
or motors).
• Servo motors: Used for precise control (e.g., opening/closing valves,
adjusting blinds).
• LEDs or displays: Provide visual feedback.
• Buzzers or speakers: Emit audible alerts.
An IoT system involves collecting data from sensors (input), processing it (control),
and taking appropriate actions (output) based on the objectives of the system. The
power unit ensures continuous operation by providing energy to all components.
4
Figure 1 shows an example of an IoT Block diagram.
b) Circuit diagram
Circuit diagrams provide a detailed representation of an electronic system. They
show the actual components (such as resistors, capacitors, transistors, etc.) and their
connections. A circuit diagram provides a comprehensive view of the entire system,
including the arrangement of components and their interconnections.
5
Figure 2: Example of an IoT Circuit Diagram Example [5]
When it comes to selecting PCB design software, there are several excellent options
available. The above is few of them [6]:
KiCad: If you are looking for a free option, KiCad is a strong contender. It
offers a push-andshove router, 3D visualization, and is suitable for both
beginners and experienced designers. Plus, it’s 100% free with no
limitations12 [7].
6
EasyEDA: A popular choice among designers, EasyEDA is browser-based
and offers full functionality. It’s user-friendly, although it occasionally
displays ads1.
Upverter: Ideal for beginners and educators, Upverter has a shallow learning
curve and provides an easy introduction to PCB design1.
DipTrace: Known for its ease of use, DipTrace is suitable for both beginners
and advanced users. It offers a straightforward interface and efficient tools1.
Fusion 360/Eagle: While Fusion 360/Eagle is primarily for Mac and Linux
users, it’s a great free option. It integrates mechanical and electronic design
seamlessly1.
2.1.4. Development of PCB
Begin by creating a schematic diagram of your circuit using a tool like KiCad,
Eagle, or Altium Designer.
Ensure that all components are correctly connected and labeled in the
schematic.
7
b) PCB layout
Open your PCB design software and import the schematic. Arrange the
components on the PCB board, considering factors like signal integrity, power
distribution, and thermal management.
Route the traces (connections) between components. Pay attention to signal
paths, ground planes, and power traces.
Place vias where necessary to connect traces between different layers of the
PCB.
Optimize the layout for manufacturability, minimizing trace lengths and
avoiding tight corners.
Add any necessary mounting holes, labels, and silkscreen markings.
b) PCB Etching
Once your PCB layout is finalized, you will need to create the physical board.
Start by printing the PCB design onto a special transfer paper using a laser
printer.
Transfer the design onto a copper-clad board using heat and pressure (ironing
method).
Etch the board using a chemical solution (such as ferric chloride) to remove
the excess copper, leaving behind the traces.
Rinse and clean the board thoroughly after etching.
Drill holes for component placement and solder pads.
Apply solder mask and silkscreen layers if desired.
Don’t forget to follow best practices for PCB design, such as proper grounding,
signal integrity, and component placement.
8
LO 2.2. Mount Components
2.2.1. Selection of tools equipment and materials
Electronic components: are the building blocks of the circuit and vary depending
on the specific project. They can include resistors, capacitors, transistors, diodes,
LEDs, and integrated circuits (ICs). There are various tools, equipment, and
materials for soldering and working with electronic components. Some of them are
listed below:
a) Soldering Iron
A soldering iron is a tool which heats solder to create electrical connections between
components and the PCB. Soldering iron comes with many different types.
b) Soldering Accessories
d) Material
Blank PCB: A blank PCB is the raw material used to build electronic
circuits. It forms the foundation upon which other components are assembled
in other words a blank PCB is a platform where electronic components are
soldered to create a circuit. You have to select a PCB with appropriate size,
number of holes, and material based on component layout and requirements.
Smooth: The solder joint should have a smooth surface without any rough
edges.
Bright and Shiny: A well-done solder joint appears bright and shiny,
indicating proper bonding.
Clean: Remove any dirt, oxidation, or contaminants from the surfaces before
soldering.
Concave Solder Fillet: The solder should form a concave shape around the
joint, ensuring good contact.
Good Wetting: Proper wetting ensures that the solder adheres well to the
components.
Covered Wire or Lead: The end of the wire or lead should be fully covered
with solder for a secure connection.
11
b) Thru-Hole Technology
12
LO 2.3. Testing wiring connections
2.3.1. Different types of PCB testing methods
There are various PCB testing methods used during the manufacturing process.
These methods play a crucial role in ensuring the quality and reliability of printed
circuit boards. Here are the key testing approaches [10]:
a) In-Circuit testing
ICT is robust and widely used. It powers up and actuates individual circuitry on the
board, checking for faults. It can find over 90% of faults. It has high accuracy,
minimal human error. It requires proper design-for-manufacturing considerations.
Non powered test that checks for opens, shorts, resistance, capacitance, inductance,
and diode issues. It is less expensive than ICT, suitable for smaller batches. It may
be slower and less error-prone than ICT. It is used in Prototypes or low-volume
productions.
Uses cameras to inspect the board for defects such as solder joint quality, component
placement, and polarity. It is Fast, non-contact, and can handle high volumes. It is
Fast, non-contact, and can handle high volumes. It is used in Post-reflow inspection.
d) Burn-in testing
It Applies stress to the board (e.g., temperature, voltage) to identify latent defects.
It is Accelerated aging to weed out weak components. It is used in common for
semiconductor devices.
13
e)X-ray inspection
It uses X-rays to inspect hidden features like solder joints, BGA connections, and
internal layers. It is non-destructive and provides insights into hidden defects. It is
used in complex boards.
f) Functional testing
Troubleshooting steps:
14
Component replacement: If the component measures outside
specifications, replace it with a known-good equivalent.
c) Checking Integrated Circuits (ICs): ICs are complex circuits and can be more
challenging to diagnose.
Visual Inspection: Look for physical damage like cracks, burns, or missing
parts.
Data Sheet: Review the IC's datasheet for known failure modes and
troubleshooting tips.
d) Visual Inspection: This is the most basic but essential technique. Look for
obvious signs of damage like:
e) Functionality Test: This involves testing the overall function of the PCB
according to its specifications. This might include:
Powering the PCB and observing expected outputs (lights, sounds, etc.)
Measuring voltages and currents at specific points on the PCB
Comparing the actual behavior to the expected behavior based on the
schematic or user manual.
15
REFERENCES
[1] J. Lienig and H. Bruemmer, Fundamentals of electronic systems design. 2017.
[2] “Electronic Component Data Sheet Manufacturer’ s Data Sheets Typical Data
Sheet Information Example,” pp. 1–7, 2011.
[3] “Block Diagrams.” https://electronicsclub.info/blockdiagrams.htm.
[4] T. Sturtevant and T. Sturtevant, “Electronics Block Diagrams,” 2019.
[5] H. S. Kim, S. T. Oh, and J. H. Lim, “Development of local area alert system
against particulate matters and ultraviolet rays based on open IoT platform with
P2P,” Peer-to-
Peer Netw. Appl., vol. 11, no. 6, pp. 1240–1251, 2018, doi: 10.1007/s12083-
017-0592-2.
[6] “10 Best PCB Design Software in 2023 (All Skill Levels),” 2023.
https://www.3dsourced.com/3d-software/best-pcb-design-software/.
[7] “KiCad EDA.” https://www.kicad.org/.
[8] I. Aalaei, “Soldering Safety and Health Guidelines,” Stand. Oper. Guidel. MIT,
pp. 1–5, 2020.
[9] “Through-Hole vs Surface Mount Components: A Comprehensive
Comparison,” [Online]. Available:
https://components101.com/articles/differences-between-through-hole-
andsurface-mount-components.
[10] C. D, “What Are the Different Types of PCB Testing Methods?”
[11] JLCPCB, “PCB Testing Methods: A Comprehensive Guide to Testing and
Characterizing PCBs.”
16