Questions tagged [dc-motor]

DC motors are commonly used in robotics and vehicles. They come in brushed and brushless versions; the latter also includes stepper motors. Note they are distinct from servos, for which there is a separate tag.

30 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
4
votes
2answers
601 views

Controlling a High Power 13V DC Motor with in-built Hall Effect sensor

I am a beginner with electronics and RPi. I have a Brushed DC Motor that runs at a constant 13V and draws about 4-5 A while running and about 18-20 A at stall. It also has a single Hall effect sensor ...
2
votes
0answers
36 views

Can powering a DC motor through the USB ports of my Raspberry Pi Damage the Pi?

I'm working on a project that contains two DC motors and a Raspberry Pi, I do not have other components like Relay, Motor Drivers, transistors etc. I am aware that powering a motor directly from an ...
2
votes
1answer
176 views

part incompatibilities

I am trying to control a 4.5V motor with a pi. I am going to use this to control the motor: https://www.ebay.com/itm/2X-L298N-Dual-H-Bridge-DC-Stepper-Motor-Driver-Controller-Board-Arduino/...
1
vote
1answer
41 views

L298N motor driver either keeps running or slows down the motor with RPi3

So, according to this video which I had followed, my motors should be constantly running as per the program and should stop running after the program is executed. Instead, when I first ran the script, ...
1
vote
2answers
117 views

How can Rpi3B+ use the A4988 stepper motor driver to control a NEMA17 motor?

I am very new to the world of raspberrypi and I am probably making some beginner mistakes. I am trying to move a NEMA17 motor (stepper motor) using a Raspberry Pi 3B+ and a4988 driver. First I set the ...
1
vote
0answers
59 views

making a DC motor spin both ways

I week ago, I got my raspberry pi, connected it to a DC motor, and made the DC motor spin using python. now, I'm trying to get the motor spinning both ways. I have tried but failed. What is the best ...
1
vote
0answers
50 views

regulating the speed of a motor connected to a TB-6612 FNG motor driver using the pwm output generated by the pca9685 multichannel servodriver

I understand that this type of usage is not typical for the pca9685. I am trying to use one of the pwm pins of the pca9685 to regulate the speed of a motor. As for now the motor works regularly if ...
1
vote
0answers
60 views

Connect 5V DC fans to a Raspberry Pi 4

I wish to connect four 5V DC fans (each one current is ~0.1-0.15A) to a Raspberry Pi 4. As I can not add another power supply (PSU) beside the one of the raspberry Pi 4, I was thinking to connect them ...
1
vote
0answers
207 views

pigpio: Read PWM from RCcontroller then send to ESC via GPIO

Im trying to learn Python by combining my interest in designing an AWD radio controlled car (3D printed, Im decent with Fusion 360 too) with some smarts from Pi/Python to allow things like software ...
1
vote
0answers
94 views

Raspberry pi robot wheels not moving

I need some help with a Raspberry Pi robot I am attempting to put together. I'm using an L298N h-bridge to manage both DC motor wheels. I have a simple python script on the Pi which should simply ...
1
vote
2answers
426 views

Single power supply to RP3 and Adafruit Motor Hat

