Advanced Search
Search Results
319 total results found
4.5 Prevention and Handling Strategies
Overcoming Deadlock Since detecting and recovering from a deadlock in an embedded system is very difficult, the best approach is prevention. This is done by breaking one of the four Coffman conditions. Break Circular Wait: Enforce a strict lock ordering for...
Module 9 - Advanced Graph
7.1 Introduction: The IoT Communication Stack
For an IoT device to be useful, it needs to communicate. This communication happens in layers, much like a conversation. You need to have connectivity, then you need a common language to request things (web communication), and sometimes a specialized shorthand...
Module 3 - Behavioural Style
A behavioral style in VHDL describes a digital system by specifying its functionality using high-level algorithms and sequential statements without detailing the underlying hardware structure.
7.2 Local Network Connectivity with Wi-Fi
Wi-Fi is a technology based on the IEEE 802.11 standards that enables wireless data exchange. The ESP32 supports common standards like 802.11b, 802.11g, and 802.11n, operating in the 2.4 GHz frequency band. ESP32 Wi-Fi Modes Station Mode (STA): The ESP32 acts...
Module 8 : OOP (SOLID, Encapsulation, Abstraction)
By the end of this module, students will be able to: - Understand the fundamental concepts of Object-Oriented Programming (OOP) - Transition from procedural C programming to OOP in C++ - Implement classes and objects in C++ - Apply encapsulation principles...
7.3 Web Communication with HTTP/HTTPS
HTTP HTTP (Hypertext Transfer Protocol) is the foundation of data communication on the World Wide Web. It operates on a request-response model. Client (ESP32): The client make a request to the server for a resource, like a webpage or data. Server (A Web Serve...
7.4 Efficient IoT Messaging with MQTT
MQTT (Message Queuing Telemetry Transport) is a lightweight messaging protocol designed for constrained devices and unreliable networks, making it perfect for IoT. Instead of the request-response model, MQTT uses a publish/subscribe (pub/sub) model. MQTT Compo...
Module 3 - Memory Management & Queue
By WN
10.1 Introduction
Module 10: Mesh Author: YP Learning Objectives After completing this module, students are expected to be able to: Explain the concept, advantages, and basic architecture of IoT mesh networks. Implement a simple mesh network using ESP32 with the painlessMesh l...
Module 3 : Array (Static)
By the end of this module, students will be able to: - Understand the fundamental differences between Python lists and C arrays - Declare and initialize static arrays with appropriate data types - Access and manipulate array elements using indexing - Imple...
Module 4 - Testbench
Module 4 - Merge Sort and Quick Sort
10.3 Example Code
10.3.1 Root Node #include <Arduino.h> #include <painlessMesh.h> #include <WiFi.h> // --- Konfigurasi Jaringan --- #define MESH_PREFIX "jaringan_mesh_saya" // HARUS SAMA dengan semua node #define MESH_PASSWORD "password_mesh" // HARUS SAMA dengan se...
Module 5 - Advanced Sorting Algorithms & The Heap Data Structure
Module 5 - Structural Programming
10.2 What is Mesh?
10.2.1 What is a Mesh Network? A mesh network is a topology where each device (node) is interconnected, creating multiple paths for data. Unlike traditional networks that rely on a single central point (such as a router), a mesh network is decentralized. How ...
Module 4 : Pointers & Dynamic Array
By the end of this module, students will be able to: Understand the concept and purpose of pointers in CDeclare and initialize pointers correctlyUse pointer operators (& and *) effectivelyPerform pointer arithmetic operationsWork with pointers and arraysPass ...