We still deliver orders as usual. Due to current covid-19 situation, all shipment may experience slight delay.

MOSFET control circuit

Dit is het belangrijkste deel van de DONOFF elektronica. D2, D3, R3, R4 en C2 functioneren als een laagvermogen 15 Volt spanningsbron om de gate van Q1 te sturen. De gate van de MOSFET wordt in rust door R7 naar GND getrokken (MOSFET schakelaar “open” – LED lamp is Uit). Om de MOSFET te sluiten moet de optocoupler de gate naar 15 Volt trekken (MOSFET schakelaar “closed” – LED lamp is Aan). De Optocoupler (U1), R6 en R7 gebruiken ongeveer 2.2mA (15v/(150+6800)). C2 dient als energiebuffer en D2 zorgt ervoor dat de energie niet weglekt als de gelijkgerichte spanning (MAINS-DC) onder de 15 Volt komt. Samen met de Zener Diode D3 blijft de stuurspanning voor de gate van Q1 tussen 12.5 – 15 Volt (Q1 is volledig gesloten als de gate spanning Vgs > 10 Volt is).
Gate Fall Time Gate Fall Time
Gate Fall time Max. Gate Fall time Max.
De spanning is normaal 15 Volt maar zakt naar 13 Volt bij 100% PWM (de MOSFET is dan constant gesloten)

De stroom die door R4 loopt is ook ongeveer 2.2mA, wat ervoor zorgt dat R4 zo’n 0.7 Watt (I2 * R = 4.8 * 150) in warmte moet omzetten. De temperatuur van R4 wordt maximaal 15°C hoger dan de omgevingstemperatuur. Het is dan ook noodzakelijk dat voor R4 een 400 Volt 2 Watt weerstand wordt gebruikt (een beetje over gedimensioneerd).

Weerstand R6 zorgt ervoor dat de stroom door de optocoupler en de gate van Q1 wordt beperkt.
C1 filtert de “MAINS” DC spanning.

Comments

Belgium
Nice module, very easy to use and quick support in case of problems!
Placed on 
1
Belgium
Very nice site Willem! I personally find the Donoff dimmer very beautiful and interesting!
Placed on 
11
The Netherlands
Nice module! Is there a way to control it with an http request? and to get him to Domoticz.
Placed on 
1
The Netherlands
I have installed 2 Wemos D1 minis with version 0.3.6, 1 as a master and 1 as a slave but it is not added to the master. I did remove the dummies in Arduino but I cannot find where the slave to master coupling takes place.
Placed on 
@Roelof, The connection takes place completely automatically. If the master is active and you switch on a slave, then it broadcasts its data, which is then received by the master, after which it creates a slider / switch for it. It is, however, necessary that mDNS "works" on the network and that you change the "newDonoff" name of each device to something else. You did not have to remove the Dummies because they will disappear after a while. It gives an indication that everything "works". Good luck!
Placed on 
*** It is necessary that mDNS on the network "works" **** This explains eea I have my mobile temporarily as a hotspot / router in between that has no mDNS. Will test on the WiFi network at home this evening. Thanks for your quick response.
Placed on 
The Netherlands
Just a brief information. Tasmota is irrespective of what the various protocols are about. You can use HTTP, mqtt, knx, domoticz and more. Can be adjusted in the configuration or online on the web page. You can connect a large number of sensors yourself via serial, SPI or I2C. I myself have 20 different sensors related to health issues. A heart sensor is also included. The improvement with a DOnOff is a super idea I must say. We / I will test it with certainty. I first have to order a module and then I will start using it.
Placed on 
1



Upload photos
Add photo

Address