https://github.com/mathworks-teaching-resources/intro-to-engineering
This curriculum module contains interactive MATLAB® live scripts introducing fundamental concepts of modern engineering using Arduino Hardware. The whole module is designed to explore these concepts using hardware using Arduino. You will explore the signals, data analysis, sensing, control, and Internet of Things (IoT).
https://github.com/mathworks-teaching-resources/intro-to-engineering
arduino courseware engineering internet-of-things matlab matlab-live-sc simulink
Last synced: 9 months ago
JSON representation
This curriculum module contains interactive MATLAB® live scripts introducing fundamental concepts of modern engineering using Arduino Hardware. The whole module is designed to explore these concepts using hardware using Arduino. You will explore the signals, data analysis, sensing, control, and Internet of Things (IoT).
- Host: GitHub
- URL: https://github.com/mathworks-teaching-resources/intro-to-engineering
- Owner: MathWorks-Teaching-Resources
- License: bsd-3-clause
- Created: 2023-12-13T19:50:11.000Z (over 2 years ago)
- Default Branch: release
- Last Pushed: 2024-08-24T15:01:51.000Z (almost 2 years ago)
- Last Synced: 2024-08-24T16:22:33.655Z (almost 2 years ago)
- Topics: arduino, courseware, engineering, internet-of-things, matlab, matlab-live-sc, simulink
- Language: MATLAB
- Homepage:
- Size: 9.06 MB
- Stars: 3
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE.md
- Security: SECURITY.md
Awesome Lists containing this project
README
# Introduction to Engineering:
# A Hands\-On Exploration with Arduino
[](https://www.mathworks.com/matlabcentral/fileexchange/156477-introduction-to-engineering-with-arduino) or [](https://matlab.mathworks.com/open/github/v1?repo=MathWorks-Teaching-Resources/Intro-To-Engineering&project=intro-to-engineering.prj&file=README.mlx)
[](https://MathWorks-Teaching-Resources.github.io/Intro-To-Engineering)
**Curriculum Module**
_Created with R2024a. Compatible with R2024a and later releases._
# Information
This curriculum module contains interactive [MATLAB® live scripts](https://www.mathworks.com/products/matlab/live-editor.html) introducing fundamental concepts of modern engineering using Arduino Hardware. The whole module is designed to explore these concepts using hardware using Arduino. You will explore the signals, data analysis, sensing, control and Internet of Things (IoT).
## Background
You can use these live scripts as demonstrations in lectures, class activities, or interactive assignments outside class. This module covers the concepts of signals, control, and technical writing. It also includes examples of the Internet of Things and physical modeling.
The instructions inside the live scripts will guide you through the exercises and activities. Get started with each live script by running it one section at a time. To stop running the script or a section midway (for example, when an animation is in progress), use the
Stop button in the **RUN** section of the **Live Editor** tab in the MATLAB Toolstrip.
## Contact Us
Solutions are available upon instructor request. Contact the [MathWorks teaching resources team](mailto:onlineteaching@mathworks.com) if you would like to request solutions, provide feedback, or if you have a question.
## Prerequisites
These scripts assume no prior knowledge of hardware programming and wiring. There is minimal MATLAB & Simulink knowledge required to complete the module. It is highly encouraged to follow online self\-paced training to complete most of the activities:
- [MATLAB Onramp](https://matlabacademy.mathworks.com/details/matlab-onramp/gettingstarted)
- [Simulink Onramp](https://matlabacademy.mathworks.com/details/simulink-onramp/simulink)
- [Stateflow Onramp](https://matlabacademy.mathworks.com/details/stateflow-onramp/stateflow)
## Getting Started
Download this repository. Open MATLAB, navigate to the folder containing these scripts, and double\-click on [intro\-to\-engineering.prj](https://matlab.mathworks.com/open/github/v1?repo=MathWorks-Teaching-Resources/Intro-To-Engineering&project=intro-to-engineering.prj&file=README.mlx). It will add the appropriate files to your MATLAB path and open an app that asks you where you would like to start.
To clone this repository, you can copy and paste the following command directly into your MATLAB Command Window:
gitclone("https://github.com/MathWorks-Teaching-Resources/Intro-To-Engineering.git")
Ensure you have all the required products (listed below) installed. If you need to include a product, add it using the Add\-On Explorer. To install an add\-on, go to the **Home** tab and select
**Add-Ons** > **Get Add-Ons**.
## Products
MATLAB®, Simulink®, Stateflow™, Symbolic Math Toolbox™, MATLAB Support package for Arduino, Simulink Support package for Arduino.
# Scripts
## [**SupportArduino.mlx**](https://matlab.mathworks.com/open/github/v1?repo=MathWorks-Teaching-Resources/Intro-To-Engineering&project=intro-to-engineering.prj&file=Scripts/SupportArduino.mlx)
| | |
| :-- | :-- |
|
| **In this script, students will...**
$\bullet$ Check their Arduino board compatibility.
$\bullet$ Install MATLAB and Simulink support packages for Arduino Hardware.
$\bullet$ Setup ThingSpeak channel for IoT.
|
| | |
## [BlinkToSOS.mlx](https://matlab.mathworks.com/open/github/v1?repo=MathWorks-Teaching-Resources/Intro-To-Engineering&project=intro-to-engineering.prj&file=Scripts/BlinkToSOS.mlx)
| | |
| :-- | :-- |
|
| **In this script, students will...**
$\bullet$ Learn the fundamental type of signals supported on and Arduino board.
$\bullet$ Wire a simple LED to their Arduino board.
$\bullet$ Control the LED from a simple blink to encoding Morse code.
|
| | |
## [**ReactionAnalyzer.mlx**](https://matlab.mathworks.com/open/github/v1?repo=MathWorks-Teaching-Resources/Intro-To-Engineering&project=intro-to-engineering.prj&file=Scripts/ReactionAnalyzer.mlx)
| | |
| :-- | :-- |
|
| **In this script, students will...**
$\bullet$ Learn how to control Arduino with a Stateflow diagram.
$\bullet$ Learn data analysis techniques.
$\bullet$ Write and export experiment report from MATLAB.
|
| | |
## [**GreenhouseControl.mlx**](https://matlab.mathworks.com/open/github/v1?repo=MathWorks-Teaching-Resources/Intro-To-Engineering&project=intro-to-engineering.prj&file=Scripts/GreenhouseControl.mlx)
| | |
| :-- | :-- |
|
| **In this script, students will...**
$\bullet$ Use a temperature sensor.
$\bullet$ Develop a control algorithm.
$\bullet$ Test their control algorithm.
|
| | |
## [**GreenhouseModel.mlx**](https://matlab.mathworks.com/open/github/v1?repo=MathWorks-Teaching-Resources/Intro-To-Engineering&project=intro-to-engineering.prj&file=Scripts/GreenhouseModel.mlx)
| | |
| :-- | :-- |
|
| **In this script, students will...**
$\bullet$ Use a Simscape thermal model.
$\bullet$ Simulate the greenhouse over a full year of data.
$\bullet$ Test multiple fans to validate the design.
|
| | |
## [**ConnectedGreenhouse.mlx**](https://matlab.mathworks.com/open/github/v1?repo=MathWorks-Teaching-Resources/Intro-To-Engineering&project=intro-to-engineering.prj&file=Scripts/ConnectedGreenhouse.mlx)
| | |
| :-- | :-- |
|
| **In this script, students will...**
$\bullet$ Learn how to read and write from a ThingSpeak channel.
$\bullet$ Log the temperature in the greenhouse on their own channel.
$\bullet$ Create an alert when the temperature exceeds the acceptable range.
|
| | |
# Related Courseware Modules
## [**Robotic Manipulators**](https://www.mathworks.com/matlabcentral/fileexchange/130124-robotic-manipulators)
| | |
| :-- | :-- |
|
| **Available on:**
[
](https://www.mathworks.com/matlabcentral/fileexchange/130124-robotic-manipulators)
[
](https://matlab.mathworks.com/open/github/v1?repo=MathWorks-Teaching-Resources/Robotic-Manipulators&project=Robotic-Manipulators.prj)
[GitHub](https://github.com/MathWorks-Teaching-Resources/Robotic-Manipulators)
|
| | |
Or feel free to explore our other [modular courseware content](https://www.mathworks.com/matlabcentral/fileexchange/?q=tag%3A%22courseware+module%22&sort=downloads_desc_30d).
# Educator Resources
- [Educator Page](https://www.mathworks.com/academia/educators.html)
# Contribute
Looking for more? Find an issue? Have a suggestion? Please contact the [MathWorks teaching resources team](mailto:%20onlineteaching@mathworks.com). If you want to contribute directly to this project, you can find information about how to do so in the [CONTRIBUTING.md](https://github.com/MathWorks-Teaching-Resources/Intro-To-Engineering/blob/release/CONTRIBUTING.md) page on GitHub.
Copyright 2023 The MathWorks™, Inc