IoT Lab Manual_Updated 2024-2025

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

KONGU ENGINEERING COLLEGE

(Autonomous)
Perundurai, Erode – 638 060.

LABORATORY RECORD

Name :
Register Number :
Course code :
Course name :
Semester & Branch:
KONGU ENGINEERING COLLEGE
(Autonomous)
Perundurai, Erode – 638 060.

Department of Electronics and Communication Engineering

24GCL12 – Foundation Lab – IoT Record

Name Programme

Branch Section Semester

Register Number

Certified that this is a bonafide record of work done by the above student of the

Laboratory during the year .

Signature of Lab in-charge Signature of Head of the Department

Submitted for the model/end semester practical examination held on

Examiner – I Examiner – II
KONGU ENGINEERING COLLEGE
(Autonomous)

PERUNDURAI, ERODE - 638 060

Department of Electronics and Communication Engineering

24GCL12 - FOUNDATION LAB - IoT

Internet of Things

Rubrics for Evaluation

Mark
Max
Evaluation Criteria Detailed Evaluation Metrics split-
marks
up
1)Identify components and tools required for
5
development of PCB.
2)Prepare single layer PCB layout for a given
PCB development 10 25
circuit.
3)Fabricate single layer PCB using PCB
10
milling machine.
1)Design the block diagram for the given
5
application.
2)Interface required hardware and program
IoT project
them to achieve the objective of the 10 25
development
application.
3)Integrate the device with the cloud platform
10
to record the data.
1)Presentation 20
Presentation,
Demonstration and 2)Demonstration 20 50
Viva-voce
3) Viva-voce 10
Total 100
CONTENTS

S. No. Date Name of the experiment Page No. Signature

1. Design a single layer PCB layout

2. Fabrication of a single layer PCB

3. Assembling a Single layer PCB

Sensor and actuator interfacing with


4.
NodeMCU
Sensor and actuator calibration with
5.
NodeMCU
Integration of microcontroller based system
6.
with Arduino Cloud platform
Expt. No:1
Design a single layer PCB layout
Date:

Problem Statement:

Create a single layer PCB layout for a given circuit using computer aided tools.

Choose the circuit:

1. V DC Regulated Power supply (5V, 6V, 9V, 12V)

Software required:

EasyEDA, Local Autorouter, and Gerber Viewer

Components used:

Sl. No Apparatus name Range Quantity


Circuit Diagram:

PROCEDURE:
 Open EasyEDA account in their official website.
 Create a new project
 Draw the schematic diagram in the schematic editor window.
 Ensure that the components chosen are through-hole components.
 Click on “Design” menu and then select “Convert schematic diagram to PCB”.
 Select the PCB properties and give ok.
 Open Autorouter in the computer and keep it running in the background in order to perform
autorouting in the EasyEDA tool.
 In the EasyEDA tool’s PCB Editor window, Select Route menu and choose autoroute.
 Configure the PCB layout design rules and select run. (Top layer to be unchecked)
 Adjust a few routes so that it avoids any short circuit.
 Generate Gerber file
 Use Gerber viewer tool to view the design
 Take screenshots of the top and bottom layer of PCB.
Screenshot of Top Layer:

Screenshot of Bottom Layer

Result:
Expt. No:2
Fabrication of a single layer PCB
Date:

Problem Statement:

Fabricate a single layer PCB for a given circuit using computer aided tools.

Equipment required:

PCBMate 300W

Software required:

Auto leveler

Coppercam

Mach3

Components used:

Sl. No Apparatus name Range Quantity


Screenshot of Schematic Diagram:

Photo of Bottom Layer of Printed Circuit Board:


PROCEDURE:
CopperCAM:
1. Extract the compressed gerber file to a folder.
2. Open CopperCAM.
3. Load the gerber file (Bottom layer, Drill file).
4. Check both are aligned and give ok.
5. Flip the layers horizontally.
6. Load the Outline layer.
7. Set the origin as x = 0 and y = 0
8. Set offset and shift manually the outline layer to the origin and choose reframe.
9. Change the track width if necessary.
10. Check the pad size (double the size of drill size) and drill size (1mm, 1.2mm) for all the
components.
11. Set the contours.
12. Generate G-code for engrave, drills and end mill.
13. Open the generated G-code text files and add the following command at the end of the code.
o G00 X00 Y00
Autoleveller:
1. Open Autoleveller tool.
2. Select MACH3 in the dropdown list.
3. Load the engrave text file.
4. Generate Levelled G-code.
5. Save the generated Levelled G-code as engrave.tap file format
MACH3 Initial setup:
1. Open MACH3 software and load the engrave.tap file.
2. Check if the RESET button is blinking in the software window.
3. Click the RESET button once.
4. Set X = 0, Y = 0, Z = 2
PCB Milling Machine Setup:

1. Setup the PCB milling machine for manual operation.


2. Rise the Z position to 30.
3. Fix the Copper clad board on the workspace of the CNC machine using the industrial double
side tape.
4. Fix the 0.2mm engraving bit tool in the CNC machine.
5. Set the origin position of the milling machine using the teach pendent and make X = 0 and Y
= 0 in the workspace of the copper clad.
6. Fix the conductivity check crocodile clip (red to the engrave bit and black color on the PCB
copper clad).
7. Slowly lower the Z position using the rotary knob until it touches the surface of copper clad
board.
8. Once the engrave bit touches the copper clad it will automatically retracts itself to Z = 10
position.
9. Then slowly lower the Z value using the rotary knob to make Z = 2.
10. Change the mode to Computer.
MACH3 Milling Operation:

1. Ensure that the PCB Machine is in computer mode.


2. Click Cycle Start in the software for once.
3. Ensure the crocodile clips are placed in their corresponding positions (red to the
engrave bit and black color on the PCB copper clad).
4. The CNC machine will check the surface contact at number of positions
automatically.
5. Once the automatic check has completed, the CNC machine will come to the origin
position.
6. Remove the crocodile clips.
7. Click the cycle start once. The machine will now turn on the spindle and start
engraving the copper clad.
8. Once the engraving is completed, the machine will return to origin position.
9. Now change the CNC machine to manual mode.
10. Raise the Z position to 35 and change the drill bit.
11. Lower the Z position to 2
12. Change the machine to computer mode.
13. Load drill text file.
14. Click start cycle.
15. Repeat from step 9 to 15 for different drill bit sizes.
16. Once all drills are completed, the machine will come to origin position.
17. Change the CNC machine to manual mode.
18. Raise the Z position to 35 and change the end mill bit.
19. Lower the Z position to 2
20. Click start cycle.
21. Once cut operation is completed, the machine will come to origin position.
22. Remove the printed circuit board from the work space.
Observation:

Criteria Verification
Are you able to create G-code from the Gerber file? Yes / No
Are you able to generate levelled G-code in tap file format? Yes / No
Are you able to set up the PCB milling machine for engrave, Yes / No
drill and end mill operations?
Are you able to use the MACH3 tool for engrave, drill and Yes / No
end mill operations?
Are you able to develop PCB boards for any given circuit? Yes / No

Result:
Expt. No: 3
Assembling a Single layer PCB
Date:

Aim:

Assemble the discrete through-hole components on the component side of a single


layer PCB, solder the components and perform continuity test using a digital
multimeter.

Hardware Required:

Components Required:

Sl. No Apparatus name Range Quantity


Photo of the Top Side of PCB

Photo of the Bottom side of PCB


PROCEDURE:
 Prepare the Workspace (Gather all the necessary tools and materials, including the soldering
iron, solder, components, flux, solder wick, and safety equipment.)
 Identify Components and Positions (Double-check the orientation and placement of
components to avoid mistakes)
 Turn on the soldering iron and allow it to heat up to the appropriate temperature for the
components you're using (typically between 300°C to 350°C or 572°F to 662°F).
 Apply a small amount of flux to the pads on the PCB.
 Place the components on the PCB, aligning the leads or pins with the corresponding pads.
 Touch the soldering iron's tip to both the pad and component lead simultaneously. This is
called "tinning" and helps transfer heat to the joint.
 After a second or two, touch the solder wire to the heated joint. The solder should melt and
flow smoothly onto the pad and lead, forming a shiny, concave joint.
 Allow the solder joint to cool naturally without moving the component.
 Inspect the solder joint visually; it should be smooth, shiny, and without any visible gaps or
bridges.
 Repeat the soldering process for all components on the PCB.
 Before applying power, double-check the board for proper soldering and component
placement.
 Perform continuity check and short circuit testing.
 Test the PCB to ensure that the soldered connections are functioning as intended.

Observation:

Criteria Verification
Is all the components placed in correct position? Yes / No
Is all the components placed in correct orientation? Yes / No
Is there any visible gaps in the soldering joints? Yes / No
Short circuit is detected in the circuit? Yes / No
Is PCB performing the intended function? Yes / No

Result:
Expt. No: 4
Sensor and actuator interfacing with NodeMCU
Date:

Aim:

