Tags
Language
Tags
December 2024
Su Mo Tu We Th Fr Sa
1 2 3 4 5 6 7
8 9 10 11 12 13 14
15 16 17 18 19 20 21
22 23 24 25 26 27 28
29 30 31 1 2 3 4

MATLAB Simulink+Arduino UNO Ultra Basics

Posted By: TiranaDok
MATLAB Simulink+Arduino UNO Ultra Basics

MATLAB Simulink+Arduino UNO Ultra Basics by Toshinori Fujii
English | October 18, 2022 | ISBN: N/A | ASIN: B0BJPXTH61 | 203 pages | EPUB | 12 Mb

 It is not as easy as scratch where a MATLAB Simulink beginner connects blocks to create a program.The specifications are quite peculiar, Help's explanations are difficult for beginners, and it is hard to understand where the blocks are. By the way, MATLAB Simulink can write programs directly or indirectly to the microcontroller Arduino UNO. Therefore, this book, created by a MATLAB Simulink+Arduino UNO ultra-beginner, is intended for those who are just starting to work with MATLAB+ArduinoUNO and MATLAB Simulink+Arduino UNO.
 MATLAB Simulink is a high-performance programming language for scientific and engineering calculations. In recent years, AI tools have been introduced that can perform both basic and advanced calculations and are becoming essential tools for AI learning. However, the drawback is that they are expensive for individuals to purchase.
 We will assume that this is done on a PC with MATLAB Simulink already installed. MATLAB was created to handle matrix calculations easily. Later, functions such as GUI and graph drawing were added, and it is used not only in the fields of electrical engineering, mechanical engineering, mathematics, physics, and information, but also in the humanities, such as economics and statistics. Although MATLAB is often avoided because of its high cost and difficulty in getting started, its powerful computing capabilities and graphical GUI have made it popular in companies and other organizations, and there is no reason not to use it.
 In this book, I, a MATLAB Simulink+Arduino UNO super beginner, will explain the very basic use of MATLAB+ArduinoUNO and MATLAB Simulink +ArduinoUNO, as well as some more applied uses. The operation in this manual has been verified with MATLAB 2022b. Also, this manual does not contain descriptions of AI-related content.

CONTENTS
Part 1: MATLAB
1.Introduction

2.Basic MATLAB operation
 2.1 Start MATLAB
 2.2 Check COM port

3.Arduino UNO
 3.1 Arduino UNO
 3.2 Electrical elements for experiments

4. Experiments with Arduino
 4.1 LED lighting experiment
  (1)Turn on external LEDs-1

  (8)Full Color LED
 4.2 Experiments with switches
  (1)LED lights up when switch is pressed

  (4)LED lights up when switch is pressed-4
 4.3 Loudspeaker experiment
  (1)Use the loudspeaker-1
  (2)Use the loudspeaker-2
  (3)Use the loudspeaker-3
  (4)Use the loudspeaker-4
 4.4 Servo Motor Experiment
  (1)Using servo motors-1
  (2)Using servo motors-2
  (3)Using servo motors-3
 4.5 Sensor experiment
  (1)Experiment of temperature sensor I2C communication
  (2)Voltage measurement of potentiometer (volume)
  (3)Potentiometer (volume)-2
  (4)Potentiometer (volume)-3
  (5)CDS cell
  (6)Distance sensor (infrared)
  (7)Gyro sensor (acceleration sensor)

Part 2: MATLAB Simulink
1.Basic operation of MATLAB Simulink
  (1)Installing the Arduino Support Package
  (2)How to use MATLAB Simulink
  (3)Simulation
  (4)Writing to Arduino UNO

2. Experiments with Arduino
 2.1 LED lighting experiment
  (1)Turn on external LEDs-1

  (8)Full Color LED
 2.2 Experiments with switches
  (1)LED lights up when switch is pressed

  (3)LED lights up when switch is pressed-3
 2.3 Loudspeaker experiment
 2.4 Servo Motor Experiments
  (1)Using servo motors-1
  (2)Using servo motors-2
 2.5 Sensor experiment
  (1)Experiment of temperature sensor I2C communication
  (2)Potentiometer (volume) voltage measurement
  (3)Potentiometer (volume)-2
  (4)CDS cell
  (5)Distance sensor (infrared)
  (6)Distance sensor (ultrasonic)
  (7)Gyro sensor (acceleration sensor)

 3. Mobile Robot Experiment
  (1)P-controlled experiments
  (2)Experiments with PI control

References