Geschreven door studenten die geslaagd zijn Direct beschikbaar na je betaling Online lezen of als PDF Verkeerd document? Gratis ruilen 4,6 TrustPilot
logo-home
Essay

BTEC IT Level 3 – Unit 19 Internet of Things Assignment 2 (Distinction | IoT Prototype with Python Code)

Beoordeling
-
Verkocht
2
Pagina's
57
Cijfer
A+
Geüpload op
07-08-2025
Geschreven in
2023/2024

A Distinction-grade submission for Unit 19 – Internet of Things Assignment 2, part of the BTEC Level 3 IT Extended Diploma (RQF 2016). This submission documents the full planning, development, testing, and evaluation of an IoT prototype using a Raspberry Pi Pico WH, PIR motion sensor, and Python. Includes: Detailed build process and design documentation Diagrams and screenshots (with anonymised data) Test plan, results, client feedback, and optimisation Security considerations and GDPR compliance Full Python source code used for movement detection and email alerts Code written in Thonny IDE using MicroPython — ideal for BTEC/college-level work. All credentials and personal info removed for safe reuse. For educational exemplar use only. Do not copy or submit.

Meer zien Lees minder
Instelling
Vak

Voorbeeld van de inhoud

Past BTEC IT Level 3 assignment submitted per 2016 RQF & scored a Distinction. Shared
for educational purposes only. Do not copy. Python code at end of document.
Introduction .................................................................................................................. 4
IoT System .................................................................................................................. 4
Purpose and Scope of the System ............................................................................ 4
Requirements ........................................................................................................... 4
Justification of Requirements .................................................................................... 5
Intended Audience .................................................................................................... 6
Benefits .................................................................................................................... 6
Constraints ............................................................................................................... 6
User Interactivity ....................................................................................................... 7
Architecture ................................................................................................................. 7
Designs ....................................................................................................................... 8
Design Diagrams ...................................................................................................... 8
Logic Diagrams ......................................................................................................... 9
Alternative Design Ideas ......................................................................................... 10
Why Were the Alternatives Were Not Chosen? ........................................................ 10
Technical and Design Constraints ........................................................................... 10
Feedback On the Designs ....................................................................................... 11
First Tester .......................................................................................................... 11
Second Tester ..................................................................................................... 12
Design Improvements / Optimisation ....................................................................... 13
Optimisation 1 – Changing of Logic Diagram ........................................................ 13
Original Design ................................................................................................. 13
Optimised Design ............................................................................................. 14
Explanation of Design Optimisation ................................................................... 15
Optimisation 2 – Updates to the Logic Diagram .................................................... 15
Original Design ................................................................................................. 15
Optimised Design ............................................................................................. 16
Explanation of Design Optimisation ................................................................... 17
Justification of Design Decisions ............................................................................. 17

,Past BTEC IT Level 3 assignment submitted per 2016 RQF & scored a Distinction. Shared
for educational purposes only. Do not copy. Python code at end of document.
Evaluation of Optimised Design............................................................................... 18
M2M Architecture ....................................................................................................... 19
Technical Standards .................................................................................................. 20
System and Device Communication Requirements .................................................. 20
System and Device Capabilities .............................................................................. 21
Network Location .................................................................................................... 21
Security ..................................................................................................................... 21
Remote Management ............................................................................................. 22
Effects of Malicious Attacks on the Prototype System .............................................. 22
M2M Integrated System or Device Operations ............................................................ 22
Programming Techniques and Constructs .................................................................. 23
IoT System Prototype Implementation ........................................................................ 26
PIR Sensor ............................................................................................................. 26
Raspberry Pi Pico WH ............................................................................................ 27
Complete Prototype System Implementation ........................................................... 28
System with PIR turned off ................................................................................... 28
System with PIR and Movement Detection on ...................................................... 29
System Generated Email Inbox ............................................................................... 30
System Generated Email ........................................................................................ 30
Web Dashboard – Movement Detection On ............................................................. 31
Web Dashboard – Movement Detection Off ............................................................. 31
Log File .................................................................................................................. 32
IoT Analytics .............................................................................................................. 32
Test Plan for Prototype System .................................................................................. 32
Analysis of Testing .................................................................................................. 33
Optimising of Prototype System.................................................................................. 33
First Optimisation .................................................................................................... 33
Before Optimisation – JSON File .......................................................................... 34
After Optimisation – Inside Program ..................................................................... 35

