Group Assignment:

  • send a message between two projects
  • Document your work to the group work page and reflect on your individual page what you learned

Individual Assignment:

  • design, build and connect wired or wireless node(s) with network or bus addresses and a local input and/or output devices

Have you answered these questions?

  • Linked to the group assignment page ✅
  • Documented your project and what you have learned from implementing networking and/or communication protocols. ✅
  • Explained the programming process(es) you used. ✅
  • Ensured and documented that your addressing for boards works. ✅
  • Outlined problems and how you fixed them. ✅
  • Included design files (or linked to where they are located if you are using a board you have designed and fabricated earlier) and original source code. ✅
  • Included a ‘hero shot’ of your network and/or communications setup. ✅
Group Assignment

  • send a message between two projects
  • Document your work to the group work page and reflect on your individual page what you learned
Group assignment



Teamwork

During the group project meeting, I had the opportunity to collaborate with my classmate Evelyn, with whom we discussed various measurement concepts. I was also able to explain in more detail how these measuring instruments work, such as the multimeter, which measures various electrical properties, such as voltage, current, and resistance, while a power meter measures the energy consumption of a device or system. The multimeter is a general tool for electrical testing, while the power meter focuses on analyzing energy usage.

With the knowledge acquired, I was able to better understand the use of the instruments and their applications.

Reflections

  • What I learned during the group assignment is that it's essential to measure the energy consumption of an output device. In my case, I measured the consumption of a motor, and this allowed me to understand that it's not just about knowing how much energy it uses, but also about analyzing how the system behaves under different operating conditions. By observing consumption at different times, I learned to identify when the motor is working harder, when it's most efficient, and how this can affect the system's overall performance. This experience helped me realize the importance of designing systems that are not only functional, but also efficient and sustainable.
  • This experience also made me reflect on the importance of measuring to improve. By understanding the motor's energy consumption, I not only understood its behavior but also considered how to optimize its use in real-world projects. I chose this test because it's part of my final project, which involves designing a security robot. Furthermore, knowing how much energy is required under different conditions allows for better decisions when designing more efficient, durable, and sustainable systems. This is a key step if we want to develop responsible technology adapted to the needs of the environment.

Individual Assignment


  • design, build and connect wired or wireless node(s) with network or bus addresses and a local input and/or output devices


We started week 11, and our instructor, Ulises, gave us a masterclass on embedded networks and communications. In the video, he offers a detailed explanation of the MQTT protocol, programming for sensor and module operation, the roles of publishers and subscribers, and how to manage the Arduino IDE development environment.

Link to watch the video.

MQTT

MQTT (Message Queuing Telemetry Transport) is a messaging protocol for restricted low-bandwidth networks and extremely high-latency IoT devices. Since Message Queuing Telemetry Transport is specialized for low-bandwidth, high-latency environments, it is an ideal protocol for machine-to-machine (M2M) communication. online simulator to blink an LED.MQTT consists of several layers within networking and communication. Networks enable the interconnection of devices in various configurations, facilitating communication between them. Communication protocols operate at different layers of the OSI model. The transport layer, such as TCP (Transmission Control Protocol), is responsible for ensuring the reliable transmission of data between devices. Meanwhile, the network layer, such as IP (Internet Protocol), handles packet addressing across the network.

MQTT operates in the application layer, which is a higher layer in the OSI model. This means that MQTT relies on transport protocols like TCP for message transmission between devices. Within the communication protocols, MQTT uses a broker, which is a central server that facilitates communication between devices such as sensors, controllers, and users.

MQTT Components

  • Broker: The central server that routes messages between clients.
  • Publisher: Sends data to a topic.
  • Subscriber: Listens to a topic and receives data.
  • Topic: A string-based path like sensors/temp.

Mqtt installation

To install MQTT, we follow the following steps:

Go to the official site

We locate the operating system of our machine, in my case Windows, the installer for Windows will be downloaded.

Once the installation is executed, it is finished

the program was installed correctly

Once the interface is open, click on new connection

A new connection opens, where we have to fill out the required fields, as this information will allow other users in different locations to connect via MQTT

The data was filled in as shown in the image, and the name was practicaMQTT.

The new PracticaMQTT connection was generated

in In this video you can see that the sensor emits a digital signal: HIGH when it does not detect an impact and LOW when it detects a blow