Arduino Nano 33 BLE Sense - 5V Based On A Digital Pin Output
Maybe your like
Hey, I'm new to arduino and I was wondering how I could power my 5V DC motor with one of my digital output pins. I am having trouble with this because I need 5V for the motor but my board only outputs 3.3V from the digital pins. The reason why I want to use the digital pins is because I want to be able to take advantage of the PWM so that I can change the speed that the motor runs. I saw a booster converter circuit online but I am not sure if I can safely use it with my arduino without damaging the board. I would really appreciate a diagram or example of a possible solution. Thanks.
PaulRB June 4, 2022, 6:10pm 2Do you need to run the motor both forward and reverse? If so, you need an "H-bridge" motor driver. You will also need a 5V PSU. You can't run anything more than the tinyest motors from the current an Arduino can supply. Before you buy such a driver, post the specs or a link here so that we can check it is suitable. Avoid drivers based on ancient chips like L293/L298.
If you only need speed control in a single direction, you can simply use a suitable transistor circuit.
To give more detail, you will need to give the forum detailed specs of your motor, particularly the stall current or the winding resistance.
arduinouser11223344 June 4, 2022, 6:23pm 3Hi, thanks for replying. I only need to run the motor in one direction. I bought the Gikfun 1.5V-6V Type 130 Miniature DC Motors for Arduino from amazon. There might be some more information on this link. I hope this is enough information for now but I will be willing to look more in depth.
PaulRB June 4, 2022, 6:30pm 4The second link provided no more information than the first. Neither provided the important stall current or winding resistance. Unfortunately, this is typical of so many vendors who sell to arduino enthusiasts.
Do you have a multimeter? Set it to the 0-200 ohm range and measure the resistance between the motor terminals.
arduinouser11223344 June 4, 2022, 6:35pm 5Ok, the resulting value was 8.3
PaulRB June 4, 2022, 6:43pm 6Ok, great.
So, if you run the motor at 5V, the maximum current the motor can draw will be 5/8.3 = 0.6 Amps. You need a power supply that can comfortably provide that, perhaps rated 0.75A for example.
To control the motor you will need a transistor, plus a few sundry (but vital) components.
Your said the Arduino is a 3.3V model. It's always important to let the forum know exactly what model of Arduino so we can give good advice.
arduinouser11223344 June 4, 2022, 6:44pm 7Oh sorry, it is a Arduino nano 33 BLE Sense
PaulRB June 4, 2022, 6:58pm 8Ok, so the output pins on that Arduino can supply 15mA absolute max. That means 10~12mA max for the safety of the chip. This is quite a lot less than, for example, an Uno which can supply 40mA absolute max, so ~30mA for safety.
That means we have 10~12mA at 3.3V to control a motor which can draw up to 600mA at 5V. We need to choose a transistor that fits these requirements.
jremington June 4, 2022, 7:00pm 9Use your favorite search engine with the terms "arduino motor control" to find tutorials.
But, stay away from the bad ones that say it is OK to power the motor from the Arduino.
arduinouser11223344 June 4, 2022, 7:06pm 10Do you know of a transistor I can use and how I should wire the motor up to the transistor and arduino?
PaulRB June 4, 2022, 9:22pm 11IRLZ44.
Put 220R or 330R from the Arduino PWM output pin to the gate of the transistor. Put 10K pull-down from the Arduino pin to ground. Connect the motor to 5V and the drain of the transistor. Connect the source of the transistor to ground. This is most important: connect a diode such as 1N4001 across the motor terminals, with the cathode towards 5V. Also a 0.1uF cap across the motor terminals will bea good idea to suppress interference created by the motor.
arduinouser11223344 June 4, 2022, 9:42pm 12Thank you for your help!
system Closed December 1, 2022, 9:42pm 13This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.
Related topics
| Topic | Replies | Views | Activity |
|---|---|---|---|
| Use Arduino Nano BLE Sense to control 4 DC motors with external battery General Guidance | 14 | 151 | June 13, 2025 |
| Arduino NANO 33 BLE REV 2 SCENCE not working with a vibration motor General Guidance | 5 | 110 | August 25, 2025 |
| Arduino nano connection with a vibration motor General Electronics | 5 | 538 | August 6, 2024 |
| What should i do to NOT fry my new Arduino nano General Guidance | 20 | 136 | February 11, 2026 |
| L298N with Nano 33 BLE Sense motors not working Nano 33 BLE | 14 | 159 | August 9, 2025 |
Tag » Arduino Nano Ble 5v Output
-
About Nano Boards With Disabled 5 V Pins - Arduino Help Center
-
How To Get 5v Output From Nano 33 IOT - Arduino Forum
-
5V Output Pin, No Voltage Drop - Nano 33 BLE - Arduino Forum
-
5v Pin Not Outputting Any Voltage In Arduino Nano Ble 33
-
[PDF] ARDUINO NANO 33 BLE SENSE - Sparkfun
-
Arduino Nano 33 BLE Sense - Pimoroni
-
Arduino Nano 33 BLE Sense Pinout, Introduction & Specifications
-
ARDUINO ABX00030 Nano 33 BLE Miniature Sized Module User ...
-
Arduino Nano 33 IoT - Kiwi Electronics
-
Arduino Nano 33 BLE - Makerlab Electronics
-
Ostaquet/Arduino-Nano-33-IoT-Ultimate-Guide - GitHub
-
Arduino Nano 33 BLE | ABX00030 | Core Electronics Australia
-
Get Started With Arduino Nano 33 BLE - OKdo