
Learn to build home automation with NodeMCU ESP8266 and iOS 11, progressing from a blinking LED to a smart lamp and thermostat that read temperature and humidity.
If you have trouble finding any of the materials, these links may help you:
Breadboard: https://www.ebay.com/itm/830-Point-Solderless-Prototype-PCB-Circuit-Breadboard-Security-Practical/172874889888?rt=nc&_trkparms=aid%3D222007%26algo%3DSIM.MBE%26ao%3D2%26asc%3D44039%26meid%3D025f25bfa5c846cfabb181f9a2fbcdfe%26pid%3D100005%26rk%3D6%26rkt%3D6%26sd%3D192401566964&_trksid=p2047675.c100005.m1851
Jumper Wires (male to male): https://www.ebay.com/itm/40pcs-20cm-Male-To-Female-Dupont-Wire-Jumper-Cable-for-Arduino-Breadboard/232362155302?epid=8005685113&hash=item3619dd1d26:g:BGYAAOSwZtlaO~5v
Wire Stripper: https://www.ebay.com/itm/WGGE-WG-015-Ratchet-control-crimping-tool-Multi-Tool-Wire-Stripper/272842106979?epid=2149127546&hash=item3f86a82863:g:WKsAAOSwDRxZtcys
LEDs: https://www.ebay.com/itm/150pcs-3mm-5mm-LED-Light-White-Red-Green-Yellow-Assorted-Emitting-Diode-DIY-Set/391368927437?epid=1758962047&hash=item5b1f67e8cd:g:U5sAAOSwCypWpsoN:sc:USPSFirstClass!60637!US!-1
NodeMCU Wi-Fi Chip:
USB Cable Micro to standard male cable:
Power outlet:
AC power cord:
DHT11 Humidity Sensor:
Hobby Motors (Optional):
Learn to blink an LED using the ESP8266 NodeMCU, wire it on a breadboard, and write simple Arduino style code with pin D0, digitalWrite, and delay.
Wire a DHT11 temperature and humidity sensor to a NodeMCU ESP8266 with a breakout board, install the Adafruit DHT library in Arduino, and read temperature, humidity, and heat index.
Build a LED blink project, read temperature, humidity, and heat index with a DHT sensor, and motor control on NodeMCU ESP8266; next, explore Wi-Fi LED control and weather station projects.
Create a basic ESP8266 web server using arduino not in access point mode, connect to Wi‑Fi, set up mDNS, and serve a hello world page on port 80.
Create a wifi access point web server with ESP8266, using wifi.softAP to host on port 80, connect via 192.168.4.1, serve a simple home page and client requests.
Learn to control an LED over wifi with ESP8266 in a non-ap setup, wiring, Arduino code, and web server to turn LED on and off via /ledon and /ledoff.
In access point mode, program the ESP8266 to host a web server that controls an LED via http requests like /led on and /led off, with a home page.
Build a weather station using the DHT11 temperature and humidity sensor with ESP8266 and Arduino, connect to WiFi, and serve live readings on a local web server.
End of section 2 review two ways to run a web server, control an LED over Wi-Fi, and build a weather station, with a preview of iOS app integration.
Begin section three by shifting from ESP8266 to the iOS part and learning the basics of iPhone app programming with the Xcode IDE to supplement ESP8266 projects.
Take a tour of Xcode 9, create a basic single view iOS app, and learn to navigate the editor, storyboard, swift code, and run tests on a simulator or device.
Open Xcode, create a new iOS single view app, add a label, and use constraints to center it; run on the iPhone simulator to see a hello world prototype.
Master the basics of Swift 4 syntax in Xcode playgrounds, working with variables and constants, and exploring types, functions, structs, and classes.
Build your first iOS app with a text field, button, and label in Xcode, linking outlets and actions to display input on the label and clear the field.
Build a six-button iOS interface in Xcode, connect six UIButtons with IBAction, and trigger alerts or prints for each tap as groundwork for ESP8266 home automation projects.
Create a simple web browser in Xcode by adding a legacy webview, a URL text field, and a search button; learn to load URLs and handle app transport security settings.
Create a simple iOS app to control a LED via Wi-Fi by loading LED on/off pages in a web view, wiring buttons to URL requests.
Build an ESP8266 temperature and humidity reader and its iOS companion app using Xcode, featuring a single view interface with a hidden web view that updates every three seconds.
Learn to build a smart lamp using ESP8266 and a relay, then control it with an iOS app in Xcode to toggle on and off via a local web request.
Create the smart home app by building a home menu with a table view listing rooms, and wiring up the delegate, datasource, and the 'cell' prototype.
Create new room view controllers and use a segmented control to switch between lamp and temperature humidity views. Link UI elements and actions in a ControlViewController to manage room data.
Create a smart home app using a segmented control to toggle lamp and temperature and humidity readings, send http requests to the ESP8266, and manage navigation with segues.
Add a back button and constraints to navigate between views using predefined IP addresses for multiple ESP8266s, and combine LED control with the DHT sensor for room testing.
Creating Awesome IoT projects with NodeMCU ESP8266 + iOS 11 is about learning how to easily create Home Automation projects with basic electronic components. This course includes 14 projects that will guide you to the final project, which is a Home Automation hub with an app, portable temperature and humidity reader, and controllable power outlets.
This course is designed made for beginners, but anyone can take this course.
I will go through every program and project step by step.
Alright, let's get started with the Home Automation!