Month: November 2024
BTE1522 DRE2213 – Week 6 Pi Pico – Digital Input Output
Today’s Raspberry Pi class focused on hands-on exercises using the UMPSA STEM Cube, a picosatellite powered by a Raspberry Pi Pico. Students completed Activities 1, 2, and 3, where they explored digital output and input by turning LEDs on and off, blinking them, and reading inputs from switches and sliders.
The objective of these activities is to transition students from learning Python in a simulated environment, where they developed a slider game, to implementing Python in physical computing. Through the exercises, students practiced applying delay functions, making circuit connections, and importing MicroPython libraries into the Thonny IDE. The UMPSA STEM Cube serves as an introductory picosatellite equipped with basic sensors, providing a practical platform for students to apply their knowledge in physical computing.
DRE2213
BTE1522
BTE1522 DRE2213 – Week 6 Assignment Progress
Please submit your assignment report in KALAM. Upload the following:-
- Python codes
- Youtube links
- Assignment reports
DRE2213
RAJA RE23313, SKANTHANESSH RE23028, ARIFF DANIEL RE22197
BTE1522
Discussion on RTD Preparation
Raspberry Pi Programming 2024/6 – JPN Pahang 2
*UMPSA STEM Lab Raspberry Pi Programming Synopsis can be found here.
In the Raspberry Pi IoT session, 32 teachers from Jabatan Pelajaran Negeri Pahang were introduced to the concept of the Internet of Things (IoT) using Raspberry Pi on the UMP STEM Cube, a pico-satellite learning kit specifically designed to facilitate engineering learning.
The content covered basic digital input/output operations on onboard LEDs, as well as topics such as dashboard design using gyro meter and BMU280 sensor data, including collecting and storing data in a cloud database. Participants learned to interface sensors with Raspberry Pi boards and develop IoT applications for real-world scenarios. The session provided students with valuable insights into IoT technology and its applications in various domains.
A special appreciation is extended to Tn Hj Bushra for coordination in facilitating communication between the participants and the UMPSA STEM Lab.
Nov 7th
BOE Khas FTKEE
MSc Research Progress – CCTO Prep Sample 2
BTE1522 DRE2213 – Week 5 Global Classroom
In the latest session of the Global Classroom Initiative for DRE2213 Programming and Data Structure and BTE1522 Innovation (Python Programming) students were privileged to attend a talk by Prof. Ansgar Meroth from Helbron University. Prof. Ansgar delivered a comprehensive overview of IoT networks, particularly as applied to agriculture. This talk aligned perfectly with our BTE1522 and DRE2213 course’s focus, as students in the DRE course gain hands-on experience in Python programming, Raspberry Pi programming, and embedded systems.
Prof. Ansgar’s lecture began with the foundational elements of IoT, including sensors, network architecture, and the various considerations in building robust IoT solutions. Moving deeper, he shared insights on the types of sensors used, architecture design choices, and a project demonstration from his own classes. The talk’s focus on agricultural IoT applications illustrated the immense potential of these technologies to transform farming through precision monitoring and automation.
Key Points Covered in the Session
- Overview of IoT Systems
- Prof. Ansgar began with an introduction to IoT, discussing its growth and role in various sectors, especially in agriculture.
- Sensors and Embedded Systems
- He highlighted the importance of selecting appropriate sensors and embedded devices, considering factors like power consumption, accuracy, and environmental durability.
- Network Architecture
- Prof. Ansgar explained the architecture of IoT networks, emphasizing the role of gateways, cloud systems, and edge devices in enabling data processing and analysis closer to the source.
- Class Project Showcase
- Prof. Ansgar concluded with a detailed example of an agricultural IoT project from his own students, demonstrating the integration of real-time monitoring and data analysis to optimize resource use in farming.
Q&A Session with Prof. Ansgar
The session concluded with an engaging Q&A, where Prof. A addressed various thoughtful questions from students, demonstrating his deep expertise and providing practical guidance. Here are some of the key questions asked and the responses-
1. What are the critical components in developing a reliable and quality IoT solution?
There is a critical need for high-quality sensors, a robust network architecture, and efficient data handling techniques. Reliability can often hinge on the durability of sensors in harsh environments, as well as on efficient protocols for data transmission.
2. What are the considerations for choosing the right sensor in IoT solutions if cost isn’t an issue?
Prioritizing sensor accuracy, durability, and compatibility with other IoT components are recommended. Environmental factors, such as weather and soil conditions, also play a role in sensor selection for agricultural applications.
3. How can we optimize performance in IoT systems with limited power on Raspberry Pi?
Sleep modes and power-efficient protocols, such as MQTT, which is designed for minimal data transfer could be considered. Edge processing can also reduce energy usage by minimizing the amount of data sent to the cloud.
4. How do you ensure reliable data transmission and handling in IoT systems that operate on edge devices?
Using reliable networking protocols and setting up redundant systems to handle transmission errors is a good option, especially in remote areas where network stability may be an issue.
Additional Questions from the Class
1. What is the difference between IoT and IIoT?
While IoT focuses on general applications (e.g., smart homes, agriculture), Industrial IoT (IIoT) emphasizes industrial and manufacturing applications, where the systems must adhere to stringent standards for reliability and security.
2. In hazardous environments, what role does IoT play in monitoring and managing assets safely, and how reliable are these systems?
IoT can monitor environmental conditions and equipment status in real-time, alerting managers to unsafe conditions instantly. With proper system design, these systems can achieve high reliability.
3. What are the potential environmental benefits of using IoT for precision farming?
IoT enables precision resource management, reducing waste and minimizing environmental impact by providing data-driven insights into irrigation, fertilizer use, and crop health.
4. How can data security and privacy be ensured in an IIoT network?
Security is critical in IIoT, where implementing encryption, secure authentication protocols, and regular system audits could be implemented to mitigate risks.
5. How can organizations ensure a successful IIoT implementation without facing cybersecurity risks?
A layered security approach, including firewalls, intrusion detection systems, and ongoing employee training to protect against cybersecurity threats.
6. Are there devices beyond sensors or GPS that can accomplish tasks within IoT or IIoT?
Actuators and drones as examples of devices that can not only sense but also act on data, allowing IoT systems to respond autonomously to changing conditions.
7. What about the durability of sensors used in IoT farming systems? Are they different in quality or sensitivity compared to similar sensors in everyday devices?
In agricultural IoT, sensors are often designed to be more rugged, with higher sensitivity and protective casings to withstand outdoor environments. These are tailored for extended use in tough conditions, unlike everyday consumer electronics.
It was both an honor and an incredible experience to host Prof. Ansgar from Helbron University. His insights into the intersection of IoT, embedded systems, and agriculture were inspiring, providing our students with a glimpse into the future of technology-driven farming. Listening to fellow educators motivates me to creating opportunities for global collaboration and learning. As someone who believes deeply in breaking down barriers in education, I look forward to inviting more professors from around the world.
Engaging with international experts not only enriches our knowledge but also motivates us to strive for higher standards in our projects and activities.
Kudos to the students who actively engaged with Prof. Ansgar and asked thoughtful questions during the session. Their curiosity and commitment to learning demonstrated the high standards they are reaching for, making this session even more impactful.
Thank you, Prof. Ansgar, for sharing your expertise and inspiring us to innovate!
BTE1522 DRE2213 – Week 5 Assignments
This week, students from the BTE 1522 and DRE 2213 courses are given assignment that are designed to develop their programming skills in Python. Each group of three students is tasked with choosing one of the 20 game modification options available and implementing it as a team project. This assignment is all about creativity, problem-solving, and teamwork as students work to modify an existing Python game and showcase their programming concepts.
In this assignment, each group will:
- Select a Game Modification
- Out of 20 different modification options, each group chooses one that they’ll use to enhance a basic game written in Python.
- Modifications can range from adding new features, changing game mechanics, enhancing visuals, to incorporating user-friendly elements.
- Implement the Code Changes
- Using Python, students will modify the codebase to create the enhancement they selected. As they work through these changes, they’ll encounter new programming concepts, which they can build upon for future projects.
- This assignment offers students a chance to solidify their coding skills while adding their creative touch.
- Submit the Project Components
Each group will submit:
-
- The modified Python code, clearly commented to explain the changes made.
- A written report detailing the modifications, gameplay instructions, and the coding process.
- A 3-minute video demonstrating the game, explaining the code changes, and showcasing the impact of the modifications.
Reporting
To complete this assignment, please:
- Review the Game’s Base Code
- Understand the game’s original code before making any changes.
- Each student in the group should be familiar with how the code works to effectively contribute to the modification.
- Plan the Modification
- After selecting a modification, map out the changes needed.
- This could include adding new variables, adjusting functions, or integrating additional modules. Using flowcharts or pseudocode can be especially helpful to visualize how the new feature will work within the existing game structure.
- Divide and Conquer
- With three members in each group, teamwork will be key!
- Students should divide tasks based on each member’s strengths and collaborate to implement the modification efficiently.
- Test the Changes
- Test the game thoroughly to ensure that the new feature or modification works as intended and doesn’t disrupt existing functionality.
- Debugging is an important skill in programming, so encountering and fixing errors will be a valuable part of this process.
Upload these in KALAM (https://kalam.ump.edu.my/)
Showcase and Reflect
As part of the final submission, you are encouraged to be creative with their 3-minute video, which should highlight –
- Gameplay
- Show the modification in action and explain how it enhances the game.
- Code Explanation
- Walk viewers through the code changes made, highlighting key additions and adjustments.
- Reflection
- Share insights into the challenges and learning experiences encountered during the project.
Good luck to all the groups, and I look forward to seeing your creativity come to life in your games!