Difference between revisions of "ESP8266"

From Nottinghack Wiki
Jump to navigation Jump to search
Line 43: Line 43:
  
 
=== NodeMCU v2 ===
 
=== NodeMCU v2 ===
 +
[https://wiki.nottinghack.org.uk/wiki/NodeMCU_v2 NodeMCU_v2 Page]
  
 
An open hardware board (costing about £3.50) that combines the ESP-12-E core (32Mbits(4MBytes) flash) with a CP2102 USB-UART so you can connect it directly to a PC USB with a standard USB micro cable. It comes flashed with a Lua core but that can easily be replaced with an Arduino core with all the Lua core features plus anything vanilla that works with Arduino.
 
An open hardware board (costing about £3.50) that combines the ESP-12-E core (32Mbits(4MBytes) flash) with a CP2102 USB-UART so you can connect it directly to a PC USB with a standard USB micro cable. It comes flashed with a Lua core but that can easily be replaced with an Arduino core with all the Lua core features plus anything vanilla that works with Arduino.

Revision as of 08:01, 1 April 2016

IoThursday

The ESP8266 has been discussed quite a bit in the regular IoThursday meetings.

ESP8266

The ESP8266 is a microcontroller that has WiFi built in, making it a great starting device for all things IoT.

Useful Links

Instructibles Getting Started

Everything ESP8266 - Forum, lots of stuff, not always reliable (check posting dates - a lot of stuff may be out-of-date) http://www.esp8266.com/

Deep Sleep - what GPIO to connect, internal firmware issues (Jun2015) http://bbs.espressif.com/viewtopic.php?t=562

Lots of useful information here: https://nurdspace.nl/ESP8266

Complete starter tutorial, including programming via Arduino, AT-mode operation, etc. http://rancidbacon.com/files/kiwicon8/ESP8266_WiFi_Module_Quick_Start_Guide_v_1.0.4.pdf

If YouTube's your thing, try: https://www.youtube.com/watch?v=qU76yWHeQuw

Wiki pages - work in progress http://www.esp8266.nu/index.php/Main_Page

Flash, fancy, UK seller - not so much useful information though. http://esp8266.co.uk/

ESP8266: "It don't come easy!" - Using the ESP8266 as a serial-slave to a Zpuino http://www.xess.com/blog/esp8266-it-dont-come-easy/

NodeMCU Quickstart http://benlo.com/esp8266/esp8266QuickStart.html

Re-flashing firmware http://www.xess.com/blog/esp8266-reflash/

Getting Started

A section for useful information on getting started with an ESP8266 module

Modules

A subsection to explain the different modules and what differs between them

ESP8266 Modules Explained

NodeMCU v2

NodeMCU_v2 Page

An open hardware board (costing about £3.50) that combines the ESP-12-E core (32Mbits(4MBytes) flash) with a CP2102 USB-UART so you can connect it directly to a PC USB with a standard USB micro cable. It comes flashed with a Lua core but that can easily be replaced with an Arduino core with all the Lua core features plus anything vanilla that works with Arduino.

Connecting to an ESP8266 module

What you'll need:

  1. An ESP8266 module with
  2. A breadboard and suitable cables
  3. A USB to TTL Serial adapter
  4. A computer to connect to the ESP8266 with

Firmware

A subsection to explain the different firmwares available for the ESP8266 and how they differ

Page with links to different firmwares http://www.electrodragon.com/w/Category:ESP8266_Firmware_and_SDK

Espressif

The default firmware

Article describing the process of re-flashing firmware http://www.allaboutcircuits.com/projects/update-the-firmware-in-your-esp8266-wi-fi-module/

Current RTOS SDK Latest Version: 1.4.0 Release date: Feb 28, 2016 http://bbs.espressif.com/viewtopic.php?f=46&t=1827

Firmware flash download tools (version 2.4 at 31 Mar 31 2016) http://bbs.espressif.com/viewtopic.php?f=57&t=433

NodeMCU

Uses the Lua scripting/programming language to control the ESP8266

Page describing the process for flashing NodeMCU firmware into a device, with links to Flasher programs for Win32 and Win64 http://randomnerdtutorials.com/flashing-nodemcu-firmware-on-the-esp8266-using-windows/

Programming

There are a couple of different programs that can be used to upload code and files to an ESP8266 with NodeMCU firmware:

  1. LuaLoader
  2. ESPlorer
  3. NodeLua, an open source web based IDE (Integrated Development Environment)

Arduino

An Arduino based firmware.

Projects

A section for Hackspace members to fill up with links to their ESP8266 related projects