Want to Learn Electronics and Programming?

Random Nerd Tutorials helps makers, hobbyists and engineers build electronics projects. We make projects with: Arduino, ESP8266, ESP32, Raspberry Pi, Home Automation and Internet of Things. Enter your email address below to get started now with your next project!

Ultimate ESP8266 Course Bundle

This eBook is my step-by-step guide designed to help you get started with this amazing $4 WiFi module called ESP8266.

If you’re new to the world of ESP8266, this eBook is perfect for you! If you already used the ESP8266 before, I’m sure you’ll also learn something new.

This eBook contains the information you need to get up to speed quickly and start your own venture with the ESP8266 applied to Home Automation!


What You’ll Learn In This eBook?

Here are a few of the things that this eBook covers (keep reading this page for more details):

  • Technical specifications of your ESP8266
  • Where to buy the ESP8266
  • How to establish a serial communication with your ESP8266
  • What’s NodeMCU
  • How to flash and install a new firmware
  • How to install ESPlorer and how it works
  • How to blink an LED with NodeMCU
  • Lua programming language
  • How to interact with the ESP8266 GPIOs
  • How to create a web server
  • How to send emails with your ESP8266
  • How to create an email notifier with a PIR Motion Sensor
  • And a lot more…

This eBook is available with a $5 discount for a limited time. This offer ends in just a few days…

Who’s Behind This eBook?

Hey There,

I’m Rui Santos, founder of the Random Nerd Tutorials blog and author of BeagleBone For Dummies.

I’ve created dozens of free tutorials that I’ve posted on this blog. Feel free to read those tutorials right now and see if you like my hands-on approach to learn electronics! With detailed step-by-step instructions that anyone can follow.

Home Automation Using ESP8266 is my complete guide to build a Home Automation system with this $4 WiFi Module.

What Others Are Saying?

Your book had an answer that I haven't found elsewhere by searching, so for that many thanks.
- Grahame S.
Rui, your ebook was exactly what I needed to get started with the ESP8266
- Mike M.


1 - Copy

Thank you so much for the help! You da bomb! I love you projects and I am looking forward to doing more of them.

- Parker Meneley

Hello Rui, I am so pleased to tell you that I tried your new code in the Arduino distance project and it works great. It does everything that I wanted and I really appreciate all your help. I plan to go through it and try to understand the code.If there is anything I can do to help you out, just drop me an email. Thanks Again!

- Oscar

3 - Copy

Who Should Read This eBook?

I believe this eBook is perfect for anyone that loves electronics, open-source hardware, home automation and the ESP8266 WiFi module. This eBook is perfect if for:

  • Beginners – If you’re just starting using this module this eBook is perfect for you, because I’ll start from the very beginning and you’ll learn everything you need to know
  • Makers/DIYers – If you love making things, this eBook is perfect for you. You’ll design several circuits and projects
  • Hobbyists – If this is your hobby and you like to make projects in the weekends or late at night. This eBook is perfect for with, it has everything you need to know about the ESP8266, so you don’t spend a ton of time looking for the right information in the wrong places

Here’s Everything You’re Getting In This eBook

A colorful PDF 102 pages long with step-by-step instructions, all the source code, detailed schematics and screenshots that are easy to follow. This eBook has 8 Units. Let’s take a closer look what each Unit contains.

Unit 1 - Getting Started with ESP8266

This first Unit is an introduction to the ESP8266 WiFi module. It gives you an overview of what you can do with your ESP8266, then a brief summary of its technical specifications, where you can buy one and how to make your ESP8266 breadboard friendly.


Unit 2 - Flashing NodeMCU

This second Unit is an introduction to firmware NodeMCU. You'll explore how to establish a serial communication with your ESP8266 using an FTDI Programmer or an Arduino. It also shows what NodeMCU can do, where to download it and how to flash the latest version into your ESP8266.

Flashing Firmware - FTDI Programmer

Unit 3 - Blinking an LED with NodeMCU

This third Unit is where you build your first real project. You'll install ESPlorer IDE (which is an open-source IDE for your ESP). Next you create a simple Lua script to blink an LED (I'll explain exactly how the code works) and then you upload it using ESPlorer IDE. After designing a similar circuit to the one shown below your LED should be blinking.


Unit 4 - Lua Programming Language - The Basics

Unit 4 covers all the basics of the Lua Programming Language. In this eBook we're using NodeMCU firmware which  is a Lua based firmware for the ESP8266, so it's important to learn the basics of Lua before trying more complex projects. I'll walk you through: variables, comments, data types, operators, loops, if statements and functions.


Unit 5 - Interacting with the ESP8266 GPIOs using NodeMCU Firmware

