# KS0449 keyestudio 3-Channel IRF540NS Large Current MOS Module ![](media/image-20260121112620547.png) ## 1. Overview The keyestudio 3-channel IRF540NS high-current MOS module uses 3-channel MOS switch, which is applied to operate the high-current with small current, similar to a relay element. It can be applied to drive the Servo, high-current LED light, etc. When using, input the voltage less than 40V to the terminal block VIN GND, the voltage of V+ block is equal to VIN block. We can control the HIGH or LOW of NA NB NC pin headers to determine whether connect to ground. When at HIGH, NA- NB- NC-pin headers are connected to ground, D1 D2 D3 led will turn on; when at LOW, NA- NB- NC-pin headers suspend, D1 D2 D3 led will turn off. The module comes with four 3mm fixing holes, easy to fix on any other devices. Special note: this module only supports 5V microcontroller rather than 3.3V microcontroller. ## 2. Technical Details - Working voltage: VIN terminal is less than DC 40V - Operating current: less than 10A - Operating temperature: -20 ~ +60℃ - Dimensions: 66mm * 38mm * 12 mm - Weight: 22.8 g - Environmental properties: ROHS ## 3. PINOUTS ![](media/image-20260121112931515.png) ## 4. Connection ![](media/image-20260121112952919.png) ## 5. Test Code Download code : [Code](./Code.7z) ```c int BASE = 4 ; int NUM = 3; void setup() { for (int i = BASE; i < BASE + NUM; i ++) { pinMode(i, OUTPUT); } } void loop() { for (int i = BASE; i < BASE + NUM; i ++) { digitalWrite(i, HIGH); delay(2000); } for (int i = BASE; i < BASE + NUM; i ++) { digitalWrite(i, LOW); delay(2000); } } ``` ## 6. Test Result Done uploading the code, powered on, when NA- NB- NC-pin headers are successively connected to ground, D3 D2 D1 led will successively turn on; then NA- NB- NC-pin headers successively suspend, D3 D2 D1 led will successively turn off, alternately and circularly. ![](media/image-20260121113110807.png)