Chapter 1: Getting Ready
Chapter Goal: This chapter offers shopping guide and introduction to all major hardware
components and downloading guidance to software we’ll be using throughout the book.
No of pages 20
Sub -Topics
1. Arduino
1. Arduino UNO and Genuino
2. Arduino Ethernet
1. Ethernet Shield
2. Ethernet Board
3. Arduino WiFi
1. Sparkfun WiFi shield
2. Grove Base Shield v2 (http://wiki.seeedstudio.com/wiki/Grove_-_Base_shield_v2)
3. Arduino 4 Relay shield (http://www.arduino.org/products/shields/arduino-4-relaysshield)
4. Seeedstudio Relay Shield (http://wiki.seeedstudio.com/wiki/Relay_Shield_v3.0)
5. PlcLib
Chapter 2: Arduino, Ethernet and WiFi
Chapter Goal: In this chapter you’ll learn Arduino basics and Arduino communication
shields such as Arduino Ethernet and WiFi shields.
No of pages 30
Sub -Topics
1. Arduino UNO and Genuino
2. Arduino Ethernet
1. Ethernet Shield
2. Ethernet Board
3. Arduino WiFi
DocuSign Envelope ID: ADD42D3E-95C9-4F5A-BB5A-E03D26434A0A
10 233 Spring Street, 3rd Fl., New York, NY 10013 | www.apress.com
1. Sparkfun WiFi shield
4. Arduino Software
1. Downloading the Software
2. Using the Arduino IDE
3. Cables and breakouts
4. Bare minimum
5. Hello World
5. Arduino Wireless
1. Working with Arduino Ethernet
2. Arduino Ethernet Library
3. Writing sketches with Arduino Ethernet Library
4. Working with Arduino WiFi
5. Arduino WiFi Library
6. Writing Sketches with Arduino WiFi Library
Chapter 3: Fundamentals of PLCs
Chapter Goal: The goal of this chapter is to present the fundamentals of PLCs and applications
of PLCs in industrial automation. The latter of this chapter will introduce various
Arduino based PLCs available in the market.
No of pages 50
Sub -Topics
6. All about PLCs this topic will discuss about the fundamentals of PLCs as
well as the brief history of PLCs, evaluation etc.
7. Applications of PLCs this topic will discuss about application of PLCs in
various industrial automation areas.
8. Arduino at Heart PLCs built with Arduino as the main controller board
such as Industruino, industrialshields and CONTROLLINO.
Chapter 4: Your first Arduino PLC
Chapter Goal: In this chapter the reader will learn and gain practical knowledge and experience
about how to design and build a simple Arduino based 5V DC logic PLC with
Arduino hardware and Grove base shield and test the final product with Grovebutton
and Grove-LED.
No of pages:40
DocuSign Envelope ID: ADD42D3E-95C9-4F5A-BB5A-E03D26434A0A
233 Spring Street, 3rd Fl., New York, NY 10013 | www.apress.com 11
Sub - Topics
2. Grove Base Shield basics
1. Connecting to Arduino
3. Build a basic Programmable Logic Controller
1. The logic
2. Parts -list of parts
3. Connecting them together
4. Writing your first Arduino sketch -writing logic with native Arduino code
5. Uploading your Arduino sketch -instructions about how to upload the
Arduino sketch to the Arduino board
6. Testing
7. Troubleshooting -discuss about few troubleshooting tips
Chapter 5: Building with ArduiBox
Chapter Goal: This chapter will explain how to build simple PLC with ArduiBox
No of pages: 20
Sub - Topics:
4. Prototyping plate
5. Connecting Arduino
6. Connecting Grove base shield
7. Voltage regulator
8. The enclosure
9. Connecting with DIN rail
10. Connecting Grove PIR motion sensor and Grove LED
11. Writing Arduino sketch
12. Testing
13. Troubleshooting
Chapter 6: Write PLC-style applications with plcLib
Chapter Goal: This chapter will explain how to write PLC-style applications with plcLib - an
Arduino library for write control-oriented software applications. Also they will
learn how to implement all the examples using real hardware such as switches,
sensors, lights and relays. Also the reader will learn how to use Ladder Logic
diagrams with every example.
DocuSign Envelope ID: ADD42D3E-95C9-4F5A-BB5A-E03D26434A0A
12 233 Spring Street, 3rd Fl., New York, NY 10013 | www.apress.com
No of pages : 40
Sub - Topics:
14. Introduction to plcLib
Downloading, Installing and configuring plcLib on Arduino
Ladder Logic Diagrams
Implementing Logics with Arduino
Chapter 7: Modbus
Chapter Goal: The goal of this chapter is to introduce Modbus serial communication protocol
that can be used to distribute PLCs in master/slave architecture and get hands on
experience by building an Arduino based PLC with Modbus architecture.
No of pages: 30
Sub - Topics:
1. Introduction to Modbus - This topic will discuss what is Modbus and Modbus architecture.
2. Modbus Shields – This topic will discuss about RS-458, RS-232 and multiprotocol radio
shield
3. Modbus Library – This topic will discuss about Modbus library, downloading, installing
and configuring
4. Building PLC with Modbus -This topic will discuss how to build a temperature reading
PLC from external device with Modbus architecture.
Chapter 8: Map PLCs into the Cloud using NearBus Cloud Connector
Chapter Goal:
No of pages: 30
Sub - Topics: In this chapter the reader will learn how to control PLCs through the Internet by
mapping them in to cloud using NearBus cloud connector. This chapter will fully
explain how to work with NearBus from installation to configuration and finally
controlling. The latter part of this chapter will explain how to use IFTTT DIY
light platform recipes to control the PLCs through the Internet such as use of
timers with Twitter tweets ect.
1. Introduction to NearBus
2. Map PLC into the Cloud using NearBus Cloud connector
DocuSign Envelope ID: ADD42D3E-95C9-4F5A-BB5A-E03D26434A0A
233 Spring Street, 3rd Fl., New York, NY 10013 | www.apress.com 13
3. Using IFTTT DIY light platform Recipes
Chapter 9: Building Better PLC
Chapter Goal:
No of pages: 30
Sub - Topics: In this chapter the reader will learn how to build a better PLC that can accepts
inputs form various external sources (discrete input or contact) and control
devices (coil) accordingly using plcLib. The idea of this chapter is to give you
basic knowledge about how to control 120VAC/240VAC devices with PLCs.
1. Designing with Arduino 4 relay shield / Seeedstudio Relay Shield
2. Connecting inputs and coils
3. Writing Sketches