Giter Club home page Giter Club logo

esp8266-dev's Introduction

This contains ESP8266EX development as an alternative to latest official development. This hopes can be scale-up as implementation/requirement applied.

Based on ESP-Open-SDK which in turn based on Espressif's Non-OS SDK

To install required SDK:

  • Arch-Linux, available at AUR
  • Others, follow this guide

Fearture and To-Do list:

  • Basic LED Blink
  • UART Boot Info
  • UART Shell and Response/Callback
  • GPIO Interrupt (using Polling)
  • Basic HTTP Server
    • Basic HTML Response
    • Serial Out Response
    • Reset Request
    • R/W Integer/String in Flash
    • Receive Serial Request
  • Wifi Station mode
    • Config Password
    • Config SSID
  • Wifi SoftAP mode
    • Default IP, SSID, and Password
    • Config Station SSID and Password
    • Config Device ID
  • Switch Station and SoftAP
    • WiFi Status Indicator (LED GPIO2)
    • by HTTP Request
    • by GPIO pin
  • Sensor Interface
    • Magnet Switch
    • PIR (Cont-Trigger and 3v3)
    • Server Checking
    • Server Report
  • Sleep and WakeUp
    • by Sleep Time-Out
    • by Sensor Trigger
  • Power Manager Circuit
    • Battery (LiPO)
    • Regulator (AMS1117)
  • PCB
    • Main
    • Battery Regulator
  • Additional
    • ADC Interface

IoT API:

  • Test:

    • Debug Serial Command:
     apitest
    
    • URL:
     POST /sensor/test
    
    • HEADER:
     "Content-Type: application/json\r\n" \
     "Accept: application/json\r\n";
    
    • BODY:
     "{\n"\
     "\"testMessage\": \"connection\"\n" \
     "}\n";
    
    • RESPONSE:
     {
     "message": "Connected"
     }
    
  • Create:

    • Debug Serial Command:
     apicreate
    
    • URL:
     POST /sensor/test
    
    • HEADER:
     "Content-Type: application/json\r\n" \
     "Accept: application/json\r\n" \
     "x-access-token={TOKEN_STRING}\r\n" 
    
    • BODY:
     "{\n" \
     "\"id\": \"DEVICE_ID\",\n" \
     "\"jenis\": \"alarm\",\n" \
     "}\n";
    
    • RESPONSE:
     {
     "data": [],
     "_id": "SNSR0001",
     "jenis": "alarm",
     "status": "0",
     "username": "[email protected]",
     "long": "3423480923.21",
     "lat": "2342830420938.22",
     "__v": 0
     }
    

Copyright (C) Wira ST MT

esp8266-dev's People

Contributors

mekatronik-achmadi avatar

Stargazers

 avatar

Watchers

 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.