# Logic level motor to use with arduino

**URL:** <https://forum.arduino.cc/t/logic-level-motor-to-use-with-arduino/1403753>\
**Category:** General Guidance\
**Created:** [August 22, 2025, 7:56am UTC](https://forum.arduino.cc/t/logic-level-motor-to-use-with-arduino/1403753 "2025-08-22T07:56:44Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![hk\_jh](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/hk_jh/32/1013044_2.png) [@hk\_jh](https://forum.arduino.cc/u/hk_jh)\
**Post date:** [August 22, 2025, 7:56am UTC](https://forum.arduino.cc/t/logic-level-motor-to-use-with-arduino/1403753/1 "2025-08-22T07:56:45Z")

</div>

I wonder if this IRF520 mosfet module could work well with arduino to control 12V dc motor?

 ![Screenshot 2025-08-22 at 10.55.33](https://europe1.discourse-cdn.com/arduino/original/4X/5/d/1/5d13469416f11c75467aa845b578d55bfa7153be.png)

if not - what about IRLZ44 or FQP30N06L ?

---

<div class="post-metadata">

**Author:** ![gilshultz](https://avatars.discourse-cdn.com/v4/letter/g/67e7ee/32.png) [@gilshultz](https://forum.arduino.cc/u/gilshultz)\
**Post date:** [August 22, 2025, 8:01am UTC](https://forum.arduino.cc/t/logic-level-motor-to-use-with-arduino/1403753/2 "2025-08-22T08:01:45Z")

</div>

I cannot accurately answer that question. The module you reference will not fully turn on with a 5V signal. You also did not state which Arduino we are talking about. Look at the curves on the appropriate data sheet and see what the Vgs curve shows you.

**Request for Information to Assist with Your Problem:**

I find your question interesting, but I have a problem understanding your setup. After reading your description, I still have no idea what your actual configuration looks like. To help you better, please provide the following:

1. **Annotated Schematic:** Post a clear, annotated schematic of your setup showing all connections, including power, ground, and any power supplies. I do not work with Fritzing diagrams or unclear pictures. However, a readable photo of a hand-drawn schematic is perfectly fine.

2. **Technical Details:** Provide links to the technical information for all hardware components used in your setup. There are many different and sometimes incompatible devices that look similar but behave differently, so it's crucial that we have accurate information. Avoid linking to marketplace sites like Amazon that often lack detailed specifications.

3. **Why This Matters:** All you want is to make everything work together correctly, and all we want is to help you achieve that. By providing the correct details, we can offer more targeted and effective assistance.

**Helpful Resources:**

- **Programming Arduino:** For learning how to program Arduino, you can start with this course: [Learn to Program Arduino](https://startingelectronics.org/software/arduino/learn-to-program-course/)

- **Arduino Cookbook Source:** For a comprehensive guide, you might also find useful information here: [Arduino Cookbook Discussion](https://forum.arduino.cc/t/new-in-the-forum/1291731/5)

Please share these details so we can guide you toward the right solution. We're here to help!

---

<div class="post-metadata">

**Author:** ![tigger](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/tigger/32/1104210_2.png) [@tigger](https://forum.arduino.cc/u/tigger)\
**Post date:** [August 22, 2025, 8:51am UTC](https://forum.arduino.cc/t/logic-level-motor-to-use-with-arduino/1403753/3 "2025-08-22T08:51:27Z")

</div>

There's plenty of information on the subject on the WWW if you want to get acquainted.

I guess by control, you mean more than on/off and possibly speed as well.

I'm no expert, but PWM (Pulse Width Modulation) might be useful and I sometimes use a MOSFET driver chip as well which sits between the Arduino and the MOSFET.

It shouldn't be a problem getting it to work.

---

<div class="post-metadata">

**Author:** ![jim-p](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/jim-p/32/922840_2.png) [@jim-p](https://forum.arduino.cc/u/jim-p)\
**Post date:** [August 22, 2025, 9:41am UTC](https://forum.arduino.cc/t/logic-level-motor-to-use-with-arduino/1403753/4 "2025-08-22T09:41:09Z")

</div>

> [@hk\_jh](#):
>
> I wonder if this IRF520 mosfet module could work well with arduino

**No** it would not

The IRLZ44N or FQP30N06L maybe OK with a **5V** Arduino but it depends on the current required by the motor.

How much current does the motor need?

---

<div class="post-metadata">

**Author:** ![hk\_jh](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/hk_jh/32/1013044_2.png) [@hk\_jh](https://forum.arduino.cc/u/hk_jh)\
**Post date:** [August 22, 2025, 9:54am UTC](https://forum.arduino.cc/t/logic-level-motor-to-use-with-arduino/1403753/5 "2025-08-22T09:54:40Z")

</div>

> [@jim-p](#):
>
> How much current does the motor need?

it is just for few examples. I will probably use those 1V-6V DC motors: [link](https://www.amazon.com/Gikfun-1V-6V-Hobby-Arduino-EK1894/dp/B07BHHP2BT/ref=sr_1_1?crid=18W147Z62N9K0&dib=eyJ2IjoiMSJ9.suaIEVt0vecd6SEyg3vrXDML1M-H3DG5U6jRP0Dy95Nc11DiYOmPoJD-B7Ce8hIjnDEFxp77uM-PeDbnifEz9WbAQJ-rpe57YcJGtwjwHbHfCfgnNsKpcey2Q0Gc7JXu_yfg9wh5Lvo5AgzRR2SLvkpTr_nwyxOBsqvxGA00ruA7kg0auP6FGaV0-D_sPbuWQSe9QOHACEbTlNm1y6eqdFQDZ3Pkz3dp7Jdo7zKkpuqrhbJLUCVxjFkd3tvUq5NWViSxgLBd7_8f98_Ejz6R6RVYUxgV1gz6Ij2HhMJZs2o.yhlwMUU-DEay_xkEI4KEzx-7IzkqshNIe8Tf6UfE1Mo&dib_tag=se&keywords=1v+6v+dc+motor+gif&qid=1755856448&sprefix=1v+6v+dc+motor+gi%252Caps%252C235&sr=8-1)

---

<div class="post-metadata">

**Author:** ![jim-p](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/jim-p/32/922840_2.png) [@jim-p](https://forum.arduino.cc/u/jim-p)\
**Post date:** [August 22, 2025, 9:59am UTC](https://forum.arduino.cc/t/logic-level-motor-to-use-with-arduino/1403753/6 "2025-08-22T09:59:10Z")

</div>

That's OK.  
IRLZ44N or the FQP30N06L will work

---

<div class="post-metadata">

**Author:** ![Wawa](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/wawa/32/1211303_2.png) [@Wawa](https://forum.arduino.cc/u/Wawa)\
**Post date:** [August 22, 2025, 10:08am UTC](https://forum.arduino.cc/t/logic-level-motor-to-use-with-arduino/1403753/7 "2025-08-22T10:08:56Z")

</div>

> [@hk\_jh](#):
>
> I wonder if this IRF520 mosfet module could work

No.  
The IRF520 fet on these modules is not logic level and shouldn't be used with any Arduino.  
There are other **[modules with smd fets](https://www.ebay.com/itm/295937426313)**, which are compatible.  
Leo..

---

<div class="post-metadata">

**Author:** ![jim-p](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/jim-p/32/922840_2.png) [@jim-p](https://forum.arduino.cc/u/jim-p)\
**Post date:** [August 22, 2025, 11:19am UTC](https://forum.arduino.cc/t/logic-level-motor-to-use-with-arduino/1403753/8 "2025-08-22T11:19:55Z")

</div>

Do you need an example circuit?

---

<div class="post-metadata">

**Author:** ![hk\_jh](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/hk_jh/32/1013044_2.png) [@hk\_jh](https://forum.arduino.cc/u/hk_jh)\
**Post date:** [August 22, 2025, 11:34am UTC](https://forum.arduino.cc/t/logic-level-motor-to-use-with-arduino/1403753/9 "2025-08-22T11:34:17Z")

</div>

> [@Wawa](#):
>
> No.  
> The IRF520 fet on these modules is not logic level and shouldn't be used with any Arduino.  
> There are other **[modules with smd fets](https://www.ebay.com/itm/295937426313)**, which are compatible.  
> Leo..

so Why they advertise it as it it.. ☹

also I have seen this video: [https://www.youtube.com/watch?v=93jO8\_POtVY](https://www.youtube.com/watch?v=93jO8_POtVY)

> [@jim-p](#):
>
> Do you need an example circuit?

this should work I guess..

 ![Screenshot 2025-08-22 at 14.31.57](https://europe1.discourse-cdn.com/arduino/original/4X/b/4/a/b4a3d6bd8bd4176a7d823a3bccdb9153d68d0a4a.png)

---

<div class="post-metadata">

**Author:** ![jim-p](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/jim-p/32/922840_2.png) [@jim-p](https://forum.arduino.cc/u/jim-p)\
**Post date:** [August 22, 2025, 11:35am UTC](https://forum.arduino.cc/t/logic-level-motor-to-use-with-arduino/1403753/10 "2025-08-22T11:35:36Z")

</div>

> [@hk\_jh](#):
>
> this should work I guess..

Yes that will work.

---

<div class="post-metadata">

**Author:** ![jim-p](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/jim-p/32/922840_2.png) [@jim-p](https://forum.arduino.cc/u/jim-p)\
**Post date:** [August 22, 2025, 11:39am UTC](https://forum.arduino.cc/t/logic-level-motor-to-use-with-arduino/1403753/11 "2025-08-22T11:39:05Z")

</div>

> [@hk\_jh](#):
>
> also I have seen this video

Absolute total garbage.  
Does not show it actually working because it does not.

---

<div class="post-metadata">

**Author:** ![hk\_jh](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/hk_jh/32/1013044_2.png) [@hk\_jh](https://forum.arduino.cc/u/hk_jh)\
**Post date:** [August 22, 2025, 11:43am UTC](https://forum.arduino.cc/t/logic-level-motor-to-use-with-arduino/1403753/12 "2025-08-22T11:43:01Z")

</div>

[This](https://youtu.be/17vqLv508Uw?si=chh5rodTpspohJlO&t=503) as well but I guess it could work with one small motor ok but not with more then one/ higher loads motors..?

---

<div class="post-metadata">

**Author:** ![jim-p](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/jim-p/32/922840_2.png) [@jim-p](https://forum.arduino.cc/u/jim-p)\
**Post date:** [August 22, 2025, 11:47am UTC](https://forum.arduino.cc/t/logic-level-motor-to-use-with-arduino/1403753/13 "2025-08-22T11:47:27Z")

</div>

> [@hk\_jh](#):
>
> but I guess it could work with one small motor ok

Maybe, maybe not. Depends how lucky you. If get one that has a low Vgs(th) and the motor current is also low it might work without overheating

---

<div class="post-metadata">

**Author:** ![hk\_jh](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/hk_jh/32/1013044_2.png) [@hk\_jh](https://forum.arduino.cc/u/hk_jh)\
**Post date:** [August 22, 2025, 11:59am UTC](https://forum.arduino.cc/t/logic-level-motor-to-use-with-arduino/1403753/14 "2025-08-22T11:59:59Z")

</div>

Do you know on any mosfet board simillar to the one I shared (But one that is acctually feets to work with logic levels?)

---

<div class="post-metadata">

**Author:** ![jim-p](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/jim-p/32/922840_2.png) [@jim-p](https://forum.arduino.cc/u/jim-p)\
**Post date:** [August 22, 2025, 12:04pm UTC](https://forum.arduino.cc/t/logic-level-motor-to-use-with-arduino/1403753/15 "2025-08-22T12:04:35Z")

</div>

This one will work with 5V control signals.

> **[High-Power Dual MOSFET Switch Module - ProtoSupplies](https://protosupplies.com/product/high-power-dual-mosfet-switch-module/)**
>
> This MOSFET module uses two parallel N-Channel logic compatible MOSFETS with low Rds(on) for high current low-side switching applications.

 ![High-Power-Dual-MOSFET-Switch-Module](https://europe1.discourse-cdn.com/arduino/original/4X/7/9/5/795f1a062126f810b7ec8bbc95281d5c516dd363.jpeg)

---

<div class="post-metadata">

**Author:** ![Wawa](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/wawa/32/1211303_2.png) [@Wawa](https://forum.arduino.cc/u/Wawa)\
**Post date:** [August 22, 2025, 7:39pm UTC](https://forum.arduino.cc/t/logic-level-motor-to-use-with-arduino/1403753/16 "2025-08-22T19:39:26Z")

</div>

> [@hk\_jh](#):
>
> Why they advertise it as it it..

There must be a warehouse full of those fets that need to be sold.  
Or the manufacturing rights have expired so every cheap factory can clone them.  
The youtube video is just a promotion, full of inaccuracies.

Google the datasheet and check the (in)capabilities for yourself.  
Leo..

---

<div class="post-metadata">

**Author:** ![hk\_jh](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/hk_jh/32/1013044_2.png) [@hk\_jh](https://forum.arduino.cc/u/hk_jh)\
**Post date:** [October 17, 2025, 10:35am UTC](https://forum.arduino.cc/t/logic-level-motor-to-use-with-arduino/1403753/17 "2025-10-17T10:35:22Z")

</div>

> [@jim-p](#):
>
> [High-Power Dual MOSFET Switch Module - ProtoSupplies](https://protosupplies.com/product/high-power-dual-mosfet-switch-module/)

I bought this module - and while working great with solenoid and with mini vibration motor, for some reason I could not make it works with small DC motors.

code I am using:

```arduino
const int NUM_PWM_MOTORS = 2;
const int pwm_motor_pins[] = { 5, 6 };
const char pwm_motor_ids[] = { 'U', 'V' };

void setup() {

  for (int i = 0; i < NUM_PWM_MOTORS; i++) {
    pinMode(pwm_motor_pins[i], OUTPUT);
    analogWrite(pwm_motor_pins[i], 0); // ensure OFF at boot
  }
  Serial.setTimeout(10); //window time to receive data from Serial
  Serial.begin(115200); // start serial communication at 115200 baud (bits per second)
}

void loop() {
  motorsControl();
}
void motorsControl() {
  if (Serial.available() > 0) {
    char id = Serial.read();
    int state = Serial.parseInt();
    for (int i = 0; i < NUM_PWM_MOTORS; i++) {
      if (id == pwm_motor_ids[i]) {
        analogWrite(pwm_motor_pins[i], state);
        Serial.print(id);
        Serial.print(" ");
        Serial.println(state);
      }
    }
  }
}

```

 ![Screenshot 2025-10-17 at 13.34.13](https://europe1.discourse-cdn.com/arduino/original/4X/8/c/8/8c822d0a2e36fd82ace117066fe3c6184b1bf07a.jpeg)

And just to be clear - same exact code and setup works with mini vibration motor. I’m using 5V phone charge as the motor power input

---

<div class="post-metadata">

**Author:** ![jim-p](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/jim-p/32/922840_2.png) [@jim-p](https://forum.arduino.cc/u/jim-p)\
**Post date:** [October 17, 2025, 10:41am UTC](https://forum.arduino.cc/t/logic-level-motor-to-use-with-arduino/1403753/18 "2025-10-17T10:41:52Z")

</div>

Have you tried state = 255 ?

Which Arduino are you using?

---

<div class="post-metadata">

**Author:** ![hk\_jh](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/hk_jh/32/1013044_2.png) [@hk\_jh](https://forum.arduino.cc/u/hk_jh)\
**Post date:** [October 17, 2025, 10:49am UTC](https://forum.arduino.cc/t/logic-level-motor-to-use-with-arduino/1403753/19 "2025-10-17T10:49:34Z")

</div>

Yes. I try both state = 255 and state = 0. I got the motor works for like 1 sec then stopped. I’m using Arduino Uno

---

<div class="post-metadata">

**Author:** ![jim-p](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/jim-p/32/922840_2.png) [@jim-p](https://forum.arduino.cc/u/jim-p)\
**Post date:** [October 17, 2025, 10:54am UTC](https://forum.arduino.cc/t/logic-level-motor-to-use-with-arduino/1403753/20 "2025-10-17T10:54:46Z")

</div>

> [@hk\_jh](#):
>
> the motor works for like 1 sec then stopped.

Is the UNO program still running or did it also stop?

[Next page](https://forum.arduino.cc/t/logic-level-motor-to-use-with-arduino/1403753.md?page=2)
