橋平礼の電験三種合格講座

過去50年分以上の電験三種の問題を解いて分かった、電験三種は今も昔も変わりません。過去問を解きながら合格を目指しましょう。

MENU

GO-AHEADの書籍(Octave + Arduino UNO Ultra Basics)

 


Octave + Arduino UNO Ultra Basics

 

Octave + Arduino UNO Ultra Basics Amazon Kindle版
 

 This is a book for Octave very beginners who are going to work on Octave, which is a free software and highly compatible with Octave before using MATLAB.

 MATLAB 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, they are expensive to purchase individually.

 Therefore, we assume that you will first study with Octave, which is MATLAB compatible software, and then introduce MATLAB. Both Octave and MATLAB were originally 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 it is often avoided because of its high cost and difficulty for beginners, MATLAB has been adopted by companies and other organizations due to its powerful computing capabilities and graphical GUI, and there is no reason not to use MATLAB. However, MATLAB is expensive, so the idea is to practice with Octave first.

 In addition to Octave, there are other free software programs that have the same functionality as MATLAB, such as Silab. Octave in particular is compatible with MATLAB.

 In this book, I, a MATLAB-compatible Octave ultra beginner, will explain how to use Octave+ArduinoUNO from the very basics to slightly more advanced applications. The operation in this manual is confirmed with Octave 7.2.0 and Arduino IDE 2.0.0.

 

                            
CONTENTS

1. Introduction

2. Basic Octave Operation
  2.1 Basic operations
    (1) Starting Octave
    (2) Installing the Arduino package
  2.2 Check COM port
  2.3 Installing Arduino IDE 2.0
  2.4 Connecting with Arduino UNO

3. Arduino UNO
  3.1 Arduino UNO
  3.2 Electrical elements for experiments
    (1) LED
    (2) Resistance (1/4W)
    (3) Breadboard
    (4) Jumper wire
    (5) Piezoelectric speaker
    (6) Servo Motor
    (7) Potentiometer
    (8) CDS cell
    (9) Full Color LED

4. Experiments with Arduino
  4.1 LED lighting experiment
    (1) Turn on external LEDs-1
    (2) Turn on LED-2
    (3) Turn on LED-3
    (4) Turn on LED-4
    (5) Turn on LED-5
    (6) Turn on LED-6
    (7) Turn on LED-7
    (8) Full Color LED
  4.2 Experiments with switches
    (1) LED lights up when switch is pressed
    (2) LED lights up when switch is pressed-2
    (3) LED lights up when switch is pressed-3
    (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)
    (8) Ultrasonic Sensor

5. Mobile Robot Experiment
    (1) P-controlled experiments
    (2) PI-controlled experiments
    (3) PID-controlled experiments

References