,Past BTEC IT Level 3 assignment submitted per 2016 RQF & scored a Distinction. Shared
for educational purposes only. Do not copy. Python code at end of document.
Explanation on Meeting Client Requirements ....................................................... 37
Second Optimisation ............................................................................................... 37
Before Optimisation ............................................................................................. 37
After Optimisation ................................................................................................ 37
Evaluation of Prototype Against Client Requirements.................................................. 38
Meeting Client Requirements ..................................................................................... 38
Proof for Meeting Client Requirements ....................................................................... 40
Source Code........................................................................................................... 40
Import external libraries ....................................................................................... 40
Constants ............................................................................................................ 40
General variables ................................................................................................ 41
Functions............................................................................................................. 41
connect - connects to Wi-Fi............................................................................... 41
open_socket - opens socket for web browser to connect to ............................... 42
webpage function creates web page HTML code with state of movement detector
and last 10 log entries ....................................................................................... 42
read_log_file : Reads last 10 log entries for the web server ............................... 43
serve – serves pages to client web browser and checks if movement detector
button clicked ................................................................................................... 44
open_log_file – opens log file for appending new movement detections ............. 44
turn_on_pir – turns on PIR sensor and ensures Pico is LED is off initially .......... 45
movement_detected – returns True if movement detected (only if PIR returns 1)
........................................................................................................................ 45
update_log = Adds a new entry to the log file .................................................... 45
send_email – formats email and sends it ........................................................... 45
main_loop – program loops indefinitely here, after setup, detecting movement .. 46
Main code - sets up device and connection then run main_loop until terminated ... 46
Evaluation of Risks and Benefits of the System .......................................................... 47
Evidence that you have demonstrated effective self-management and taken individual
responsibility while working on this assignment........................................................... 50

, Past BTEC IT Level 3 assignment submitted per 2016 RQF & scored a Distinction. Shared
for educational purposes only. Do not copy. Python code at end of document.
References ................................................................................................................ 51




Introduction
I have recently started working as an IT Technician in the Technical Department of a
small company that specialises in security systems and burglar alarms. The director of
the company is investigating if the company could make use of IoT technologies in its
products and services. On top of this, he has asked me to develop a prototype system
which uses this technology. The problem that the directors are keen to solve, is that
their current alarms simply ring an alarm bell when they detect an intruder, but they
would like the alarms to be able to notify the homeowner when an intruder is detected.




IoT System
Purpose and Scope of the System
The purpose and scope of the system is to create a prototype system that uses IoT
technologies for the company’s alarm to not just ring an alarm bell when they detect an
intruder but instead be able to notify the homeowner when an intruder is detected.



Requirements
Requirement ID Requirement
1 Detect movement using a PIR sensor
2 Process the output from the PIR sensor
3 Notify the homeowner of movement by sending an email to the
email address provided by the homeowner
4 Have a working Raspberry Pi Pico WH or similar microcomputer
5 Access to an email API, such as µMail for MicroPython
6 Have reliable access to the Internet
7 Have the correct Wi-Fi password stored, securely, in Raspberry Pi
Pico WH
8 Having the homeowner’s email address, which is put inside the
source code by the homeowner
9 Add text for subject and body of the email to be sent when
movement is detected

Geschreven voor

Study Level
Publisher
Subject
Course

Documentinformatie

Geüpload op
7 augustus 2025
Aantal pagina's
57
Geschreven in
2023/2024
Type
ESSAY
Docent(en)
Onbekend
Cijfer
A+

Onderwerpen

€13,55
Krijg toegang tot het volledige document:

Verkeerd document? Gratis ruilen Binnen 14 dagen na aankoop en voor het downloaden kun je een ander document kiezen. Je kunt het bedrag gewoon opnieuw besteden.
Geschreven door studenten die geslaagd zijn
Direct beschikbaar na je betaling
Online lezen of als PDF

Maak kennis met de verkoper
Seller avatar
TopBTEC

Ook beschikbaar in voordeelbundel

Maak kennis met de verkoper

Seller avatar
TopBTEC Myself
Volgen Je moet ingelogd zijn om studenten of vakken te kunnen volgen
Verkocht
9
Lid sinds
3 jaar
Aantal volgers
0
Documenten
4
Laatst verkocht
2 weken geleden
BTEC Distinctions

Ex-BTEC IT Level 3 student – all uploads are actual Distinction-graded assignments. Focused on IT units. Documents are clean, exam-board aligned, and made to help you structure your own.

0,0

0 beoordelingen

5
0
4
0
3
0
2
0
1
0

Waarom studenten kiezen voor Stuvia

Gemaakt door medestudenten, geverifieerd door reviews

Kwaliteit die je kunt vertrouwen: geschreven door studenten die slaagden en beoordeeld door anderen die dit document gebruikten.

Niet tevreden? Kies een ander document

Geen zorgen! Je kunt voor hetzelfde geld direct een ander document kiezen dat beter past bij wat je zoekt.

Betaal zoals je wilt, start meteen met leren

Geen abonnement, geen verplichtingen. Betaal zoals je gewend bent via iDeal of creditcard en download je PDF-document meteen.

Student with book image

“Gekocht, gedownload en geslaagd. Zo makkelijk kan het dus zijn.”

Alisha Student

Bezig met je bronvermelding?

Maak nauwkeurige citaten in APA, MLA en Harvard met onze gratis bronnengenerator.

Bezig met je bronvermelding?

Veelgestelde vragen