4 Route 4 Channel MOSFET Button IRF540 V4.0 Module

4-channel MOSFET switch. It can supply up to four groups of electronic switches to control different circuit blocks respectively. Limited by the working priciples, MOSFET can only be used to control the DC circuit, such as DC-LED screen and so on, but not suitable for AC circuit control. 

In some extreme cases,It can be used to control 100V/33A DC circuit. However, it is suggested that the controlled DC voltage is more than 9V.

Just an experiment, we pick up two LED belts to test this module

Test code is as below : 

 

int s1Pin = 6;

int s2Pin = 7;

void setup() {

  pinMode(s1Pin, OUTPUT);

  pinMode(s2Pin, OUTPUT);

}

 

void loop() {

  int i;

  

  digitalWrite(s1Pin, HIGH);

  digitalWrite(s2Pin, HIGH);

  delay(500);

 

  digitalWrite(s1Pin, LOW);

  digitalWrite(s2Pin, LOW);

  delay(500);

  

  for (i = 0; i < 10; i ++) {

    digitalWrite(s1Pin, HIGH);

    delay(500);

    digitalWrite(s1Pin, LOW);

    delay(500);

  }

  

  for (i = 0; i < 100; i ++) {

    digitalWrite(s2Pin, HIGH);

    delay(50);

    digitalWrite(s2Pin, LOW);

    delay(50);

  }

}