Giter Club home page Giter Club logo

esp8266's Introduction

ESP8266 and family


ESP8266

The whole family, doing funky wifi stuff.

Table of Contents

Introduction

This repo contains useful stuff regarding the ESP8266. Intention is to keep all useful stuff in one place, as well as some code. The ESP8266 is a Low-cost Wi-Fi microchip. Produced by Espressif Systems in Shanghai, China. Can be programmed using Arduino IDE.

Hardware modules

Third-party manufacturer Ai-Thinker

  • ESP01
  • ESP07
  • ESP12

Read more here [https://en.wikipedia.org/wiki/ESP8266#Espressif_modules]

By others

  • NodeMCU

ESP01 in detail

Pinout:

  1. GND, Ground (0 V)
  2. GPIO 2, General-purpose input/output No. 2
  3. GPIO 0, General-purpose input/output No. 0
  4. RX, Receive data in, also GPIO3
  5. VCC, Voltage (+3.3 V; can handle up to 3.6 V)
  6. RST, Reset
  7. CH_PD, Chip power-down
  8. TX, Transmit data out, also GPIO1

Programming quirks

The GPIO 2 is used to set the ESP8266 into different modes. This means that if pulled down during power-on or reset, the device goes into serial bootloader instead of running the program. Unless you want to change the firmware on the device, make sure the GPIO 2 is not pulled down to ground. There is an internal pullup resistor that can be enabled. If the blue LED is continously on and you seem to get garbage out on the serial line, it is probably in serial bootloader mode.

The GPIO 0 is used to choose boot mode. Pull up to boot from SPI Flash (normal operation), or pull down to program via UART. When we upload a program, we want to pull GPIO 0 down.

The RST pin needs to be pulled down while the esptool.py tries to connect. If it connects, it should immediately start uploading the program. Afterwards, the power should be cycled, and GPIO 0 be pulled up.

Tricks to extend ESP01

I2C is suggested to extend IO, using GPIO 0 and GPIO 2 as the I2C bus.

[https://www.forward.com.au/pfod/ESP8266/GPIOpins/ESP8266_01_pin_magic.html]

esp8266's People

Contributors

joakimsk avatar

Stargazers

Jonas Bjøralt avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.