I have a project that includes a RP3 and an Adafruit motor hat (https://www.adafruit.com/product/2348), with 2 5v stepper motors (https://www.adafruit.com/product/858). In the guide they state the ...
0
votes
0answers
16 views

UART communication between Rhino DC servo motor and RPi4 B

I want to communicate with this Rhino DC servo motor with RPi4 B. I enable uart3 in RPi4 by modifying the /boot/config.txt file. In this file, I add dtoverlay=uart3 in the last. When I used ls /dev/...
0
votes
1answer
24 views

brushless dc motor connection

i am connecting 2 brushless dc motors to a raspberry pi B and need help on connecting the correct pins . I saw a video on how to connect one motor but don’t know which ones to use to connect the ...
0
votes
2answers
184 views

5V Relay only works if VCC is 3.3V

I am very new to all of this, so please excuse if this is a very basic question. I am trying to power a tiny water pump with my raspberry pi. For that I need the 3.3V or 5V output, because the GPIO ...
0
votes
1answer
121 views

Delay/Lag when controlling motors with arduino from raspberry pi

I'm making a car-type-thingy where I control motors connected to an arduino with a raspberry pi via serial communication. I'm using the adafruit motor shield to control the motors. I want to control ...
0
votes
0answers
39 views

Using DC motors on a PI

first question here. Ive looked through some of the otehr answers Project - a two axis solar tracker that calculates the position of the sun and drives two actuators. I started with a PCduino and ...
0
votes
0answers
38 views

Raspberry Pi3 - Controlling 4 DC motors

I need to feed 4 DC motors of 5V on my Raspberry Pi 3 Model B using PWM (Pulse Width Modulation). Currently, I have the next components: 2 NPM transistors, 1 L293D integrated circuit, resistors (220 ...
0
votes
0answers
324 views

How to disable output to serial (GPIO) during boot

I'm trying to drive a motor control over the Raspberry Pi's GPIO serial pins (GPIO 14 and 15) I've disabled the serial console, however, during bootup of the Raspberry PI, it still sends data over ...
0
votes
0answers
37 views

brushless motor overheating when connected to l298n motor driver

I am using a brushless motor such as this one and am trying to drive it in both directions using a l298n mini motor driver. However, when connecting the motor to the board and the board to the 5v ...
0
votes
0answers
22 views

RasPi Drive RB-01 C073A

Does anyone have info on the RasPi Drive electronic controller motor Driver? I can't find information on how it should be connected between the RP 3 and a small DC motor.
0
votes
0answers
338 views

Unable to stop motor through GPIO in Python

I'm using an rPi to send a GPIO signal to a servo motor. When I run the program, the motor starts turning, and then continues without stopping, even if the program has terminated through the use of a ...
0
votes
1answer
355 views

Why don't my motors rotate?

I know I asked this question before, but this time I will give a more clearer description. I have been using the raspberry pi for approximately 6 months now. I am making a very simple robot car that ...
0
votes
0answers
288 views

Control 12V motor from 3.3V GPIO with external 12V Power Supply

I have a 12V motor, which I need to control from my Raspberry Pi (through the RaspiRobot Board). However, the RaspiRobot Board gives me only 3.3V for the motor. At the same time, I have a 12V adapter ...
0
votes
0answers
237 views

Motor driving using template matching using python and opencv on Rapberry pi

I want to drive a motor when my template is matched, I have written code of template matching but can't figure out how to drive the motor with it. This is my code: import cv2 import numpy as np ...
0
votes
1answer
1k views

Raspberry Pi 3: DC motor power supply problem

I'm newbie in electronics. I'm joining RPi's world through a starter learning kit but there's a wiring incongruity in DC Motor lesson: In the 1st image there's only RPi's 3.3V power. In the 2nd image ...
0
votes
1answer
95 views

What will happen if I put my ESC's BEC black wire to ground and yellow/white wire to 5v pin directly

I wanted to do some experiment with raspi, ESC and BLDC motor. I am able to run my motor using servo tester. But I was curious what will happen if I connect ESC's BEC to Raspi's GND and 5v output ...
0
votes
1answer
2k views

Problem with ESC, brushless motor and Raspberry Pi

I have connected an ESC (an electronic speed control) with a battery and a brushless motor. The Raspberry is connected to the ESC to control it. I know - when I turn on the program that is on the ...
-1
votes
1answer
115 views

How to connect a M24 Multi Pin Connector to a Raspberry Pi

How do i connect a M24 Multipin Motor Plug Wire that is coming from a brushless motor to a raspberry Pi , I know i need to use an ESC however the wires attached to my brushless motor is a multipin ...
-1
votes
1answer
3k views

ESC Control with RPi GPIO Pins

Ok so, I’m going to be using a pi zero and an esc to control a brushless motor based on a Bluetooth controller input. Basically, I want to know how via python I can control the esc. I heard using gpio ...
-1
votes
4answers
1k views

Coding a GUI in python and driving stepper motor by user input

I am hoping to use my Raspberry Pi 3 in a senior project for my mechancical engineering program. I want to use the pi to drive a vice like fixture to predetermined positions by connecting a stepper ...