Write a program to interface a sensor module and an actuator with NodeMCU and
print the sensor values on the Serial Monitor of Arduino IDE/ Arduino Cloud.

Software Required:

1. Arduino IDE/ Arduino Cloud


2. CP210x_Universal_Windows_Driver
3. Arduino Create Agent

Components Required:

Sl. No Apparatus name Range Quantity

Block Diagram:
Program
PROCEDURE:
 Prepare the workspace
 Identify the components and position the components on breadboard as per the circuit
diagram given.
 Write a program to read the sensor value and control actuator operation.
 Connect the USB cable between the laptop and NodeMCU module.
 Choose the board and COM port to which the NodeMCU is connected.
 Upload the program from the laptop to the NodeMCU.
 Verify the functionality of the circuit.

SCREENSHOT OF SERIAL MONITOR WINDOW


PHOTO OF WORKING MODEL:

Observation:

Criteria Verification
Are you able to write program for reading the sensor values? Yes / No
Are you able to write program for actuators? Yes / No
Are you able to debug errors in the program? Yes / No
Are you able to modify the program as per the requirements? Yes / No
Are you able to verify the functionality of the circuit? Yes / No

Result:
Expt. No: 5
Sensor and actuator calibration with Node MCU
Date:

Aim:

Write a program to interface a sensor module and an actuator with Node MCU and
calibrate the sensor/ actuator.

Software Required:

1. Arduino IDE/ Arduino Cloud


2. CP210x_Universal_Windows_Driver
3. Arduino Create Agent

Components Required:

Sl. No Apparatus name Range Quantity

Block Diagram:
Program
PROCEDURE:
 Prepare the workspace
 Identify the components and position the components on breadboard as per the circuit
diagram given.
 Write a program to read the sensor value and control actuator operation.
 Integrate the calibration code with the existing code.
 Connect the USB cable between the laptop and Node MCU module.
 Choose the board and COM port to which the Node MCU is connected.
 Upload the program from the laptop to the Node MCU.
 Verify the functionality of the circuit.

SCREENSHOT OF THE SERIAL MONITOR WINDOW


PHOTO OF WORKING MODEL:

Observation:

Criteria Verification
Are you able to write program for reading the sensor values? Yes / No
Are you able to write program for actuators? Yes / No
Are you able to debug errors in the program? Yes / No
Are you able to calibrate the sensor as per the requirements? Yes / No
Are you able to verify the functionality of the circuit? Yes / No

Result:
Expt. No: 6
Integration of Microcontroller based System with Cloud Platform
Date:

Aim:

Design a dashboard to display the sensor values retrieved from the microcontroller
based system using Arduino Cloud.

Software Required:

1. Arduino IDE/ Arduino Cloud


2. CP210x_Universal_Windows_Driver
3. Arduino Create Agent

Components Required:

Sl. No Apparatus name Range Quantity


Program
Screenshot Dashboard:

PROCEDURE:
 Prepare the workspace
 Identify the components and position the components on breadboard as per the circuit
diagram given.
 Write a program to read the sensor value and control actuator operation.
 Connect the USB cable between the laptop and Node MCU module.
 Choose the board and COM port to which the Node MCU is connected.
 Upload the program from the laptop to the Node MCU.
 Verify the functionality of the circuit.
PHOTO OF WORKING MODEL

Observation:

Criteria Verification
Are you able to design a dashboard for the project? Yes / No
Are you able to create things for an IoT project? Yes / No
Are you able to link the variables to the dashboard? Yes / No
Are you able to develop the sketch for the IoT project? Yes / No
Are you able to verify the functionality of the project? Yes / No

Result:
KONGU ENGINEERING COLLEGE
(Autonomous)

PERUNDURAI, ERODE - 638 060

Department of Electronics and Communication Engineering

24GCL12 - FOUNDATION LAB - IoT

Evaluation Sheet

Mark Mark
Max
Evaluation Criteria Detailed Evaluation Metrics split- Obtained
marks
up
1)Identify components and tools
5
required for development of PCB.
PCB development 2)Prepare single layer PCB layout for 25
10
a given circuit.
3)Fabricate single layer PCB using
10
PCB milling machine.
1)Design the block diagram for the
5
given application.
IoT project 2)Interface required hardware and
program them to achieve the 10 25
development
objective of the application.
3)Integrate the device with the cloud
10
platform to record the data.
1)Presentation 20
Presentation,
Demonstration and 2)Demonstration 20 50
Viva-voce
3)Viva-voce 10
Total 100

Signature of the Faculty

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy