To give the user control over their House’s lights and garage. The user can control relays through a website or by push of a button. They can also open or close their garage door, and check to see if it is open or closed. Increase the number of inputs and outputs with use of CD4021 and 74HC595 shift registers.
How it works
The Arduino is programed to get data from web server and put data in web server. The Arduino checks the website to see if lights should be on or off. When the user pushes a button the Arduino updates the server to change the status of that light. Then the Arduino will detect the change and turn the light on or off accordingly based on the web server data.
Since the Arduino reads and sends data to a web server it has a slight delay. The amount of delay is dependent on how fast the connection with the web server is. The slower the connection, the greater the delay.
Channels 3-8 are reversed. Channel order is 1, 2, 8, 7, 6, 5, 4, 3
Stackable Jumpers Not working.
Data Input to CD4021 Chips on wrong pin.