{"product_id":"5pcs-dc-1-channel-1-route-irf540-mosfet-switch-module-for-arduino","title":"5Pcs DC 1 Channel 1 Route IRF540 MOSFET Switch Module For Arduino","description":"\u003cspan style=\"font-size: 16px;\"\u003e\u003cstrong\u003eInstruction:\u003c\/strong\u003e\u003c\/span\u003e\u003cbr style=\"font-size: 14px;\"\u003e\u003cbr style=\"font-size: 14px;\"\u003e\u003cspan style=\"font-size: 14px;\"\u003eMOSFET is an electronic device having a good switching characteristics, is widely used in the electronic switch circuit needs, such as switching power supplies and motor drives, and a lighting dimming.\u003c\/span\u003e\u003cbr style=\"font-size: 14px;\"\u003e\u003cspan style=\"font-size: 14px;\"\u003eWe designed this four-way MOSFET switch can provide up to four groups of electronic switches, were used to control different circuit modules.\u003c\/span\u003e\u003cbr style=\"font-size: 14px;\"\u003e\u003cspan style=\"font-size: 14px;\"\u003eAffected MOSFET works, the electronic building blocks can be used to control the DC circuit, such as DC LED screen, etc., are not suitable for controlling the AC circuit.\u003c\/span\u003e\u003cbr style=\"font-size: 14px;\"\u003e\u003cspan style=\"font-size: 14px;\"\u003eUnder extreme circumstances of the MOSFET switch can be used to control 100V \/ 33A DC circuit, but is recommended not less than the minimum DC voltage 9V.\u003c\/span\u003e\u003cbr style=\"font-size: 14px;\"\u003e\u003cbr style=\"font-size: 14px;\"\u003e\u003cspan style=\"font-size: 16px;\"\u003e\u003cstrong\u003eWiring (To control a 12V LED lights, for example):\u003c\/strong\u003e\u003c\/span\u003e\u003cbr style=\"font-size: 14px;\"\u003e\u003cbr style=\"font-size: 14px;\"\u003e\u003cspan style=\"font-size: 14px;\"\u003e1. Connect power for +\/-\u003c\/span\u003e\u003cbr style=\"font-size: 14px;\"\u003e\u003cspan style=\"font-size: 14px;\"\u003e2. LED lights \"+\" connect to module \"+\", LED lights \"-\" connect to S1, if there are other LED lights, connect to the switch 2 (S2), switch 3 (S3) and switch 4 (S4) in tuns;\u003c\/span\u003e\u003cbr style=\"font-size: 14px;\"\u003e\u003cspan style=\"font-size: 14px;\"\u003e3. Connection control side is much simpler, we only need to use a sensor cable, the corresponding control port and Arduino sensor expansion board connected, then you can control the 12V LED lights by Arduino.\u003c\/span\u003e\u003cbr style=\"font-size: 14px;\"\u003e\u003cspan style=\"font-size: 14px;\"\u003e \u003c\/span\u003e\u003cbr style=\"font-size: 14px;\"\u003e\u003cspan style=\"font-size: 16px;\"\u003e\u003cstrong\u003ePackage includes:\u003c\/strong\u003e\u003c\/span\u003e\u003cbr style=\"font-size: 14px;\"\u003e\u003cbr style=\"font-size: 14px;\"\u003e\u003cspan style=\"font-size: 14px;\"\u003e5 x IRF540 + MOSFET Switch Module\u003c\/span\u003e\u003cbr style=\"font-size: 14px;\"\u003e\u003cbr style=\"font-size: 14px;\"\u003e\u003cspan style=\"font-size: 16px;\"\u003e\u003cstrong\u003eTest code as follows:\u003c\/strong\u003e\u003c\/span\u003e\u003cbr style=\"font-size: 14px;\"\u003e\u003cbr style=\"font-size: 14px;\"\u003e\u003cspan style=\"font-size: 14px;\"\u003eint s1Pin = 6;\u003c\/span\u003e\u003cbr style=\"font-size: 14px;\"\u003e\u003cspan style=\"font-size: 14px;\"\u003eint s2Pin = 7;\u003c\/span\u003e\u003cbr style=\"font-size: 14px;\"\u003e\u003cspan style=\"font-size: 14px;\"\u003e \u003c\/span\u003e\u003cbr style=\"font-size: 14px;\"\u003e\u003cspan style=\"font-size: 14px;\"\u003evoid setup() {\u003c\/span\u003e\u003cbr style=\"font-size: 14px;\"\u003e\u003cspan style=\"font-size: 14px;\"\u003epinMode(s1Pin, OUTPUT);\u003c\/span\u003e\u003cbr style=\"font-size: 14px;\"\u003e\u003cspan style=\"font-size: 14px;\"\u003epinMode(s2Pin, OUTPUT);\u003c\/span\u003e\u003cbr style=\"font-size: 14px;\"\u003e\u003cspan style=\"font-size: 14px;\"\u003e}\u003c\/span\u003e\u003cbr style=\"font-size: 14px;\"\u003e\u003cspan style=\"font-size: 14px;\"\u003e \u003c\/span\u003e\u003cbr style=\"font-size: 14px;\"\u003e\u003cspan style=\"font-size: 14px;\"\u003evoid loop() {\u003c\/span\u003e\u003cbr style=\"font-size: 14px;\"\u003e\u003cspan style=\"font-size: 14px;\"\u003eint i;\u003c\/span\u003e\u003cbr style=\"font-size: 14px;\"\u003e\u003cspan style=\"font-size: 14px;\"\u003e \u003c\/span\u003e\u003cbr style=\"font-size: 14px;\"\u003e\u003cspan style=\"font-size: 14px;\"\u003edigitalWrite(s1Pin, HIGH);\u003c\/span\u003e\u003cbr style=\"font-size: 14px;\"\u003e\u003cspan style=\"font-size: 14px;\"\u003edigitalWrite(s2Pin, HIGH);\u003c\/span\u003e\u003cbr style=\"font-size: 14px;\"\u003e\u003cspan style=\"font-size: 14px;\"\u003edelay(500);\u003c\/span\u003e\u003cbr style=\"font-size: 14px;\"\u003e\u003cspan style=\"font-size: 14px;\"\u003e \u003c\/span\u003e\u003cbr style=\"font-size: 14px;\"\u003e\u003cspan style=\"font-size: 14px;\"\u003edigitalWrite(s1Pin, LOW);\u003c\/span\u003e\u003cbr style=\"font-size: 14px;\"\u003e\u003cspan style=\"font-size: 14px;\"\u003edigitalWrite(s2Pin, LOW);\u003c\/span\u003e\u003cbr style=\"font-size: 14px;\"\u003e\u003cspan style=\"font-size: 14px;\"\u003edelay(500);\u003c\/span\u003e\u003cbr style=\"font-size: 14px;\"\u003e\u003cspan style=\"font-size: 14px;\"\u003e \u003c\/span\u003e\u003cbr style=\"font-size: 14px;\"\u003e\u003cspan style=\"font-size: 14px;\"\u003efor (i = 0; i \u0026lt; 10; i ++) {\u003c\/span\u003e\u003cbr style=\"font-size: 14px;\"\u003e\u003cspan style=\"font-size: 14px;\"\u003edigitalWrite(s1Pin, HIGH);\u003c\/span\u003e\u003cbr style=\"font-size: 14px;\"\u003e\u003cspan style=\"font-size: 14px;\"\u003edelay(500);\u003c\/span\u003e\u003cbr style=\"font-size: 14px;\"\u003e\u003cspan style=\"font-size: 14px;\"\u003edigitalWrite(s1Pin, LOW);\u003c\/span\u003e\u003cbr style=\"font-size: 14px;\"\u003e\u003cspan style=\"font-size: 14px;\"\u003edelay(500);\u003c\/span\u003e\u003cbr style=\"font-size: 14px;\"\u003e\u003cspan style=\"font-size: 14px;\"\u003e}\u003c\/span\u003e\u003cbr style=\"font-size: 14px;\"\u003e\u003cspan style=\"font-size: 14px;\"\u003e \u003c\/span\u003e\u003cbr style=\"font-size: 14px;\"\u003e\u003cspan style=\"font-size: 14px;\"\u003efor (i = 0; i \u0026lt; 100; i ++) {\u003c\/span\u003e\u003cbr style=\"font-size: 14px;\"\u003e\u003cspan style=\"font-size: 14px;\"\u003edigitalWrite(s2Pin, HIGH);\u003c\/span\u003e\u003cbr style=\"font-size: 14px;\"\u003e\u003cspan style=\"font-size: 14px;\"\u003edelay(50);\u003c\/span\u003e\u003cbr style=\"font-size: 14px;\"\u003e\u003cspan style=\"font-size: 14px;\"\u003edigitalWrite(s2Pin, LOW);\u003c\/span\u003e\u003cbr style=\"font-size: 14px;\"\u003e\u003cspan style=\"font-size: 14px;\"\u003edelay(50);\u003c\/span\u003e\u003cbr style=\"font-size: 14px;\"\u003e\u003cspan style=\"font-size: 14px;\"\u003e}\u003c\/span\u003e\u003cbr style=\"font-size: 14px;\"\u003e\u003cspan style=\"font-size: 14px;\"\u003e}\u003c\/span\u003e\u003cbr style=\"font-size: 14px;\"\u003e\u003cspan style=\"font-size: 14px;\"\u003e \u003c\/span\u003e\u003cbr style=\"font-size: 14px;\"\u003e\u003cbr style=\"font-size: 14px;\"\u003e\u003cbr style=\"font-size: 14px;\"\u003e\u003cimg alt=\"\" src=\"http:\/\/img.banggood.com\/images\/oaupload\/banggood\/images\/9D\/14\/062a4b1c-8e66-4cc9-8bc4-b124b4a6d965.jpg\" style=\"font-size: 14px;\"\u003e\u003cbr style=\"font-size: 14px;\"\u003e\u003cbr style=\"font-size: 14px;\"\u003e\u003cimg alt=\"\" src=\"http:\/\/img.banggood.com\/images\/oaupload\/banggood\/images\/D2\/E1\/52d9cb4d-5255-475e-ae5c-9a6ec32a4778.jpg\" style=\"font-size: 14px;\"\u003e\u003cbr style=\"font-size: 14px;\"\u003e\u003cbr style=\"font-size: 14px;\"\u003e\u003cimg alt=\"\" src=\"http:\/\/img.banggood.com\/images\/oaupload\/banggood\/images\/04\/CA\/b145c911-33d7-45bf-abb4-647cf322815f.jpg\" style=\"font-size: 14px;\"\u003e\u003cbr style=\"font-size: 14px;\"\u003e\u003cbr style=\"font-size: 14px;\"\u003e\u003cimg alt=\"\" src=\"http:\/\/img.banggood.com\/images\/oaupload\/banggood\/images\/BB\/39\/fa99100f-0acd-4ba7-b321-dc4ce29edcfc.jpg\" style=\"font-size: 14px;\"\u003e\u003cbr style=\"font-size: 14px;\"\u003e\u003cbr style=\"font-size: 14px;\"\u003e\u003cimg alt=\"\" src=\"http:\/\/img.banggood.com\/images\/oaupload\/banggood\/images\/F0\/77\/3c53e8d5-aabd-41df-952d-9e1c71f211ad.jpg\" style=\"font-size: 14px;\"\u003e\u003cbr style=\"font-size: 14px;\"\u003e\u003cbr style=\"font-size: 14px;\"\u003e\u003cimg alt=\"\" src=\"http:\/\/img.banggood.com\/images\/oaupload\/banggood\/images\/7B\/27\/1a9e0a61-7b38-42f7-bac5-fd5edd9a18cd.jpg\" style=\"font-size: 14px;\"\u003e\u003cbr style=\"font-size: 14px;\"\u003e\u003cbr style=\"font-size: 14px;\"\u003e\u003cimg alt=\"\" src=\"http:\/\/img.banggood.com\/images\/oaupload\/banggood\/images\/E7\/B8\/8ffd1fc3-e3c6-4f1e-b43f-0487e047fbc7.jpg\" style=\"font-size: 14px;\"\u003e","brand":"Shopify","offers":[{"title":"Default Title","offer_id":14151138803756,"sku":"1204946","price":750.0,"currency_code":"ZAR","in_stock":true}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/2787\/9162\/products\/e336ddc9-1949-46cd-89bd-16461125a3e8_0a4a4aa2-4661-487e-b682-8f283e429697.jpg?v=1586875695","url":"https:\/\/electronic-pro-south-africa.myshopify.com\/products\/5pcs-dc-1-channel-1-route-irf540-mosfet-switch-module-for-arduino","provider":"Electronic Pro ","version":"1.0","type":"link"}