DONOFF iot light dimmer

Placed on

Project objectives

The objective of this project is to create an ecosystem that can work completely independently (i.e. without other hardware or software). Experience also shows that a physical switch is actually a “must” for these types of devices (just ask your partner). You can connect a physical switch to a DONOFF device (push or on/off switch) with which you can switch the lamp on and off. With a push switch you can even control the intensity of the lamp by holding it down longer.

Every DONOFF has a built-in web server that you can go to with a (tablet) computer, after which the control page of the DONOFF appears.

In this article I will describe the principles, electronics, firmware and construction of DONOFF devices.

Each DONOFF installation has one DONOFF device that performs the function of “master" has. All other DONOFFs are “slave”. All Slaves can be dimmed and switched on or off from the Master's web page.

Slaves automatically register with the Master with their IP address and Name. If you connect a new Slave to the mains, it will automatically appear on the Master's web page. If you disconnect a Slave from the mains, it will disappear from the Master web page after a while.

If there are switches in the network (it is possible to provide SONOFF switches with the DONOFF firmware!), they are always below the dimmers. Of course you can't dim switches!

Below is what the function of the different items on the web page is:
Each DONOFF has a unique (device) name (for example “Twilight lamp”) and a description of which lamp is controlled (for example “Twilight lamp Left”) that is shown on the Master page.
With the slider you can set the brightness of the lamp. Clicking the Dimmer button turns the lamp on or off (the brightness is not adjusted when switched off). When switched on, the lamp switches on with the last set brightness.

Every DONOFF has a web page where the various properties of the device can be set. Clicking on the “settings” icon will take you to this page:
Current Page 2. Project Objectives 1. Introduction 2. Project Objectives 3. The Electronics 4. Mains AC to DC 5. MOSFET control circuit 6. optocoupler circuit 7. ESP8266 Microprocessor 8. 3v3 DC power supply 9. The firmware 10. Upload Firmware 11. First time startup 12. telnet server 13. build DONOFF Posted by Website Willem Aandewiel (1955) has a background in electronics and digital techniques. However, most of his working life he has worked in automation where he has worked in just about all disciplines from programmer to project leader and project manager. Willem was one of the first Dutchmen with a micro-computer (KIM-1, 1976) at a time when the PC had yet to be invented. Nowadays he is mainly concerned with the design and production of small electronic circuits with microprocessors. His 'mission in life' is to make people enthusiastic about making their own electronic circuits, microcomputers and programming.

Comments

Webwinkelkeur Kiyoh Trustpilot Opencircuit