##-- Ball & Beam control using Simulink-Arduino --##
This files are intended to be used for educational purpuse.
- Arduino code for the IR distance sensor
- Simulink blocks for modeling:
- S-function model
- Predefined blocks model
- 3D STL files
- Drawings
The goal of this project is to stabilize a ball on a beam at the desired distance by implementing a discrete PID controller to the system. This will be tested with two models:
- Model with a custom S-function builder block
- Model with predefined blocks
Arduino code is implemented in a Simulink model by using a custom s-function builder block.
##-- Requirements --##
To run this model, you'll need:
-
Arduino, v. 1.8.5 or higher
-
MATLAB v. 2018a or higher, the Arduino toolbox add-on needs to be installed
-
3D printer
##-- Credits --##
-
Project author: Henar Brenlla
-
EIB (UPV/EHU)
##-- Renders --##
##-- Operational diagram of the system --##
##-- How does the system run in Arduino-Simulink? --##