Follow this link to aquacontrol32
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.
-
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.
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
The external Time
and esp8266-oled-ssd1306
libraries also have to be installed.
-
Time library 1.5 maintained by PaulStoffregen
You can install the libraries by choosing Sketch->Include library->Add .ZIP library
in the Arduino IDE.
With the IDE successfully compiling ESP8266 code and all libs installed, just follow these steps:
-
Download and unpack the latest release file.
-
Rename the folder you just unzipped to '
aquacontrol2
'. -
Open the sketch by opening
aquacontrol2.ino
from the unzipped folder in the Arduino IDE. -
Use the upload button to compile and upload the sketch to the controller.
-
Upload the html files to the controller.
ClickTools>ESP8266 Sketch Data Upload
to upload the files.
-
After upload your controller should be good to go.
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:
-
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 calledaquacontrol
.
The first time the controller is started SPIFFS setup may take a -really- long time, just be patient. -
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. -
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. -
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. -
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.
-
Navigate to IP or hostname and set up your controller.
Hostname access will require correct local DNS setup.
-
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.
-
D6 - Serial clock.
-
D7 - Serial data.