Skip to content

Software for a 5 channel LED controller based on a WeMos D1 mini.

License

Notifications You must be signed in to change notification settings

dunk8888/aquacontrol2

 
 

Repository files navigation

aquacontrol2

Description:

Aquacontrol2 is software for a 5 channel LED controller based on a WeMos D1 mini.

With this software and the custom hardware, you can control 5 LED strips and program the light output of each channel via a web interface.

Features:

  • 128*64 OLED support via I2C.

  • 5 channels with 50 timers.

  • Web interface.

  • NTP time keeping.

  • Hostname can be set.

  • Acces point mode to setup WiFi connection.

Installation:

What you need:

To install the software on a WeMos D1 mini, you will need the Arduino IDE with the ESP8266 boards -2.3.0- already added to the board manager.
The ESP8266 data upload plugin has to be installed.

How to install the SPIFFS upload plugin

External libraries:

The external Time and esp8266-oled-ssd1306 libraries also have to be installed.

You can install the libraries by choosing Sketch->Include library->Add .ZIP library in the Arduino IDE.

All setup done, ready to go!

With the IDE successfully compiling ESP8266 code and all libs installed, just follow these steps:

  1. Download and unpack the latest release file.

  2. Rename the folder you just unzipped to 'aquacontrol2'.

  3. Open the sketch by opening aquacontrol2.ino from the unzipped folder in the Arduino IDE.

  4. Use the upload button to compile and upload the sketch to the controller.

  5. Upload the html files to the controller.
    Click Tools>ESP8266 Sketch Data Upload to upload the files.

    arduinoupload

  6. After upload your controller should be good to go.

First boot and setup:

After a succesfull install the controller will go through some setup after first boot.

Is this the first time you install Aquacontrol on your Wemos D1?

Then jump go step number 1 below to set your WiFi data.

If you installed a previous version, chances are that you don't have to set up your WiFi again, as these values are stored in EEPROM memory.

A flash of the SPIFFS disk (Sketch Data upload) deletes your system.cfg and default.aqu files and you will have to set up your device and timers again.

Follow these steps after a successfull install:

  1. The first time Aquacontrol is installed it does not know your WiFi settings.
    First the controller will try to connect to the last known network for 15 seconds.
    If this fails the controller starts a WiFi access point called aquacontrol.

    The first time the controller is started SPIFFS setup may take a -really- long time, just be patient.

  2. Connect your WiFi phone or tablet to the access point.
    You will need the pass phrase shown on the OLED screen and the serial port.

  3. Once logged in, browse to 192.168.3.1 or the IP address shown on OLED and the serial port, select your WiFi network from the list and provide your own WiFi password.
    After entering your password the controller will reboot and try to log in on your WiFi network.

  4. If something goes wrong with logging in, the accesspoint will be started again, but with a DIFFERENT PASSWORD!
    The new password is shown on OLED and the serial port.
    Repeat step 2 if you made a mistake to provide the correct WiFi network and password.
    If the WiFi network and password are correct the controller will login.

  5. After WiFi login the controller start setup and after a while will show the hostname and IP address on the OLED screen and the serial port.

  6. Navigate to IP or hostname and set up your controller.
    Hostname access will require correct local DNS setup.

Done!

Questions or remarks?
Email: aquacontrol-@-wasietsmet.nl
( Remove the '-' characters from the mail address. )

Pins used:

Led output:

  • D1 - channel 1, connected to mosfet gate.

  • D2 - channel 2, connected to mosfet gate.

  • D3 - channel 3, connected to mosfet gate.

  • D4 - channel 4, connected to mosfet gate.

  • D5 - channel 5, connected to mosfet gate.

I2C bus:

  • D6 - Serial clock.

  • D7 - Serial data.

Screenshots:

Index page:

index

Timer editor:

editor

Device setup:

setup

File manager:

filemanager

About

Software for a 5 channel LED controller based on a WeMos D1 mini.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • HTML 55.9%
  • Other 44.1%