In this fifth Unit you'll learn how to interact with the ESP8266 GPIOs using the NodeMCU Firmware. I'll cover the different pin modes, how to assign pins, controlling outputs, reading inputs and creating interrupts.


Unit 6 - ESP8266 Web Server

Unit 6 is an introduction to web servers built exclusively with an ESP8266. You'll write your Lua script (and learn how it works), upload that script to your ESP8266 and then design your circuit.

Next, you have to find your ESP8266 IP address in order to control your ESP8266 GPIOs from any any device that has a browser in your network (smartphone, tablet or laptop) . And how to expand this concept to control real house appliances with your ESP8266.

Here's how it looks like:



Unit 7 - Displaying Temperature and Humidity on a Web Page

Unit 7 is an introduction to web pages that display data. You'll write your Lua script (and learn how it works), upload that script to your ESP8266 and then design your circuit.

Next, you have to find your ESP8266 IP address in order to access your web server with any device that has a browser in your network (smartphone, tablet or laptop).

Here's how this project looks:



Unit 8 - Email Notifier with ESP8266 and PIR Motion Sensor

Unit 8 shows how to send an email with your ESP8266. With this concept you can create your email notifier that is triggered when a condition is met. In this project we're going to use a PIR Motion Sensor that can act as a surveillance system that notifies if someone enters your room.

Here's the result:

ESP8266 Email Altert Final


BONUS – Invite to Join Our Private Facebook Group!

This eBook comes with an opportunity to join a private community of like-minded people. If you purchased this eBook, you can join our private Facebook Group today!

Inside that group you can ask questions and create discussions about everything related to ESP8266, Arduino, BeagleBone, Raspberry Pi, etc.

I’ll be in the group to answer your burning questions about electronics.

RNT community site

Where Do I Get It & How Much Does It Cost?

How much is Home Automation Using ESP8266? You could try to figure it out on your own and spend a ton of time searching for information to use this module. With my experience I can guide you show you the right tools and help you avoid mistakes that will save you a ton of time.

For Home Automation Using ESP8266 you will be paying only $19.95 $14.95 and you will get full access to the eBook right away + invite to Random Nerd Tutorials Facebook group.

Here’s what you need to do next:

Step #1 – Use this button below to send me just $14.95 and download your copy of Home Automation Using ESP8266 eBook before this offer expires.

button buy home automation

Click here to Add To Cart

Step #2 – As soon as you purchase, you will get immediate access via email to this eBook.

Step #3 – Have questions? Email me at http://randomnerdtutorials.com/support anytime for any reason.

You won’t regret it. My guarantee back up every word in this message.

Proceed with confidence. See you inside,

-Rui Santos

P.S. This offer expires in just a few days and price goes up to $19.95!

60 Days 'No Questions Asked' Money Back Guarantee

Try this eBook for 60 days, if for any reason you’re not thrilled, just email me here. And I will promptly refund all your money. No questions, no hassles – it’s that simple!

The best part is this: You don’t have to make up your mind about the Home Automation Using ESP8266 eBook right now. Download this eBook today, before this offer ends. Then decide if it’s right for you within 60 days.

My friends think I’m CRAZY for doing this because they say “What if people just take advantage of you?” To that, I say, why would I penalize the 99% of people in the world who are good people because of a few bad eggs?

So, that’s why I’m happy to offer this risk-free 60-day guarantee.

  • Q.What exactly do I get access?

    A.As soon as you purchase, you will get immediate an email with a download link for this eBook and access to our private Facebook group.

  • Q.Do I get free updates?

    A.Yes, the firmware for this module keeps improving, so everyone who purchases gets free updates.

  • Q.What if I don’t like it?

    A.Well, if you don’t like it, I don’t want your money. Seriously, that’s why I offer a 60 days money back guarantee. Email me here and I will promptly refund all your money. No questions, no hassles – it’s that simple!

  • Q.Have a question?

    A.If you still have questions after reading this page please email me here. I’ll do my best to answer your questions.

What Others Are Saying?

Fantastic book!

- Bill

Thanks Rui.. And thanks for the great tutorials.

- Muhammad

Good work!!….I have tested …itz working fine!!

- Rishav Kumar

Hi Rui,

You are a true example of how a user of any open-source device/software should be. Thank you for helping me out with my first real project! I'm sure I'll keep following your website for your helpful tutorials.

Thanks again!

- Yash Garg

This eBook is available for $19.95 $14.95 for a limited time. This offer ends in just a few days. Click the button below to get instant access to Home Automation Using ESP8266 eBook!

button buy home automation

Click here to Add To Cart