Giter Club home page Giter Club logo

nodemcu_toys's Introduction

nodemcu_toybox

This is my nodemcu toybox. Mainly, here is my HTTP bootloader thing.

init.lua also has a function named soon which basically keeps track of timers and runs stuff in 10ms by default.

Timer juggeling is very useful.

Setup

MCU

Install nodemcu-tool, run make. Do make sure you tweaked scripts/wifi-setup.lua before, same with scripts/loadremote.lua, the URLs/mirrors.

There is a prebuilt firmware of the dev branch in the fw folder.

It has following libraries built in:

  • ADC
  • bit
  • CJSON
  • crypto
  • encoder
  • file
  • GPIO
  • HTTP
  • i2c
  • net
  • node
  • 1-Wire
  • PWM
  • RTC mem
  • RTC time
  • sntp
  • SPI
  • timer
  • UART
  • WiFi

Server

For my bootloader to work, you need a custom web server script.

I have a very basic one built on CApptain, the files you need to place capptains apps folder are in the server folder.

When the MCU requests a file, it looks for nodemcu-fetch/<Wifi MAC with : deleted>/<file>.

nodemcu_toys's People

Contributors

vifino avatar

Stargazers

Jonathan Hettwer 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.