Skip to content

kylesf/IOT_Workshop_ESP8266

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SJTG IOT Workshop

Using the NodeMCU v1.0 Board

ESP8266 -> ESP12E -> NodeMCUv1.0

The Board and Chips:

image image

This Boards uses the AI Thinker ESP12E to house its ESP8266

image

Board/Chip Information

NodeMCU Wikipedia

NodeMCU Website

NodeMCU Firmware Builder

ESP8266 Chip Communication Software

ESP8266 core for Arduino

USB Serial Drivers CP2102

Learn Arduino Complier

ESP12E Pinout

image

NodeMCU v1.0 Pinout

image

The Language:

Wiring Programing Language

Arduino Programing Language

Other options like Lua, Micropython ...

See Platform IO supported Framewoks

VS Code and Platform IO

Install PlatformIO Plugin for VSCode

VSCode + PlatformIO Quickstart

PlatformIO espressif8266

PlatformIO espressif8266 File upload

PlatformIO nodemcuv2

Recommeded VSCode Plugins

  • Code Spell Checker
  • Error Gutters
  • Error Lens

Further Links

Educational Inspiration and Core Source for ESP8266

Web Server / Authentication

ESP8266 WebServer Docs

ESP8266 WebServer Examples

See above for:

HTTPS, etc

Password insecure (ideally use hashing and check server side)

Also http insecure (ran on local network though)

mDNS

Docs

SPIFFS

Docs

Library to use

Example

Note: Our code ignores some best practice like basic code checks. i.e. does the file exist, how large is it.

NTP

UTC Offset Times

NTP Tut

Example

Note: Our code functions to get current timestamp for PST. Could also build in calander days or roll your own NTP server

Led Control

NodeMCU ESP8266 Onboard LED Control

Web Soruce Code

Source for html5 login

Pure css toggle

Other cool swtich

Misc Links

Random esp8266 password complexity guide

esp8266-web-server-spiffs-nodemcu tutorial

nodemcu-pyflasher

esp8266-pinout-reference-gpios

NodeMCU-ESP8266-Details-and-Pinout

About

Source Code and Material for Workshop

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published