You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
n0m1s d29c47b73c moved string functions to their own file 6 years ago
clock_settings.h Load settings from SD card 6 years ago
lamp.ino Load settings from SD card 6 years ago
readme.md updated readme 6 years ago
settings.cpp moved string functions to their own file 6 years ago
settings.h replaced String by char* + StringBuilder 6 years ago
settings.ini Load settings from SD card 6 years ago
string_builder.cpp replaced String by char* + StringBuilder 6 years ago
string_builder.h replaced String by char* + StringBuilder 6 years ago
string_helper.cpp moved string functions to their own file 6 years ago
string_helper.h moved string functions to their own file 6 years ago
wifi_settings.h Load settings from SD card 6 years ago

readme.md

#Lamp

A homemade dawn simulation lamp. The time is kept using a real-time clock, coupled with an NTP connection to avoid drift.

##Material

  • ESP8266-powered board (such as the Wifi D1 mini from RobotDyn)
  • Real-time clock + SD card shield (such as the Data logger shield, or two separate shields)
  • Light dimmer (such as this one)
  • Switches (1 temporary rocker and 1 on-on rocker)
  • Light bulb + connectors

##Hardware installation TODO

##Software installation

  1. Install the Arduino IDE
  2. Install the ESP8266 arduino extension
    1. add https://arduino.esp8266.com/stable/package_esp8266com_index.json to the "Additional Boards Manager URLs" field in the IDE's preferences
    2. Install the extension via the "boards manager" of the IDE
  3. Configure the board (LOLIN(WEMOS) D1 R2 & mini if using the one from the "material" section)
  4. Compile and Upload to the board
  5. Copy the settings.ini file to the SD card (and change the settings if needed)
  6. Power up everything