Skip to content

Yet Another Ambient Light Approach (using WiFi)

Notifications You must be signed in to change notification settings

hcheung92/WiFiYaala

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

WiFi Yaala

Yaala = Yet Another Ambient Light Approach using an ESP8622 chip

Background

Despite some early prototypes this is the third major attempt to create a fully featured and yet simple to control RGB LED system.

Project Status

As a base we are using the nodeMCU core to provide a fully functional eLUA console. We are adding stuff specific for our application like a LED core. Additionally, we add some optional nice to have features like the Domain Name support for the DHCP client.

It is currently in a VERY early state. Documentation does not yet exist. The only thing which is working right now is the driver support for APA102 and PCA9685 LEDs. Besides others, WS28XX LEDs (glitch free, using hardware support) are getting implemented right now. Stay tuned...

Features

  1. Removed eLUA (nodemcu) modules
  • PWM: we need the timer for the LEDs
  • MQTT: currently no needed
  • WS2812: we are doing it proper: 127bytes hardware FIFO support. No hitches or glitches...
  1. Embedded web browser /fsbrowse let's you browse the file system /lua HTTP POST requests get interpreted. See lua/luaexec.html for more details on this.

  2. Additional LUA stuff

  • hostname.set() / hostname.get() let's you specify a hostname that will be transmitted to the DHCP server during a DHCP request. Execute the command BEFORE getting/renewing an IP, e.g. in the first line of init.lua
  • led.XXXX see lua-folder and/or sourcecode for usage (for now, I am too lazy to document it ggg)

Requirements

GCC toolchain, see https://github.com/esp8266/esp8266-wiki/wiki

Building

Goto firmware-lua and type "make && make flash"

Credits

This work is based on:

Due to frequent major changes in the code---especially in the SDK---everything is copied into this repo.