Sunday, June 21, 2020

ESp32 Simplified - My book in English Now available



The faithfull readers of this weblog know that I am using the ESP32 more and more in my projects. And a year ago I published my book about the ESP32 in the Dutch language. Then I started working at the English version but that took longer as I expected due to all kinds of circumstances. And finally it is available.

The book is intended for beginners.
All programs in the book are written in the Arduino Language (C++). It starts with installing the Arduino software. Next the installation of the ESP32 components for Arduino are explained followed by an explanation about libraries and how to install them. The introduction is completed by a brief explanation on programming in the Arduino language.

The book goes on with chapters that teach you how to use all kinds of sensors and actuators. All schematics are breadboard based and tested in real life. Then they were drawn in Fritzing for publication.

The book is not a real educational book neverthelsess each chapter ends with one or two excercises which you can build using the information from that chapter.

An important chapter shows how to read and control sensors on a self-build website. Besides that, working with cloud services Thingspeak and IFTTT are explained thoroughly.

The last chapter presents about 30 ideas for building projects which you can realise with the information in the book.

As you can see my book aims at helping beginners with building their own projects. Ideal for the upcoming lock-down holliday's.

There is no need to follow the chapters strict. If you have read the introduction chapters and want to start working with a certain sensor just head over to that chapter. Maybe at that time you will lack some background information but you can find that easily through the references to the relevant chapters.

To have the price as beneficial to everyone all pictures are in black and white. This lowers the price as much as possible while the book has still 348 pages !!!

ESP32 Simplified is available through Lulu the online self-publishing book company and is only available as a printed book.
https://www.lulu.com/en/en/shop/luc-volders/esp32-simplified/paperback/product-5yr98e.html
Lulu is a long time established company that delivers books by Printing on Demand. This means that there is no stock of these books. As soon as you order a book they print it and ship it. Delivery time is usually 3 to 5 days after ordering, but this may take a while longer during the corona crisis. My proof version took about a week, The advantage for me is that there is no publisher involved and that I do not have to make an investment in a stockpile of books.

ESP32 Simplified will in a short time also be available through all major book selling companies like Amazon, Barnes and Noble etc.

The book contains 36 chapters:

Chapter 1
Who is this book intended for

Chapter 2
About this book
About the author

Chapter 3
Installing the Arduino IDE
ESP32 board install
Using the IDE

Chapter 4
Using the library manager
Using ZIP libraries
Installing libraries manually
First use of libraries

Chapter 5
ESP32 Pin layout
Digital Input/Output pins
PWM
Analog Input
Touch pins
I2C pins
Miscellaneous pins
EN, VIN, DAC. SPI, GND, 3.3V

Chapter 6
ESP32 on a breadboard

Chapter 7
Introduction to using a breadboard

Chapter 8
Power
USB Breadboard connector
Batteries
External Power Supply

Chapter 9
Programming Basics
Structure
Statements
Variables
Scope of a variable
Variables that can not be changed
Serial Communication
ESP32 specific pin commands
Digital INPUT
Delay
Digital Output
Analog Input
Touch sensor
Math and other functions
Testing for a condition
Comparison Operators
Combining comparisons
Repeating a part of a program
For Loop
While loop
Random
Digging Deeper

Chapter 10
How to attach a button
Button on a breadboard
The build-in pull-up resistors
Buttons or switches

Chapter 11
Led
Exercise

Chapter 12
Fading leds with PWM
Exercise

Chapter 13
Dallas DS18B20 digital thermometer
Installing the libraries
Building the DS18B20 breadboard setup
First test
Temperature alarm
Exercise
Another exercise
Real world applications

Chapter 14
Using an LDR for measuring light intensity
A first test
A practical example
Exercise

Chapter 15
Potmeter
How t6o attach a potmeter to the ESP32
Potmeter test program
Make a dimmer

Chapter 16
Servo Motor
First Servo test
Servo with a potmeter
Servo with buttons
Exercise

Chapter 17
Building a web server
Web Page history and background information
A Simple web page
Breadboard setup for web-control
Your first web server program
Exercise
Adding buttons to the webpage
Exercise
CSS for building a fancy webpage
Exercise

Chapter 18
More Power
The ledstrip program
Exercise

Chapter 19
Using mains power with a relay
The first relay program
Automatic night light
Exercise
Working with mains

Chapter 20
Touch sensor
How to use the touch sensor pins
First touch sensor program
A touch sensitive lamp
Exercise

Chapter 21
Controlling a motor
Plant watering system
Build your own ecosystem

Chapter 22
IFTTT
Step 1 building an IFTTT applet
Step 2 Find your IFTTT key
Step 3 Activate notifications on your phone
Step 4 Breadboard setup and program for the ESP32
Exercise with a practical use
More exercises

Chapter 23
Neopixels
Hardware setup
Neopixel library
Neopixels on a breadboard
First test program for Neopixels
Neopixel colors
Thermometer with led indication
Roll the dice
Exercise

Chapter 24
H-Bridge for advanced motor control
Electronics to the rescue
Breadboard H-Bridge setup
Breadboard with H-Bridge and leds
H-Bridge test software
Running slower or faster
More oomh
Tip
Exercise

Chapter 25
Movement detection with a PIR
The PIR test program
In real life
Exercise

Chapter 26
Motion detection with the RCWL-0156 Radar
The RCWL-0516 on a breadboard
Program for movement detection with the RCWL-0156
Real life use
Exercise

Chapter 27
Vibration detection
The vibration detection software
Exercise

Chapter 28
Tilt sensor
Exercise

Chapter 29
Interrupts
Example of an interrupt program

Chapter 30
Display data with the TM1637
Putting the TM1637 on a breadboard
Different ways of presenting data on the TM1637
The program
Exercise
A more advanced exercise

Chapter 31
Oled display
Breadboard setup
Library
Programming the SSD1306
Other Oled commands
A more advanced example
Exercise

Chapter 32
Thingspeak a cloud basede IOT
What is a cloud based IOT platform
Thingspeak
Sending thermometer values to Thingspeak
The program
Thingspeak options
Privacy

Chapter 33
Ideas

Chapter 34
Where to buy the parts

Chapter 35
Where to find more information

Chapter 36
Get going
Disclaimer
Liability

Get yours now:


Print Details:

Publication Date  24-5-2020
Language  English
ISBN 9781716942112
Pages 348
Binding Paperback
Interior Color Black & White
Dimensions US Trade (6 x 9 in / 152 x 229 mm)

Take care, be safe, good reading and have fun
Till next time

Luc Volders