Coder Social home page Coder Social logo

arduino_esp8266's Introduction

##Arduino_ESP8266##

Libraries and examples for programming the ESP8266 from within the Arduino IDE.

###NTP Library###

gets the current time from an NTP server or pool of servers. This code is a modified version of the example Time_NTP.pde which is included with the time library.

###TM1637 Library###

Unlike the ubiquitous MAX7219 LED display driver, the TM1637 can be run from 3.3V. Do a search for "TM1637 Display" from ebay or aliexpress and you'll find a 4-digit module with a clock colon for under $1.50. This library gives you access to one of these 4-digit modules to display time or integers. It requires two dedicated pins on the ESP8266 for communication.

###WiFiClock Example###

It uses the system clock to keep track of time. A TM1637 module connected to the ESP8266 will display this time. The time is kept current by hourly requests from an NTP server pool.

WiFi connection

You'll notice that there is no ssid or password hard wired into the code. If the ESP8266 has been previously connected to your network, it will remember your credentials and use them to reconnect. If this is the first time this module is to be connected to the network, this code waits to retrieve your ssid and password over the serial port.

A variation on this is to have the module switch to AP+STA mode and allow the user to connect from another WiFi device to configure the module. This is what's done in this HTTPD example.

arduino_esp8266's People

Contributors

moeur avatar icchalmers avatar

Watchers

James Cloos avatar  avatar  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.