View Single Post
Unread 10/13/2017, 12:36 AM   #15
thegasman2000
Registered Member
 
thegasman2000's Avatar
 
Join Date: Dec 2005
Location: Pewsey, England
Posts: 91
MCP23017 seems like it would do the trick. I wanted to try and make a pcb anyway

I used the Nodemcu and got the interface to: https://imgur.com/M2VCMvW

Its functional but now I need to try and figure out how to set the intensity in the interface. I have a variable in code already. I also need to checkout if the nodemcu has a rtc on it and if I can get a schedule set up. Then complicating it more by making that schedule adjustable in the interface.

edit:

Actually I am connecting it to the internet so I will just get the current time from good old google

Another Edit:

I managed to get the time and get it to display in both the serial monitor and on the web interface. I have no idea however how to use the time as a variable for setting a light schedule... Anyone got any advice? I just want a simple if time is after 7am turn on blues, if after 11 am turn on whites. If after 8pm turn off whites and if after 11pm turn of blues. I will fade in and out later! (this is fun )


__________________
The Google Fu is strong in this one.

Current Tank Info: 90 gallon sumped cube

Last edited by thegasman2000; 10/13/2017 at 03:14 AM.
thegasman2000 is offline   Reply With Quote