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

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

MENU

GO-AHEADの書籍(Sequence Control with Raspberry Pi + Arduino UNO and OpenPLC)

 


Sequence Control with Raspberry Pi + Arduino UNO and OpenPLC

f:id:hashi-rei-channel:20210813115421j:plain

Sequence Control with Raspberry Pi + Arduino UNO and OpenPLC Amazon Kindle版

 

 More and more students are using smartphones rather than computers, and the number of students who can use smartphones but cannot use computers is increasing. Also, if a student does not have a computer during a remote class, they will not be able to do remote exercises through the computer. Therefore, we will consider using Raspberry Pi to teach the class. When I was using the Raspberry Pi 3, I thought the browser and other functions were a bit slow, but now with the Raspberry Pi 4, I can use it normally. However, the CPU gets quite hot, so heat dissipation is required.

 To prevent students from being densely packed when conducting experiments, set up the system so that the remote screen can be controlled by VNC, assuming that the experiments are conducted in different rooms on the same LAN. VNC (Virtual Network Computing) is the ability to call up the screen of another computer to your own computer and control it from your own computer. This is different from a VPN (Virtual Private Network).This will allow us to direct the experiment in progress and instructions to a remote room in the school.

 The Raspberry Pi 4 and Arduino are excellent devices for learning IoT and can be used to teach remotely. By using OpenPLC for this, learning sequence control can be done without a PC. Let's learn the basics of controlling sequences with Raspberry Pi 4+Arduino+OpenPLC.

 This book focuses on the usage of OpenPLC. It also explains how to make and control an elevator experimental device, which is an applied experimental device for sequencing, using cardboard in consideration of the SDGs. We hope you will use this book to learn the basics of sequence control.


Sequence Control with Raspberry Pi + Arduino UNO and OpenPLC

Contents

1.Introduction ・・・・・5

2.Raspberry Pi ・・・・・7
 2.1 Raspberry Pi4 Model B
 2.2 Installing the OS for Raspberry Pi
(1) Downloading the OS
(2) Connection to USB, HDMI
(3) Setting up the OS
(4) USBメモリ
(5) Copying the screen
(6) When you want to connect to a wired LAN
 2.3 Arduino UNO
 2.4 Installing the Arduino-IDE
 2.5 Installing OpenPLC
 (1) Install the OpenPLC editor
 (2) Download Arduino FIRMWARE
 (3) Installing Runtime
 (4) Checking operation

 

3.Basic sequence circuits ・・・・・67
(1) make and break contacts
(2) Basic logic circuits
(3) Sequence basic circuit
 Example (1)
 Example (2)

4. Devices used in the experiment ・・・・・83
 (1) LED
 (2) Potentiometer
 (3) CDS cell
 (4) Motor driver
 (5) Reed switch
 (6) Photo coupler

5. Sequence Control with OpenPLC ・・・・・88
 (1) Self-hold circuit (stop priority circuit)
 (2) Circuits that repeat ON/OFF
   (Chapter 4, Example 1)
 (3) A circuit that turns on after a certain time
   (Chapter 4, Example 2)
 (4) Periodic operation circuit
 (5) Circuit that lights up
   when the button is pressed 10 times
 (6) Circuit of analog input
 (7) Circuit of analog output
 (8) Analog input/output circuits
 (9) Motor control


6. Construction and experiments of the
  elevator test equipment. ・・・・・129
 6.1 Construction of the elevator equipment
   and experiments
(1) Experimental circuit
(2) Experimental apparatus
 ①elevator car section
 ②Body section
 6.2 Elevator control experiment
<Example of experiment-1>
<Example of experiment-2>
<Example of experiment-3>
<Example of experiment-4>

 

7 VNC ・・・・・147
 7.1 Setting up VNC on Raspberry Pi
 7.2 Setting up VNC on the computer
 7.3 Remote connection

Appendix (Elevator experimental apparatus design drawing) ・・・・・160

References ・・・・・162