وبلاگ بلیان

Building Arduino PLCs : The Essential Techniques You Need to Develop Arduino-based PLCs

معرفی کتاب «Building Arduino PLCs : The Essential Techniques You Need to Develop Arduino-based PLCs» نوشتهٔ Pradeeka Seneviratne (auth.)، منتشرشده توسط نشر Apress Imprint : Apress در سال 2017. این کتاب در 4 صفحه، فرمت pdf، زبان انگلیسی ارائه شده است.

Learn the fundamentals of PLCs and how to control them using Arduino software to create your first Arduino PLC. You will learn how to draw Ladder Logic diagrams to represent PLC designs for a wide variety of automated applications and to convert the diagrams to Arduino sketches. A comprehensive shopping guide includes the hardware and software components you need in your tool box. You will learn to use Arduino UNO, Arduino Ethernet shield, and Arduino WiFi shield. __Building Arduino PLCs__ shows you how to build and test a simple Arduino UNO-based 5V DC logic level PLC with Grove Base shield by connecting simple sensors and actuators. You will also learn how to build industry-grade PLCs with the help of ArduiBox. **What You'll Learn** * Build ModBus-enabled PLCs * Map Arduino PLCs into the cloud using NearBus cloud connector to control the PLC through the Internet * Use do-it-yourself light platforms such as IFTTT * Enhance your PLC by adding Relay shields for connecting heavy loads **Who This Book Is For** Engineers, designers, crafters, and makers. Basic knowledge in electronics and Arduino programming or any other programming language is recommended. Contents at a Glance 4 Contents 5 About the Author 11 About the Technical Reviewer 12 Chapter 1: Getting Ready for the Development Environment 13 Buying an Arduino 15 Arduino UNO and Genuino UNO 15 Arduino UNO 15 Genuino UNO 16 Cable and Power Supply 17 USB Cable 17 Power Supply 17 Arduino UNO Clones and Derived Boards 18 SparkFun RedBoard 18 Buying an Arduino Ethernet Shield 19 Arduino Ethernet Shield 2 19 Buying an Arduino WiFi Shield 21 Buying a Grove Base Shield 21 Buying Grove Components 22 Grove Button 22 Grove LED 23 Grove Relay 24 Grove Temperature Sensor 25 Grove Speaker 25 Grove Infrared Reflective Sensor 26 Grove Cables 27 Buying a Relay Shield 27 Arduino 4 Relays Shield 27 SeeedStudio Relay Shield 28 Buying an ArduiBox 29 Buying a Modbus Shield, Module, and Sensor 30 Multiprotocol Radio Shield for Arduino 30 RS485/Modbus Module for Arduino and Raspberry Pi 31 Downloading Software 32 Arduino Software 32 plcLib 33 Arduino Ethernet2 Library 34 WiFi Shield Firmware 34 Modbus RS485 Library 34 Summary 34 Chapter 2: Arduino, Ethernet, and WiFi 35 Arduino and Genuino 35 Digital Pins 36 Analog Pins 37 Powering the Arduino Board 37 USB Power 37 9V AC/DC Adapter 37 9V Battery Pack 38 VIN Pin 39 Arduino Ethernet 39 Arduino Ethernet Shield 2 39 Connecting Them Together 41 MAC Address 43 IP Address 44 Arduino WiFi 44 Arduino Software 45 Downloading Arduino Software 45 Using the Arduino IDE 46 Where Is the libraries Folder? 47 Adding the Ethernet2 Library 47 Cables 48 Basic Configurations 49 Writing Sketches for Arduino UNO 50 Bare Minimum Code 50 Hello World 52 Blinking 52 Fading 55 Reading Analog Inputs 56 Writing Sketches for Arduino Ethernet 60 A Simple Web Client 60 Writing Sketches for Arduino WiFi 64 Summary 67 Chapter 3: Arduino at Heart 68 What Is PLC? 69 Arduino at Heart 70 Industruino 70 Industruino Proto Kit 71 Industruino Industrial I/O Kit 72 Industrial Shields 73 Controllino 75 Controllino MINI 75 Controllino MAXI 76 Controllino MEGA 77 Summary 79 Chapter 4: Your First Arduino PLC 80 Grove Base Shield Basics 80 Power Switch 82 Power Indicator 83 Reset Button 84 Grove Connectors 84 Digital Ports 85 Analog Ports 85 UART Port 86 I2C Ports 86 Building a Basic Programmable Logic Controller 87 The Requirements and Logic 88 Required Hardware 88 Connecting the Components 88 Writing Your First Arduino Sketch for PLCs 89 Uploading Your Arduino Sketch 90 Testing Your Sketch 90 Troubleshooting 91 Working with Audio 91 Connecting the Components 91 Testing Audio 92 Adding a Reset Button 93 Connecting the Components 93 Testing the Reset Button 94 Summary 94 Chapter 5: Building with an ArduiBox 95 ArduiBox 95 Soldering the Terminal Blocks 98 Soldering the Male Headers 100 Soldering the Female Headers 102 Soldering the Reset Button 104 Mapping Arduino Pins to the Terminal Blocks 106 Prototyping Area 108 Building the Circuit 108 Power Supply 110 USB Power 110 Arduino DC Barrel Jack 110 Using a K9 Terminal 110 Assembling the Enclosure 112 DIN Rails 115 Connecting the Temperature Sensor and Fan 115 Testing Your ArduiBox 117 Test Case 1 117 Test Case 2 117 Summary 117 Chapter 6: Writing PLC-Style Applications with plcLib 118 Introduction to the plcLib Library 118 Installing plcLib on Arduino 118 The Default Hardware Configuration 119 Ladder Logic 120 Basic Ladder Logic Symbols 120 Implementing Simple PLC-Style Applications 120 Single Bit Input 121 Inverted Single Bit Input 125 Inverted Single Bit Output 128 Time Delays 129 Turn On Delay 129 Turn Off Delay 129 Fixed Duration Pulse Output 130 Boolean Operations 131 Implementing Boolean OR 131 Summary 134 Chapter 7: Modbus 135 Multiprotocol Radio Shield 135 RS485/Modbus Module for Arduino and Raspberry Pi 137 Installing the RS485 Library for Arduino 138 Building a PLC with Modbus 139 Building the Hardware Setup 139 The Arduino Sketch 143 Summary 146 Chapter 8: Mapping PLCs into the Cloud Using the NearBus Cloud Connector 147 What Is NearBus? 147 Building Your Cloud PLC 147 Mapping a PLC Into the Cloud Using NearBus Cloud Connector 148 Signing Up with NearBus 148 Defining a New Device in NearBus 148 Downloading the NearBus Library for Arduino 151 Uploading the Sketch 152 Controlling the Grove LED from the NearBus Cloud 158 Using the IFTTT DIY Light Platform 161 Creating a Recipe with IFTTT 162 Summary 172 Chapter 9: Building a Better PLC 173 Using Relay Boards 173 Boards with a Single Relay 173 Testing 177 Boards with Multiple Relays 177 Using Relay Shields 178 Driving High-Power DC Loads with Relay Shields 178 Building with an Arduino 4 Relays Shield 179 Testing 181 Driving High-Power AC Loads with Relay Shields 181 Testing 185 Adding More Relay Channels 185 Summary 186 Index 187 This Book Presents The Fundamentals Of Plcs And Explains In A Practical Approach How To Draw Ladder Logic Diagrams To Represent Plc Design Methods For Wide Variety Of Automated Applications. Building Arduino Plcs Starts By Explaining How To Build And Test A Simple Arduino-based 5v Dc Plc With Arduino Hardware And Grove Base Shield. You'll Then Learn How To Build 12v Dc Plc With Arduino Hardware, Relays, And Various Passive Components. Then The Final Part Of The Book Will Show Readers How To Control 120v/240v Applications With Plcs By Enhancing The Design With Optocouplers And Relays. The Arduino Development Environment, Including Arduino Uno, Arduino Ethernet Board, Arduino Ethernet Shield, And Arduino Wifi Shield Are Also Featured In Building A Set Of Simple To Complex Plcs. Front Matter....Pages i-xiii Getting Ready for the Development Environment....Pages 1-22 Arduino, Ethernet, and WiFi....Pages 23-55 Arduino at Heart....Pages 57-68 Your First Arduino PLC....Pages 69-83 Building with an ArduiBox....Pages 85-107 Writing PLC-Style Applications with plcLib....Pages 109-125 Modbus....Pages 127-138 Mapping PLCs into the Cloud Using the NearBus Cloud Connector....Pages 139-164 Building a Better PLC....Pages 165-178 Back Matter....Pages 179-183
دانلود کتاب Building Arduino PLCs : The Essential Techniques You Need to Develop Arduino-based PLCs